Make WordPress Core

Changeset 27609


Ignore:
Timestamp:
03/19/2014 05:37:27 AM (11 years ago)
Author:
nacin
Message:

Add context to a string new to the admin.

Previously this string was used in TinyMCE on the frontend.

see #27453.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.8/src/wp-admin/includes/ajax-actions.php

    r26793 r27609  
    14811481        wp_die( __('No items found.') );
    14821482
    1483     $html = '<table class="widefat" cellspacing="0"><thead><tr><th class="found-radio"><br /></th><th>'.__('Title').'</th><th class="no-break">'.__('Type').'</th><th class="no-break">'.__('Date').'</th><th class="no-break">'.__('Status').'</th></tr></thead><tbody>';
     1483    $html = '<table class="widefat" cellspacing="0"><thead><tr><th class="found-radio"><br /></th><th>' . __( 'Title' );
     1484    $html .= '</th><th class="no-break">' . _x( 'Type', 'type of attachment parent' ) . '</th><th class="no-break">';
     1485    $html .= __( 'Date' ). '</th><th class="no-break">' . __( 'Status' ) . '</th></tr></thead><tbody>';
     1486
    14841487    foreach ( $posts as $post ) {
    14851488        $title = trim( $post->post_title ) ? $post->post_title : __( '(no title)' );
Note: See TracChangeset for help on using the changeset viewer.