Changeset 1053
- Timestamp:
- 09/10/07 21:50:50 (1 year ago)
- Files:
-
- trunk/wp-includes/wpmu-functions.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/wpmu-functions.php
r1050 r1053 908 908 $errors = new WP_Error(); 909 909 910 $user_name = sanitize_ title($user_name);910 $user_name = sanitize_user($user_name); 911 911 $user_email = sanitize_email( $user_email ); 912 912 … … 1004 1004 1005 1005 $blog_id = sanitize_user( $blog_id ); 1006 $blog_title = s anitize_title( $blog_title );1006 $blog_title = strip_tags( $blog_title ); 1007 1007 1008 1008 $errors = new WP_Error(); … … 1012 1012 add_site_option( "illegal_names", $illegal_names ); 1013 1013 } 1014 1015 $blog_id = sanitize_title($blog_id);1016 1014 1017 1015 if ( empty( $blog_id ) ) … … 1239 1237 function wpmu_create_blog($domain, $path, $title, $user_id, $meta = '', $site_id = 1) { 1240 1238 $domain = sanitize_user( $domain ); 1241 $title = s anitize_title( $title );1239 $title = strip_tags( $title ); 1242 1240 $user_id = (int) $user_id; 1243 1241 … … 1861 1859 /* WordPress MU Default Filters */ 1862 1860 add_filter('the_title', 'wp_filter_kses'); 1863 add_filter('the_title', 'sanitize_title');1864 1861 1865 1862 /* Pluggable */
