Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#9607 closed defect (bug) (invalid)

referential integrity on load-scripts.php

Reported by: arena Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Administration Keywords:
Focuses: Cc:


To sum up the whole bug (#9587)

the following string is built using "$wp_scripts" referential


and "load-scripts.php" builds the javascript file using the following referential :

require(ABSPATH . WPINC . '/script-loader.php');

(ticket #9587 has been closed and replaced by this ticket)

Change History (7)

#1 @arena
9 years ago

I did not checked if this applies to styles !

#2 @azaozz
9 years ago

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

see #9585

#3 @arena
9 years ago

  • Resolution duplicate deleted
  • Status changed from closed to reopened

#9585 and #9587 were closed to open this ticket in order to avoid duplicates and clarify what was detected !

#4 follow-up: @azaozz
9 years ago

The answer is still the same: script-loader doesn't support removing of a default script and then queueing it again with a different name. There's no point in doing this. See http://core.trac.wordpress.org/ticket/9585#comment:2

#5 in reply to: ↑ 4 @arena
9 years ago

Using the same js script with a different wp_localize_script

#6 @janeforshort
9 years ago

  • Milestone changed from 2.8 to Future Release

Punting due to feature freeze. Reconsider with next release.

#7 @Denis-de-Bernardy
9 years ago

  • Milestone Future Release deleted
  • Resolution set to invalid
  • Status changed from reopened to closed

my own understanding of the bug is this actually is a dup of #9620, which has been fixed. please re-open if this is incorrect.

Note: See TracTickets for help on using tickets.