Changeset 29810
- Timestamp:
- 10/02/2014 03:11:49 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r29690 r29810 83 83 protected function get_bulk_actions() { 84 84 $actions = array(); 85 $actions['delete'] = __( 'Delete Permanently' ); 85 if ( MEDIA_TRASH ) { 86 if ( $this->is_trash ) { 87 $actions['untrash'] = __( 'Restore' ); 88 $actions['delete'] = __( 'Delete Permanently' ); 89 } else { 90 $actions['trash'] = __( 'Trash' ); 91 } 92 } else { 93 $actions['delete'] = __( 'Delete Permanently' ); 94 } 95 86 96 if ( $this->detached ) 87 97 $actions['attach'] = __( 'Attach to a post' );
Note: See TracChangeset
for help on using the changeset viewer.