mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
_a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1116,7 +1116,7 @@ function remove_option_whitelist( $del_options, $options = '' ) {
|
||||
* @param string $option_group A settings group name. This should match the group name used in register_setting().
|
||||
*/
|
||||
function settings_fields($option_group) {
|
||||
echo "<input type='hidden' name='option_page' value='" . attr($option_group) . "' />";
|
||||
echo "<input type='hidden' name='option_page' value='" . esc_attr($option_group) . "' />";
|
||||
echo '<input type="hidden" name="action" value="update" />';
|
||||
wp_nonce_field("$option_group-options");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user