Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#1266 closed defect (bug) (fixed)

0 in title

Reported by: anonymousbugger's profile anonymousbugger Owned by: matt's profile matt
Milestone: Priority: normal
Severity: minor Version: 1.5
Component: General Keywords:
Focuses: Cc:


Title's not displayed when it equals to 0 (zero).

Attachments (1)

template-functrions-post-2.php.diff (483 bytes) - added by anonymousbugger 19 years ago.

Download all attachments as: .zip

Change History (4)

#1 @anonymousbugger
19 years ago

  • Patch set to No

#2 @MC_incubus
19 years ago

  • Patch changed from No to Yes

We were using if(!empty($title)) to check, but empty() returns TRUE on 0

I changed it to if(strlen($title) > 0) in the patch.

#3 @matt
19 years ago

  • fixed_in_version set to 1.5.1
  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 20
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.