Changeset 14713 for trunk/wp-admin/menu.php
- Timestamp:
- 05/17/2010 04:39:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r14654 r14713 114 114 $_wp_last_object_menu = 25; // The index of the last top-level menu in the object menu group 115 115 116 foreach ( (array) get_post_types( array('show_ui' => true ) ) as $ptype ) {116 foreach ( (array) get_post_types( array('show_ui' => true, '_builtin' => false) ) as $ptype ) { 117 117 $ptype_obj = get_post_type_object( $ptype ); 118 118 $ptype_menu_position = is_int( $ptype_obj->menu_position ) ? $ptype_obj->menu_position : $_wp_last_object_menu++; // If we're to use $_wp_last_object_menu, increment it first.
Note: See TracChangeset
for help on using the changeset viewer.