WordPress.org

Plugin Directory

Changeset 628752


Ignore:
Timestamp:
11/22/12 18:05:19 (17 months ago)
Author:
mattwiebe
Message:

Update to new Speakerdeck URL format. Props baxang & simonwheatley

Location:
speakerdeck-embed/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • speakerdeck-embed/trunk/readme.txt

    r444225 r628752  
    44Requires at least: 3.2 
    55Tested up to: 3.2.1 
    6 Stable tag: 1.0 
     6Stable tag: 1.1 
    77 
    88Easily embed Speaker Deck presentations in your WordPress blog. 
     
    3030== Changelog == 
    3131 
     32= 1.1 = 
     33* Update to new Speakerdeck URL format. Props baxang & simonwheatley 
     34 
    3235= 1.0 = 
    3336* Initial release 
  • speakerdeck-embed/trunk/speakerdeck-embed.php

    r444225 r628752  
    44Plugin Name: Speaker Deck Embed 
    55Description: Embed Speaker Deck slideshows 
    6 Version: 1.0 
     6Version: 1.1 
    77Author: Matt Wiebe 
    88Author URI: http://somadesign.ca/ 
     
    1111add_action( 'init', 'sd_add_speakerdeck_oembed' ); 
    1212function sd_add_speakerdeck_oembed() { 
    13     wp_oembed_add_provider( 'http://speakerdeck.com/u/*/p/*', 'http://speakerdeck.com/oembed.json' ); 
     13    wp_oembed_add_provider( '#https?://speakerdeck.com/.*#i', 'https://speakerdeck.com/oembed.json', true ); 
    1414} 
Note: See TracChangeset for help on using the changeset viewer.