Make WordPress Core

Changeset 33106


Ignore:
Timestamp:
07/07/2015 03:25:03 PM (10 years ago)
Author:
helen
Message:

Show row actions on focus for the dashboard comment list.

see #25408.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/dashboard.php

    r32672 r33106  
    628628            <?php if ( !$comment->comment_type || 'comment' == $comment->comment_type ) : ?>
    629629
    630             <div class="dashboard-comment-wrap">
     630            <div class="dashboard-comment-wrap has-row-actions">
    631631            <h4 class="comment-meta">
    632632                <?php printf( /* translators: 1: comment author, 2: post link, 3: notification if the comment is pending */__( 'From %1$s on %2$s%3$s' ),
     
    648648                $type = esc_html( $type );
    649649            ?>
    650             <div class="dashboard-comment-wrap">
     650            <div class="dashboard-comment-wrap has-row-actions">
    651651            <?php /* translators: %1$s is type of comment, %2$s is link to the post */ ?>
    652652            <h4 class="comment-meta"><?php printf( _x( '%1$s on %2$s', 'dashboard' ), "<strong>$type</strong>", $comment_post_link." ".$comment_link ); ?></h4>
  • trunk/src/wp-admin/js/common.js

    r33056 r33106  
    486486            }, 30 );
    487487        }
    488     }, 'td.has-row-actions' );
     488    }, '.has-row-actions' );
    489489
    490490    // Toggle list table rows on small screens
Note: See TracChangeset for help on using the changeset viewer.