WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/19/2007 05:45:50 PM (13 years ago)
Author:
ryan
Message:

Allows 0 titles when sanitizing. Props mdawaffe. fixes #5293

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/formatting.php

    r6364 r6409  
    330330    $title = apply_filters('sanitize_title', $title);
    331331
    332     if (empty($title)) {
     332    if ( '' === $title || false === $title )
    333333        $title = $fallback_title;
    334     }
    335334
    336335    return $title;
Note: See TracChangeset for help on using the changeset viewer.