[wp-trac] [WordPress Trac] #24975: Scheduled Page on Menu showing before Schedule time

WordPress Trac noreply at wordpress.org
Mon Sep 29 14:54:25 UTC 2014


#24975: Scheduled Page on Menu showing before Schedule time
------------------------------------------------+--------------------------
 Reporter:  nellyshark                          |       Owner:
     Type:  defect (bug)                        |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
Component:  Menus                               |  Review
 Severity:  minor                               |     Version:  3.6
 Keywords:  2nd-opinion dev-feedback has-patch  |  Resolution:
                                                |     Focuses:
------------------------------------------------+--------------------------
Changes (by mattheu):

 * keywords:  2nd-opinion needs-patch dev-feedback => 2nd-opinion dev-
     feedback has-patch


Comment:

 I tested the issue and can confirm the problem - scheduled posts are not
 normally visible when adding items to the menu, but are returned by the
 quicksearch.

 I tested the patch by rhyswynne which added a label to indicate that it is
 scheduled - the problem however is that it still allows you to add a
 scheduled post to the admin menu - which will then lead to a 404.

 This could be taken further to filter 'future' posts from the admin menu,
 but I think that a simpler solution would be to only return published
 posts in the menu item quicksearch query as it does for 'most recent' and
 'view all'

 I have added a patch to fix this.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24975#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list