[wp-trac] [WordPress Trac] #34700: During installation, only enqueue scripts when necessary
WordPress Trac
noreply at wordpress.org
Tue Dec 15 21:43:22 UTC 2015
#34700: During installation, only enqueue scripts when necessary
-----------------------------+-----------------------
Reporter: flixos90 | Owner: ocean90
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.5
Component: Upgrade/Install | Version: 4.3
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+-----------------------
Comment (by ocean90):
@flixos90 Step 2 needs the user-profile script too because it also shows
the `display_setup_form()` in case of errors.
Since `wp_print_scripts()` supports an array we can build a list of
scripts to enqueue, see [attachment:34700.3.diff].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34700#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list