[wp-trac] [WordPress Trac] #24109: Twenty Thirteen: Remove unneeded post formats `add_theme_support()` declaration

WordPress Trac noreply at wordpress.org
Wed May 1 17:18:39 UTC 2013


#24109: Twenty Thirteen: Remove unneeded post formats `add_theme_support()`
declaration
---------------------------+--------------------
 Reporter:  DrewAPicture   |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.6
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+--------------------
Changes (by lancewillett):

 * keywords:  has-patch dev-feedback => has-patch


Comment:

 {{{current_theme_supports( 'post-formats' )}}} is still in use in several
 places, that we need to keep around:

 - Adding formats to Nav Menu screens:
 https://core.trac.wordpress.org/browser/trunk/wp-
 includes/taxonomy.php#L118
 - XML-RPC: https://core.trac.wordpress.org/browser/trunk/wp-includes
 /class-wp-xmlrpc-server.php#L3373
 - Showing old UI in metabox (in certain cases still true for 3.6+):
 https://core.trac.wordpress.org/browser/trunk/wp-
 admin/includes/screen.php#L971,
 https://core.trac.wordpress.org/browser/trunk/wp-admin/includes/meta-
 boxes.php#L306, https://core.trac.wordpress.org/browser/trunk/wp-admin
 /edit-form-advanced.php#L153, and
 https://core.trac.wordpress.org/browser/trunk/wp-admin/edit-form-
 advanced.php#L336
 - Setting up post editor in PressThis and dashboard editor:
 https://core.trac.wordpress.org/browser/trunk/wp-
 admin/includes/post.php#L442,
 https://core.trac.wordpress.org/browser/trunk/wp-admin/press-this.php#L72,
 and https://core.trac.wordpress.org/browser/trunk/wp-admin/press-
 this.php#L472

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


More information about the wp-trac mailing list