Merge some similar media-related strings.

props pavelevap.
fixes #32390.
Built from https://develop.svn.wordpress.org/trunk@33435


git-svn-id: http://core.svn.wordpress.org/trunk@33402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-07-26 23:24:24 +00:00
parent a883227772
commit 1a05a5a3b1
2 changed files with 6 additions and 6 deletions

View File

@ -264,11 +264,11 @@ if ( ! empty( $_GET['untrashed'] ) && $untrashed = absint( $_GET['untrashed'] )
$_SERVER['REQUEST_URI'] = remove_query_arg(array('untrashed'), $_SERVER['REQUEST_URI']); $_SERVER['REQUEST_URI'] = remove_query_arg(array('untrashed'), $_SERVER['REQUEST_URI']);
} }
$messages[1] = __('Media attachment updated.'); $messages[1] = __( 'Media attachment updated.' );
$messages[2] = __('Media permanently deleted.'); $messages[2] = __( 'Media attachment permanently deleted.' );
$messages[3] = __('Error saving media attachment.'); $messages[3] = __( 'Error saving media attachment.' );
$messages[4] = __('Media 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>'; $messages[4] = __( 'Media attachment 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>';
$messages[5] = __('Media restored from the trash.'); $messages[5] = __( 'Media attachment restored from the trash.' );
if ( ! empty( $_GET['message'] ) && isset( $messages[ $_GET['message'] ] ) ) { if ( ! empty( $_GET['message'] ) && isset( $messages[ $_GET['message'] ] ) ) {
$message = $messages[ $_GET['message'] ]; $message = $messages[ $_GET['message'] ];

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-beta4-33434'; $wp_version = '4.3-beta4-33435';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.