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.
Built from https://develop.svn.wordpress.org/trunk@57175


git-svn-id: http://core.svn.wordpress.org/trunk@56686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2023-12-08 21:26:29 +00:00
parent afb55f3571
commit 1c7d7a09aa
2 changed files with 4 additions and 2 deletions

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. */

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.5-alpha-57174';
$wp_version = '6.5-alpha-57175';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.