Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#1307 closed defect (bug) (fixed)

wp-admin/admin.php crash

Reported by: denis-de-bernardy's profile Denis de Bernardy Owned by: matt's profile matt
Milestone: Priority: normal
Severity: critical Version: 1.5.1
Component: Administration Keywords:
Focuses: Cc:

Description

the wp-amazon plugin makes the thing crash.

to solve, replace line 2 of wp-admin/admin.php:
require_once('../wp-config.php');

with:
require_once(ABSPATH . 'wp-config.php');

Attachments (1)

wpconfig-abspath.diff (494 bytes) - added by Denis de Bernardy 20 years ago.

Download all attachments as: .zip

Change History (4)

#1 @Denis de Bernardy
20 years ago

  • Patch set to No

#2 @Denis de Bernardy
20 years ago

if ( !defined( 'ABSPATH' ) )

require_once('../wp-config.php');

else

require_once(ABSPATH . 'wp-config.php');

edited on: 05-04-05 14:12

#3 @matt
20 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.