[wp-trac] [WordPress Trac] #17906: Refactor submit box code

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 28 11:35:29 UTC 2011


#17906: Refactor submit box code
---------------------------------+-----------------------------
 Reporter:  scribu               |       Owner:
     Type:  enhancement          |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  Administration       |     Version:
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.3-early  |
---------------------------------+-----------------------------

Comment (by scribu):

 A very good catch. See [attachment:17906.2.diff].

 I noticed a similar bug in the current code, where private posts get the
 status 'publish':

 {{{
 <option<?php selected( $post->post_status, 'private' ); ?>
 value='publish'><?php _e('Privately Published') ?></option>
 }}}

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


More information about the wp-trac mailing list