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

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 28 12:02:09 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 GaryJ):

 I noticed that too, but assumed that privately published or publicly
 published posts still had the same post_status (I was only checking your
 patch, not the wider code).

 Thinking slightly wider (may be out of scope for this ticket), as the
 $status_labels are likely used elsewhere (Quick Edit for instance), could
 the array be wrapped in a function and placed somewhere suitable so all
 instances of post status labels could access it?

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


More information about the wp-trac mailing list