Make WordPress Core

Opened 21 years ago

Closed 21 years ago

Last modified 5 years ago

#1131 closed defect (bug) (fixed)

Rev 2455 of wp-includes/functions.php breaks the admin interface

Reported by: kim Owned by: matt
Priority: normal Milestone:
Component: Administration Version: 1.5.1
Severity: critical Keywords:
Cc: Focuses:

Description

Since the WP_INSTALLING constant is not defined during normal operation, calling constant('WP_INSTALLING') causes an error about the constant not existing. This is printed many times over when entering the dashboard.

Looking at the code, I think calling defined('WP_INSTALLING') achieves what was intended.

Patch attached.

Attachments (1)

functions.diff (548 bytes ) - added by kim 21 years ago.

Download all attachments as: .zip

Change History (5)

#1 @kim
21 years ago

  • PatchNo

#2 @kim
21 years ago

I have error_reporting=E_ALL and display_errors=On, and the error messages are what breaks the admin interface.

#3 @matt
21 years ago

  • fixed_in_version1.5.1
  • Owner changed from anonymous to matt
  • Resolution 1020
  • Status newclosed

@kim
21 years ago

This ticket was mentioned in Slack in #core-media by hellofromtonya. View the logs.


5 years ago

Note: See TracTickets for help on using tickets.