[wp-trac] [WordPress Trac] #22561: Unnecessary show_in_menu check in menu.php

WordPress Trac noreply at wordpress.org
Fri Nov 23 19:38:33 UTC 2012


#22561: Unnecessary show_in_menu check in menu.php
---------------------------------+-----------------------------
 Reporter:  ocean90              |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  Administration       |     Version:
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.6-early  |
---------------------------------+-----------------------------
Description changed by ocean90:

Old description:

> `get_post_types( array( 'show_in_menu' => true )` doesn't return an
> object, where `show_in_menu` is true.

New description:

 `get_post_types( array( 'show_in_menu' => true )` doesn't return an
 object, where `show_in_menu` is false.

--

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


More information about the wp-trac mailing list