I18N: Replace hardcoded URL in a translatable string with a placeholder in wp-admin/upload.php.

Props ramiy.
Fixes #35743.
Built from https://develop.svn.wordpress.org/trunk@36668


git-svn-id: http://core.svn.wordpress.org/trunk@36635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2016-02-24 01:48:27 +00:00
parent 54b8932923
commit 37d3add855
2 changed files with 6 additions and 2 deletions

View File

@ -82,7 +82,11 @@ if ( 'grid' === $mode ) {
?>
</h1>
<div class="error hide-if-js">
<p><?php _e( 'The grid view for the Media Library requires JavaScript. <a href="upload.php?mode=list">Switch to the list view</a>.' ); ?></p>
<p><?php printf(
/* translators: %s: list view URL */
__( 'The grid view for the Media Library requires JavaScript. <a href="%s">Switch to the list view</a>.' ),
'upload.php?mode=list'
); ?></p>
</div>
</div>
<?php

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-36667';
$wp_version = '4.5-alpha-36668';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.