Make WordPress Core


Ignore:
Timestamp:
08/26/2016 12:16:56 PM (8 years ago)
Author:
johnbillion
Message:

Embeds: Add a missing regex delimiter for Facebook URLs.

See #34737

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-oembed.php

    r38367 r38368  
    9898            '#https?://www\.facebook\.com/.*/posts/.*#i'          => array( 'https://www.facebook.com/plugins/post/oembed.json/',        true  ),
    9999            '#https?://www\.facebook\.com/.*/activity/.*#i'       => array( 'https://www.facebook.com/plugins/post/oembed.json/',        true  ),
    100             '#https?://www\.facebook\.com/photo(s/|\.php).*i'     => array( 'https://www.facebook.com/plugins/post/oembed.json/',        true  ),
     100            '#https?://www\.facebook\.com/photo(s/|\.php).*#i'    => array( 'https://www.facebook.com/plugins/post/oembed.json/',        true  ),
    101101            '#https?://www\.facebook\.com/permalink\.php.*#i'     => array( 'https://www.facebook.com/plugins/post/oembed.json/',        true  ),
    102102            '#https?://www\.facebook\.com/media/.*#i'             => array( 'https://www.facebook.com/plugins/post/oembed.json/',        true  ),
Note: See TracChangeset for help on using the changeset viewer.