Make WordPress Core

Changeset 27548


Ignore:
Timestamp:
03/15/2014 04:31:58 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Fix .comment-grey-bubble markup and remove a stray </h5> tag.

props avryl.
fixes #27408.

Location:
trunk/src/wp-admin/includes
Files:
3 edited

Legend:

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

    r27029 r27548  
    165165            $posts_columns['parent'] = _x( 'Uploaded to', 'column name' );
    166166            if ( post_type_supports( 'attachment', 'comments' ) )
    167                 $posts_columns['comments'] = '<span class="vers"><div title="' . esc_attr__( 'Comments' ) . '" class="comment-grey-bubble"></div></span>';
     167                $posts_columns['comments'] = '<span class="vers"><span title="' . esc_attr__( 'Comments' ) . '" class="comment-grey-bubble"></span></span>';
    168168        }
    169169        /* translators: column name */
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r27255 r27548  
    312312        $post_status = !empty( $_REQUEST['post_status'] ) ? $_REQUEST['post_status'] : 'all';
    313313        if ( post_type_supports( $post_type, 'comments' ) && !in_array( $post_status, array( 'pending', 'draft', 'future' ) ) )
    314             $posts_columns['comments'] = '<span class="vers"><div title="' . esc_attr__( 'Comments' ) . '" class="comment-grey-bubble"></div></span>';
     314            $posts_columns['comments'] = '<span class="vers"><span title="' . esc_attr__( 'Comments' ) . '" class="comment-grey-bubble"></span></span>';
    315315
    316316        $posts_columns['date'] = __( 'Date' );
  • trunk/src/wp-admin/includes/dashboard.php

    r27384 r27548  
    961961        $ilink = wp_nonce_url('plugin-install.php?tab=plugin-information&plugin=' . $slug, 'install-plugin_' . $slug) . '&amp;TB_iframe=true&amp;width=600&amp;height=800';
    962962
    963         echo "<li class='dashboard-news-plugin'><span>$label:</span> <a href='$link' class='dashboard-news-plugin-link'>$title</a></h5>&nbsp;<span>(<a href='$ilink' class='thickbox' title='$title'>" . __( 'Install' ) . "</a>)</span></li>";
     963        echo "<li class='dashboard-news-plugin'><span>$label:</span> <a href='$link' class='dashboard-news-plugin-link'>$title</a>&nbsp;<span>(<a href='$ilink' class='thickbox' title='$title'>" . __( 'Install' ) . "</a>)</span></li>";
    964964
    965965        $$feed->__destruct();
Note: See TracChangeset for help on using the changeset viewer.