WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#9461 closed defect (bug) (fixed)

ABSPATH defined wrong in /wp-admin/load-scripts.php

Reported by: hakre Owned by: azaozz
Milestone: 2.7.2 Priority: low
Severity: minor Version: 2.8
Component: JavaScript Keywords: has-patch
Focuses: Cc:

Description

In every other place of the whole repository, ABSPATH is defined with a trailing slash.

In load-scripts.php it is not.

The supplied patch corrects this.

Attachments (2)

9461-abspath-corrected.patch (809 bytes) - added by hakre 5 years ago.
ABSPATH well defined
9461-abspath-corrected-gears-scripts-styles.patch (1.7 KB) - added by hakre 5 years ago.
ABSPATH well defined, update: gears-manifest, load-scrips and load-styles correct alltogether now.

Download all attachments as: .zip

Change History (6)

hakre5 years ago

ABSPATH well defined

hakre5 years ago

ABSPATH well defined, update: gears-manifest, load-scrips and load-styles correct alltogether now.

comment:1 hakre5 years ago

  • Priority changed from normal to high

Take the second attachment, other files had the same bugs. if you need a file to compare against, checkout setup-config.php in the same directory. I raise this to high sothat it won't get dropped.

comment:2 azaozz5 years ago

  • Priority changed from high to low
  • Severity changed from normal to minor

These files do not load the rest of WordPress, the format is not critical.

comment:3 azaozz5 years ago

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

(In [10871]) Correct ABSPATH in load-scripts.php, load-styles.php and gears-manifest.php, props hakre, fixes #9461

comment:4 hakre5 years ago

Thanks for getting this fixed. Consistency is a key for a more Bug-Free environment.

Note: See TracTickets for help on using tickets.