Ticket #45317: 45317.patch
| File 45317.patch, 7.3 KB (added by , 7 years ago) |
|---|
-
src/wp-admin/edit.php
239 239 '<ul>' . 240 240 '<li>' . __( '<strong>Edit</strong> takes you to the editing screen for that post. You can also reach that screen by clicking on the post title.' ) . '</li>' . 241 241 '<li>' . __( '<strong>Quick Edit</strong> provides inline access to the metadata of your post, allowing you to update post details without leaving this screen.' ) . '</li>' . 242 '<li>' . __( '<strong>Trash</strong> removes your post from this list and places it in the trash, from which you can permanently delete it.' ) . '</li>' .242 '<li>' . __( '<strong>Trash</strong> removes your post from this list and places it in the Trash, from which you can permanently delete it.' ) . '</li>' . 243 243 '<li>' . __( '<strong>Preview</strong> will show you what your draft post will look like if you publish it. View will take you to your live site to view the post. Which link is available depends on your post’s status.' ) . '</li>' . 244 244 '</ul>', 245 245 ) … … 249 249 'id' => 'bulk-actions', 250 250 'title' => __( 'Bulk Actions' ), 251 251 'content' => 252 '<p>' . __( 'You can also edit or move multiple posts to the trash at once. Select the posts you want to act on using the checkboxes, then select the action you want to take from the Bulk Actions menu and click Apply.' ) . '</p>' .252 '<p>' . __( 'You can also edit or move multiple posts to the Trash at once. Select the posts you want to act on using the checkboxes, then select the action you want to take from the Bulk Actions menu and click Apply.' ) . '</p>' . 253 253 '<p>' . __( 'When using Bulk Edit, you can change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the x next to its name in the Bulk Edit area that appears.' ) . '</p>', 254 254 ) 255 255 ); -
src/wp-admin/includes/template.php
524 524 function wp_comment_trashnotice() { 525 525 ?> 526 526 <div class="hidden" id="trash-undo-holder"> 527 <div class="trash-undo-inside"><?php printf( __( 'Comment by %s moved to the trash.' ), '<strong></strong>' ); ?> <span class="undo untrash"><a href="#"><?php _e( 'Undo' ); ?></a></span></div>527 <div class="trash-undo-inside"><?php printf( __( 'Comment by %s moved to the Trash.' ), '<strong></strong>' ); ?> <span class="undo untrash"><a href="#"><?php _e( 'Undo' ); ?></a></span></div> 528 528 </div> 529 529 <div class="hidden" id="spam-undo-holder"> 530 530 <div class="spam-undo-inside"><?php printf( __( 'Comment by %s marked as spam.' ), '<strong></strong>' ); ?> <span class="undo unspam"><a href="#"><?php _e( 'Undo' ); ?></a></span></div> -
src/wp-admin/options-discussion.php
195 195 <tr> 196 196 <th scope="row"><?php _e( 'Comment Blacklist' ); ?></th> 197 197 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Comment Blacklist' ); ?></span></legend> 198 <p><label for="blacklist_keys"><?php _e( 'When a comment contains any of these words in its content, name, URL, email, or IP address, it will be put in the trash. One word or IP address per line. It will match inside words, so “press” will match “WordPress”.' ); ?></label></p>198 <p><label for="blacklist_keys"><?php _e( 'When a comment contains any of these words in its content, name, URL, email, or IP address, it will be put in the Trash. One word or IP address per line. It will match inside words, so “press” will match “WordPress”.' ); ?></label></p> 199 199 <p> 200 200 <textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php echo esc_textarea( get_option( 'blacklist_keys' ) ); ?></textarea> 201 201 </p> -
src/wp-admin/privacy.php
106 106 'page_for_privacy_policy', 107 107 sprintf( 108 108 /* translators: URL to Pages Trash */ 109 __( 'The currently selected Privacy Policy page is in the trash. Please create or select a new Privacy Policy page or <a href="%s">restore the current page</a>.' ),109 __( 'The currently selected Privacy Policy page is in the Trash. Please create or select a new Privacy Policy page or <a href="%s">restore the current page</a>.' ), 110 110 'edit.php?post_status=trash&post_type=page' 111 111 ), 112 112 'error' -
src/wp-admin/upload.php
321 321 322 322 if ( ! empty( $_GET['trashed'] ) && $trashed = absint( $_GET['trashed'] ) ) { 323 323 if ( 1 == $trashed ) { 324 $message = __( 'Media file moved to the trash.' );324 $message = __( 'Media file moved to the Trash.' ); 325 325 } else { 326 326 /* translators: %s: number of media files */ 327 $message = _n( '%s media file moved to the trash.', '%s media files moved to the trash.', $trashed );327 $message = _n( '%s media file moved to the Trash.', '%s media files moved to the Trash.', $trashed ); 328 328 } 329 329 $message = sprintf( $message, number_format_i18n( $trashed ) ); 330 330 $message .= ' <a href="' . esc_url( wp_nonce_url( 'upload.php?doaction=undo&action=untrash&ids=' . ( isset( $_GET['ids'] ) ? $_GET['ids'] : '' ), 'bulk-media' ) ) . '">' . __( 'Undo' ) . '</a>'; … … 333 333 334 334 if ( ! empty( $_GET['untrashed'] ) && $untrashed = absint( $_GET['untrashed'] ) ) { 335 335 if ( 1 == $untrashed ) { 336 $message = __( 'Media file restored from the trash.' );336 $message = __( 'Media file restored from the Trash.' ); 337 337 } else { 338 338 /* translators: %s: number of media files */ 339 $message = _n( '%s media file restored from the trash.', '%s media files restored from the trash.', $untrashed );339 $message = _n( '%s media file restored from the Trash.', '%s media files restored from the Trash.', $untrashed ); 340 340 } 341 341 $message = sprintf( $message, number_format_i18n( $untrashed ) ); 342 342 $_SERVER['REQUEST_URI'] = remove_query_arg( array( 'untrashed' ), $_SERVER['REQUEST_URI'] ); … … 345 345 $messages[1] = __( 'Media file updated.' ); 346 346 $messages[2] = __( 'Media file permanently deleted.' ); 347 347 $messages[3] = __( 'Error saving media file.' ); 348 $messages[4] = __( 'Media file moved to the trash.' ) . ' <a href="' . esc_url( wp_nonce_url( 'upload.php?doaction=undo&action=untrash&ids=' . ( isset( $_GET['ids'] ) ? $_GET['ids'] : '' ), 'bulk-media' ) ) . '">' . __( 'Undo' ) . '</a>';349 $messages[5] = __( 'Media file restored from the trash.' );348 $messages[4] = __( 'Media file moved to the Trash.' ) . ' <a href="' . esc_url( wp_nonce_url( 'upload.php?doaction=undo&action=untrash&ids=' . ( isset( $_GET['ids'] ) ? $_GET['ids'] : '' ), 'bulk-media' ) ) . '">' . __( 'Undo' ) . '</a>'; 349 $messages[5] = __( 'Media file restored from the Trash.' ); 350 350 351 351 if ( ! empty( $_GET['message'] ) && isset( $messages[ $_GET['message'] ] ) ) { 352 352 $message = $messages[ $_GET['message'] ];