Changeset 16822
- Timestamp:
- 12/08/2010 09:32:19 PM (14 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-functions.php
r16738 r16822 844 844 845 845 function wpmu_create_blog($domain, $path, $title, $user_id, $meta = '', $site_id = 1) { 846 $domain = preg_replace( '/\s+/', '', sanitize_ user( $domain, true) );846 $domain = preg_replace( '/\s+/', '', sanitize_key( $domain ) ); 847 847 848 848 if ( is_subdomain_install() ) -
trunk/wp-includes/taxonomy.php
r16705 r16822 353 353 354 354 $args['name'] = $taxonomy; 355 $args['object_type'] = (array) $object_type;355 $args['object_type'] = is_array($object_type) ? array_map('sanitize_key', $object_type) : (array) sanitize_key($object_type); 356 356 357 357 $args['labels'] = get_taxonomy_labels( (object) $args );
Note: See TracChangeset
for help on using the changeset viewer.