[wp-trac] [WordPress Trac] #47237: Used different escape function on options-media.php
WordPress Trac
noreply at wordpress.org
Sat May 11 16:02:00 UTC 2019
#47237: Used different escape function on options-media.php
-------------------------------------------------+-------------------------
Reporter: dilipbheda | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Media | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: docs, administration, coding- |
standards |
-------------------------------------------------+-------------------------
I have checked the options-media.php file and found two different escape
function.
Example:
{{{
1) <input name="upload_path" type="text" id="upload_path" value="<?php
echo esc_attr( get_option( 'upload_path' ) ); ?>" class="regular-text
code" />
2) <input name="thumbnail_size_w" type="number" step="1" min="0"
id="thumbnail_size_w" value="<?php form_option( 'thumbnail_size_w' ); ?>"
class="small-text" />
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47237>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list