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

Props ramiy.
Fixes #35743.

git-svn-id: https://develop.svn.wordpress.org/trunk@36668 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2016-02-24 01:47:24 +00:00
parent 3d100679e7
commit 140cf40194

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