Make WordPress Core

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#1427 closed defect (bug) (fixed)

Import files should always use require_once()

Reported by: chuyskywalker Owned by: markjaquith
Priority: low Milestone:
Component: Administration Version: 1.5.1.1
Severity: normal Keywords: import require plugin bg|has-patch bg|commit
Cc: Focuses:

Description

Some of the import files use require, while others use require_once. They should all be changed to require_once because if a plugin loads one of the files (as mine does one) then it conflicts and issues errors.

A diff (run agains the wp-admin folder) is attached.

Attachments (1)

import-require.diff (3.8 KB ) - added by chuyskywalker 21 years ago.
diff against wp-admin to fix up all the require's to require_once's

Download all attachments as: .zip

Change History (5)

@chuyskywalker
21 years ago

diff against wp-admin to fix up all the require's to require_once's

#1 @matt
21 years ago

  • Milestone1.5.2

#2 @markjaquith
21 years ago

  • Keywords bg|has-patch bg|commit added
  • Owner changed from anonymous to markjaquith
  • Status newassigned

Patch still works on 1.6 SVN... passing up the ladder

#3 @matt
21 years ago

  • Resolutionfixed
  • Status assignedclosed

(In [2687]) Update includes in import files, fixes #1427

#4 @(none)
20 years ago

  • Milestone 2.0

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.