diff --git a/wp-admin/edit-attachment-rows.php b/wp-admin/edit-attachment-rows.php deleted file mode 100644 index d88316be90..0000000000 --- a/wp-admin/edit-attachment-rows.php +++ /dev/null @@ -1,239 +0,0 @@ - -
ID) ) { ?> | - ->ID, array(80, 60), true ) ) { - if ( $is_trash ) echo $thumb; - else { -?> - - - - - | - ->
- - ID ), $matches ) ) - echo esc_html( strtoupper( $matches[1] ) ); - else - echo strtoupper( str_replace( 'image/', '', get_post_mime_type() ) ); - ?> - - ID) && !$is_trash ) - $actions['edit'] = '' . __('Edit') . ''; - if ( current_user_can('delete_post', $post->ID) ) { - if ( $is_trash ) - $actions['untrash'] = "ID) . "'>" . __('Restore') . ""; - elseif ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) - $actions['trash'] = "ID) . "'>" . __('Trash') . ""; - if ( $is_trash || !EMPTY_TRASH_DAYS || !MEDIA_TRASH ) { - $delete_ays = (!$is_trash && !MEDIA_TRASH) ? " onclick='return showNotice.warn();'" : ''; - $actions['delete'] = "ID) . "'>" . __('Delete Permanently') . ""; - } - } - if ( !$is_trash ) { - $title =_draft_or_post_title($post->post_parent); - $actions['view'] = '' . __('View') . ''; - } - $actions = apply_filters( 'media_row_actions', $actions, $post ); - $action_count = count($actions); - $i = 0; - echo '';
- foreach ( $actions as $action => $link ) {
- ++$i;
- ( $i == $action_count ) ? $sep = '' : $sep = ' | ';
- echo "$link$sep";
- }
- echo ' ';
- ?> |
-
- > | - ->slug'> " . esc_html(sanitize_term_field('name', $c->name, $c->term_id, 'post_tag', 'display')) . ""; - echo join( ', ', $out ); - } else { - _e('No Tags'); - } - ?> | - ->post_excerpt : ''; ?> | - post_date && 'date' == $column_name ) { - $t_time = $h_time = __('Unpublished'); - } else { - $t_time = get_the_time(__('Y/m/d g:i:s A')); - $m_time = $post->post_date; - $time = get_post_time( 'G', true, $post, false ); - if ( ( abs($t_diff = time() - $time) ) < 86400 ) { - if ( $t_diff < 0 ) - $h_time = sprintf( __('%s from now'), human_time_diff( $time ) ); - else - $h_time = sprintf( __('%s ago'), human_time_diff( $time ) ); - } else { - $h_time = mysql2date(__('Y/m/d'), $m_time); - } - } - ?> -> | - post_parent > 0 ) { - if ( get_post($post->post_parent) ) { - $title =_draft_or_post_title($post->post_parent); - } - ?> ->, | - -> - |
-
- >
- ID );
- $pending_phrase = sprintf( __('%s pending'), number_format( $left ) );
- if ( $left )
- echo '';
- comments_number("" . /* translators: comment count link */ _x('0', 'comment count') . '', "" . /* translators: comment count link */ _x('1', 'comment count') . '', "" . /* translators: comment count link: % will be substituted by comment count */ _x('%', 'comment count') . '');
- if ( $left )
- echo '';
- ?>
- |
-
- > - | - - | - -> | - -
---|