Changeset 35382 for trunk/src/wp-includes/post-functions.php
- Timestamp:
- 10/24/2015 05:45:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-functions.php
r35377 r35382 1324 1324 * ones the default is 'Parent Page:'. 1325 1325 * - all_items - String for the submenu. Default is All Posts/All Pages. 1326 * - archives - String for use with archives in nav menus. Default is Post Archives/Page Archives. 1326 1327 * - insert_into_item - String for the media frame button. Default is Insert into post/Insert into page. 1327 1328 * - uploaded_to_this_item - String for the media frame filter. Default is Uploaded to this post/Uploaded to this page. … … 1363 1364 'parent_item_colon' => array( null, __('Parent Page:') ), 1364 1365 'all_items' => array( __( 'All Posts' ), __( 'All Pages' ) ), 1366 'archives' => array( __( 'Post Archives' ), __( 'Page Archives' ) ), 1365 1367 'insert_into_item' => array( __( 'Insert into post' ), __( 'Insert into page' ) ), 1366 1368 'uploaded_to_this_item' => array( __( 'Uploaded to this post' ), __( 'Uploaded to this page' ) ), … … 1428 1430 if ( !isset( $object->labels['all_items'] ) && isset( $object->labels['menu_name'] ) ) 1429 1431 $object->labels['all_items'] = $object->labels['menu_name']; 1432 1433 if ( !isset( $object->labels['archives'] ) && isset( $object->labels['all_items'] ) ) { 1434 $object->labels['archives'] = $object->labels['all_items']; 1435 } 1430 1436 1431 1437 $defaults = array();
Note: See TracChangeset
for help on using the changeset viewer.