Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#7127 closed defect (bug) (fixed)

Misguided PHPdoc comment in wp-load.php

Reported by: sambauers's profile sambauers Owned by: hansengel's profile hansengel
Milestone: 2.6 Priority: low
Severity: minor Version: 2.6
Component: General Keywords: phpdoc has-patch
Focuses: Cc:


The follow paragraph in the PHPdoc comment in wp-load.php is incorrect:

 * Also made to work in the wp-admin/ folder, because it 
 * will look in the parent directory if the file is not 
 * found in the current directory.

That is not the purpose of the routine which searches for wp-config.php in the parent directory, It should be removed or rewritten something like:

 * Will also search for wp-config.php in WordPress'
 * parent directory to allow the WordPress directory
 * to remain untouched.

Attachments (1)

7127.r8071.diff (630 bytes) - added by hansengel 16 years ago.

Download all attachments as: .zip

Change History (3)

#1 @hansengel
16 years ago

  • Keywords has-patch added
  • Owner changed from anonymous to hansengel
  • Status changed from new to assigned

#2 @ryan
16 years ago

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

(In [8076]) Update phpdoc comment for wp-load.php. Props sambauers and hansengel. fixes #7127

Note: See TracTickets for help on using tickets.