Changeset 6409
- Timestamp:
- 12/19/2007 05:45:50 PM (17 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r6364 r6409 330 330 $title = apply_filters('sanitize_title', $title); 331 331 332 if ( empty($title)) {332 if ( '' === $title || false === $title ) 333 333 $title = $fallback_title; 334 }335 334 336 335 return $title; -
trunk/wp-includes/taxonomy.php
r6378 r6409 708 708 $where = $wpdb->prepare( "t.term_id = %d", $term ); 709 709 } else { 710 if ( !$term = sanitize_title($term) )710 if ( '' === $term = sanitize_title($term) ) 711 711 return 0; 712 712 $where = $wpdb->prepare( "t.slug = %s", $term );
Note: See TracChangeset
for help on using the changeset viewer.