[wp-trac] [WordPress Trac] #14827: Clean Up Updated Messages and UI for custom post types

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 11 01:55:23 UTC 2010


#14827: Clean Up Updated Messages and UI for custom post types
--------------------------+-------------------------------------------------
 Reporter:  johnkolbert   |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:  3.1     
Component:  Post Types    |      Version:  3.0.1   
 Severity:  normal        |   Resolution:          
 Keywords:  needs-patch   |  
--------------------------+-------------------------------------------------

Comment(by johnkolbert):

 Ok, I understand the problem with translation now. It'd be a nice
 automated feature, but since devs can hook into 'post_updated_messages'
 still, I suppose there isn't really an issue, though it would still be
 nice to format the filter {$post_type}_updated_messages and just send it
 $messages[$post_type], just for clarity.

 I'm attaching a diff that only contains the checks for 'public'. If
 'public' is set as false, the permalinks box and preview buttons will not
 be displayed in the post editor. Also, the 'Preview' and 'View' inline
 buttons that show up on mouseover in the post editing table (edit.php) are
 not displayed as well.

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


More information about the wp-trac mailing list