Make WordPress Core

Opened 19 years ago

Closed 18 years ago

Last modified 16 months ago

#1999 closed defect (bug) (fixed)

Modifying Files of 0 length kick fread error

Reported by: technosailor's profile technosailor Owned by: markjaquith's profile markjaquith
Milestone: Priority: normal
Severity: normal Version: 2.0
Component: Administration Keywords: bg|commit bg|has-patch
Focuses: Cc:

Description

Warning: fread() [function.fread]: Length parameter must be greater than 0. in /home/ebeautyd/public_html/wp-admin/templates.php on line 73

Manage > Files > .htaccess (or any 0-length file.

Attachments (1)

templates.php.diff (424 bytes) - added by technosailor 19 years ago.
adds a conditional to check for empty filesize

Download all attachments as: .zip

Change History (8)

@technosailor
19 years ago

adds a conditional to check for empty filesize

#1 @davidhouse
19 years ago

  • Keywords bg|commit bg|has-patch added

Looks good.

#2 @markjaquith
18 years ago

  • Milestone set to 2.1
  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

#3 @markjaquith
18 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [4314]) Refrain from reading files of 0 length. Props technosailor. fixes #1999

#4 @markjaquith
18 years ago

(In [4315]) Refrain from reading files of 0 length. Props technosailor. fixes #1999

#5 @markjaquith
18 years ago

  • Milestone changed from 2.1 to 2.0.5

#6 @(none)
18 years ago

  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

This ticket was mentioned in Slack in #core-editor by zakkath. View the logs.


7 years ago

Note: See TracTickets for help on using tickets.