Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#8253 closed defect (bug) (invalid)

2.7beta2 vs 2.7beta3 wp_register_script

Reported by: arena's profile arena Owned by:
Milestone: Priority: high
Severity: critical Version:
Component: Administration Keywords:
Focuses: Cc:

Description

In 2.7beta2, dependancies were included

wp_register_script( 'toto', 'toto.js', array('jquery-ui-tabs', 'jquery-color', 'thickbox', 'postbox', 'columns', 'settings-box'));

In 2.7beta3, dependancies are ignored ...???

Change History (2)

#1 @DD32
16 years ago

Pretty sure dependancies still work.. Columns & Settings-box have been removed however, I think they were moved to the common.js file.

#2 @azaozz
16 years ago

  • Milestone 2.7 deleted
  • Resolution set to invalid
  • Status changed from new to closed

DD32 is right, all works as before and several js files have been merged into common.js since they load on almost all pages in the admin (and it's faster and easier to load and cache 1 file instead of 6-7). The functions that were in these files are available on every admin page now.

Note: See TracTickets for help on using tickets.