Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-media-list-table.php

    r17349 r18114  
    1010class WP_Media_List_Table extends WP_List_Table {
    1111
    12     function WP_Media_List_Table() {
     12    function __construct() {
    1313        $this->detached = isset( $_REQUEST['detached'] ) || isset( $_REQUEST['find_detached'] );
    1414
    15         parent::WP_List_Table( array(
     15        parent::__construct( array(
    1616            'plural' => 'media'
    1717        ) );
     
    138138        if ( !$this->detached ) {
    139139            $posts_columns['parent'] = _x( 'Attached to', 'column name' );
    140             $posts_columns['comments'] = '<div class="vers"><img alt="Comments" src="' . esc_url( admin_url( 'images/comment-grey-bubble.png' ) ) . '" /></div>';
     140            $posts_columns['comments'] = '<span class="vers"><img alt="Comments" src="' . esc_url( admin_url( 'images/comment-grey-bubble.png' ) ) . '" /></span>';
    141141        }
    142142        /* translators: column name */
     
    216216    case 'title':
    217217?>
    218         <td <?php echo $attributes ?>><strong><?php if ( $this->is_trash ) echo $att_title; else { ?><a href="<?php echo get_edit_post_link( $post->ID, true ); ?>" title="<?php echo esc_attr( sprintf( __( 'Edit &#8220;%s&#8221;' ), $att_title ) ); ?>"><?php echo $att_title; ?></a><?php } ?></strong>
     218        <td <?php echo $attributes ?>><strong><?php if ( $this->is_trash ) echo $att_title; else { ?><a href="<?php echo get_edit_post_link( $post->ID, true ); ?>" title="<?php echo esc_attr( sprintf( __( 'Edit &#8220;%s&#8221;' ), $att_title ) ); ?>"><?php echo $att_title; ?></a><?php }; _media_states( $post ); ?></strong>
    219219            <p>
    220220<?php
Note: See TracChangeset for help on using the changeset viewer.