[wp-trac] [WordPress Trac] #18264: Future private posts listed as already published with future date specified

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 27 00:05:28 UTC 2011


#18264: Future private posts listed as already published with future date specified
----------------------------+-----------------------------
 Reporter:  chrisrudzki     |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:
----------------------------+-----------------------------
 Setting a post to private, and scheduling it for some future date or time,
 results in the stamp that the post was "Published on (future date)" in the
 publish module.

 The discussion on tickets #5608 and #9136 suggests that all private posts
 are published immediately (and privately), and that this is intentional.
 So, it's misleading and confusing to report that it already was published
 on some future date.

 In source:trunk/wp-admin/includes/meta-boxes.php#L163, I suggest we
 replace:

 {{{
 else if ( 'publish' == $post->post_status || 'private' ==
 $post->post_status ) { // already published
                 $stamp = __('Published on: <b>%1$s</b>'); }
 }}}

 with:

 {{{
 else if ( 'publish' == $post->post_status ) { // already publicly
 published
                 $stamp = __('Published on: <b>%1$s</b>');
         } else if (  'private' == $post->post_status ) { // published
 privately
                 $stamp = __('Published privately'); }
 }}}

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


More information about the wp-trac mailing list