[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 17:43:17 UTC 2013


#23715: Plugins/Themes that rely on get_option('embed_autourls') may fail in 3.5.x
-----------------------------+--------------------------
 Reporter:  standardbanter   |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  General
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 After upgrading to WordPress 3.5. or greater from 3.4.x and below, the
 option "embed_autourls" will still exist in the database. Plugins or
 Themes that make assumptions based on this may fail as regardless of the
 answer, the actual behavior is that embed_autourls is always on per
 http://codex.wordpress.org/Embeds

   WordPress will automatically turn that into a YouTube embed when the
 post is viewed. As of 3.5, Auto-embeds are automatically enabled and there
 is no setting to turn them off in the WordPress admin pages. Prior to 3.5,
 there was an "Auto-embeds" checkbox in Administration > Settings > Media
 SubPanel.

 Backwards compatibility could be preserved if this option would always
 return true from 3.5.x onward. Perhaps removing this option (from all
 sites if multisite) as an upgrade step could be another solution (though
 terrifying) to at least have a consistent (though not helpful) return
 value. These are just ideas that come to mind.

 I did a quick scan through the options code I didn't see a history of
 forcing an option to a specific value for historical purposes. I assume
 this ticket will likely result in a "won't fix" but I wanted to make a
 record of it in the event others search the bug database.

 Thank you for your time!

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


More information about the wp-trac mailing list