Changeset 44220
- Timestamp:
- 12/16/2018 01:48:05 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-admin/includes/class-wp-posts-list-table.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43854
- Property svn:mergeinfo changed
-
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r43664 r44220 1269 1269 __( 'Edit' ) 1270 1270 ); 1271 $actions['inline hide-if-no-js'] = sprintf( 1272 '<button type="button" class="button-link editinline" aria-label="%s" aria-expanded="false">%s</button>', 1273 /* translators: %s: post title */ 1274 esc_attr( sprintf( __( 'Quick edit “%s” inline' ), $title ) ), 1275 __( 'Quick Edit' ) 1276 ); 1271 1272 if ( 'wp_block' !== $post->post_type ) { 1273 $actions['inline hide-if-no-js'] = sprintf( 1274 '<button type="button" class="button-link editinline" aria-label="%s" aria-expanded="false">%s</button>', 1275 /* translators: %s: post title */ 1276 esc_attr( sprintf( __( 'Quick edit “%s” inline' ), $title ) ), 1277 __( 'Quick Edit' ) 1278 ); 1279 } 1277 1280 } 1278 1281 … … 1327 1330 ); 1328 1331 } 1332 } 1333 1334 if ( 'wp_block' === $post->post_type ) { 1335 $actions['export'] = sprintf( 1336 '<button type="button" class="wp-list-reusable-blocks__export button-link" data-id="%s" aria-label="%s">%s</button>', 1337 $post->ID, 1338 /* translators: %s: post title */ 1339 esc_attr( sprintf( __( 'Export “%s” as JSON' ), $title ) ), 1340 __( 'Export as JSON' ) 1341 ); 1329 1342 } 1330 1343
Note: See TracChangeset
for help on using the changeset viewer.