Changeset 21258
- Timestamp:
- 07/10/2012 08:46:22 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/admin-bar.php
r21028 r21258 509 509 $actions[ $key ] = array( $cpt->labels->name_admin_bar, 'new-' . $cpt->name ); 510 510 } 511 // Avoid clash with parent node and a 'content' post type. 512 if ( isset( $actions['post-new.php?post_type=content'] ) ) 513 $actions['post-new.php?post_type=content'][1] = 'add-new-content'; 511 514 512 515 if ( current_user_can( 'create_users' ) || current_user_can( 'promote_users' ) )
Note: See TracChangeset
for help on using the changeset viewer.