[wp-trac] [WordPress Trac] #21552: Move option sanitization in network/settings.php to sanitize_option
WordPress Trac
wp-trac at lists.automattic.com
Sat Sep 22 18:06:53 UTC 2012
#21552: Move option sanitization in network/settings.php to sanitize_option
----------------------------+------------------
Reporter: wonderboymusic | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.5
Component: Multisite | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------
Changes (by wonderboymusic):
* keywords: has-patch needs-refresh => has-patch
Comment:
Refreshed the patch - here's a quick and dirty:
{{{
update_option( 'illegal_names', array( '', 'Woo', '' ) );
update_option( 'limited_email_domains', array( 'woo', '', 'boo.com',
'foo.net.biz..' ) );
update_option( 'banned_email_domains', array( 'woo', '', 'boo.com',
'foo.net.biz..' ) );
print_r( get_option( 'illegal_names' ) );
print_r( get_option( 'limited_email_domains' ) );
print_r( get_option( 'banned_email_domains' ) );
exit();
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21552#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list