[wp-trac] [WordPress Trac] #23715: Plugins/Themes that rely on get_option('embed_autourls') may fail in 3.5.x

WordPress Trac noreply at wordpress.org
Thu Mar 7 19:06:12 UTC 2013


#23715: Plugins/Themes that rely on get_option('embed_autourls') may fail in 3.5.x
----------------------------+------------------------------
 Reporter:  standardbanter  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------------------

Comment (by nacin):

 The upgrade routine improperly deletes autoembed_urls, instead of
 embed_autourls. (This was almost surely my mistake; I had done it
 elsewhere.)

 Once the option is deleted, this code in default-filters.php takes care of
 it always returning true:
 {{{
 add_filter( 'default_option_embed_autourls', '__return_true' );
 }}}

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


More information about the wp-trac mailing list