Upload: Add missing escaping in upload_space_setting().

Follow-up to [https://mu.trac.wordpress.org/changeset/1088 mu:1088], [https://mu.trac.wordpress.org/changeset/1095 mu:1095], [12603].

Props utsav72640.
Fixes #58514.

git-svn-id: https://develop.svn.wordpress.org/trunk@57175 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2023-12-08 21:24:26 +00:00
parent be491e2e61
commit 1325c63a0a

View File

@ -305,7 +305,9 @@ function upload_space_setting( $id ) {
<tr>
<th><label for="blog-upload-space-number"><?php _e( 'Site Upload Space Quota' ); ?></label></th>
<td>
<input type="number" step="1" min="0" style="width: 100px" name="option[blog_upload_space]" id="blog-upload-space-number" aria-describedby="blog-upload-space-desc" value="<?php echo $quota; ?>" />
<input type="number" step="1" min="0" style="width: 100px"
name="option[blog_upload_space]" id="blog-upload-space-number"
aria-describedby="blog-upload-space-desc" value="<?php echo esc_attr( $quota ); ?>" />
<span id="blog-upload-space-desc"><span class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */