[wp-trac] [WordPress Trac] #24092: Embed handlers for the audio and video shortcodes are too permissive

WordPress Trac noreply at wordpress.org
Tue Apr 16 10:29:48 UTC 2013


#24092: Embed handlers for the audio and video shortcodes are too permissive
------------------------------+--------------------
 Reporter:  kovshenin         |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.6
Component:  Media             |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------

Comment (by kovshenin):

 In [attachment:24092.2.diff]:
 * Add the pattern start/end markers
 * Per @SergeyBiryukov move registration to `wp_maybe_load_embeds`
 * Rename both handler functions to match the `wp_embed_handler_*` pattern
 * Move handler functions closer to `wp_embed_handler_googlevideo`

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24092#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list