WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 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:

Description

To sum up the whole bug (#9587)

the following string is built using "$wp_scripts" referential

load-scripts.php?c=0&load=hoverIntent,common,jquery-color,schedule,mp-ajax-response,jquery-ui...

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)

comment:1 @arena6 years ago

I did not checked if this applies to styles !

comment:2 @azaozz6 years ago

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

see #9585

comment:3 @arena6 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 !

comment:4 follow-up: @azaozz6 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

comment:5 in reply to: ↑ 4 @arena6 years ago

Using the same js script with a different wp_localize_script

comment:6 @janeforshort6 years ago

  • Milestone changed from 2.8 to Future Release

Punting due to feature freeze. Reconsider with next release.

comment:7 @Denis-de-Bernardy6 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.