Changeset 34472
- Timestamp:
- 09/24/2015 03:21:11 AM (11 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
-
media.php (modified) (2 diffs)
-
post-functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r34470 r34472 3067 3067 } 3068 3068 3069 $hier = $post && is_post_type_hierarchical( $post->post_type );3070 3071 3069 if ( $post ) { 3072 3070 $post_type_object = get_post_type_object( $post->post_type ); … … 3107 3105 'allDates' => __( 'All dates' ), 3108 3106 'noItemsFound' => __( 'No items found.' ), 3109 'insertIntoPost' => $ hier ? __( 'Insert into page' ) : __( 'Insert into post' ),3107 'insertIntoPost' => $post_type_object->labels->insert_into_item, 3110 3108 'unattached' => __( 'Unattached' ), 3111 3109 'trash' => _x( 'Trash', 'noun' ), 3112 'uploadedToThisPost' => $ hier ? __( 'Uploaded to this page' ) : __( 'Uploaded to this post' ),3110 'uploadedToThisPost' => $post_type_object->labels->uploaded_to_this_item, 3113 3111 'warnDelete' => __( "You are about to permanently delete this item.\n 'Cancel' to stop, 'OK' to delete." ), 3114 3112 'warnBulkDelete' => __( "You are about to permanently delete these items.\n 'Cancel' to stop, 'OK' to delete." ), -
trunk/src/wp-includes/post-functions.php
r34451 r34472 1315 1315 * ones the default is 'Parent Page:'. 1316 1316 * - all_items - String for the submenu. Default is All Posts/All Pages. 1317 * - insert_into_item - String for the media frame button. Default is Insert into post/Insert into page. 1318 * - uploaded_to_this_item - String for the media frame filter. Default is Uploaded to this post/Uploaded to this page. 1317 1319 * - featured_image - Default is Featured Image. 1318 1320 * - set_featured_image - Default is Set featured image. … … 1327 1329 * @since 4.3.0 Added the `featured_image`, `set_featured_image`, `remove_featured_image`, 1328 1330 * and `use_featured_image` labels. 1331 * @since 4.4.0 Added the `insert_into_item` and `uploaded_to_this_item` labels. 1332 * 1329 1333 * @access private 1330 1334 * … … 1346 1350 'parent_item_colon' => array( null, __('Parent Page:') ), 1347 1351 'all_items' => array( __( 'All Posts' ), __( 'All Pages' ) ), 1352 'insert_into_item' => array( __( 'Insert into post' ), __( 'Insert into page' ) ), 1353 'uploaded_to_this_item' => array( __( 'Uploaded to this post' ), __( 'Uploaded to this page' ) ), 1348 1354 'featured_image' => array( __( 'Featured Image' ), __( 'Featured Image' ) ), 1349 1355 'set_featured_image' => array( __( 'Set featured image' ), __( 'Set featured image' ) ),
Note: See TracChangeset
for help on using the changeset viewer.