[buddypress-trac] [BuddyPress Trac] #3288: Load core js/css in the same way as WP script-loader.php does
buddypress-trac
noreply at wordpress.org
Sat May 3 18:51:03 UTC 2014
#3288: Load core js/css in the same way as WP script-loader.php does
-------------------------+----------------------
Reporter: DJPaul | Owner:
Type: enhancement | Status: closed
Priority: minor | Milestone:
Component: Core | Version:
Severity: normal | Resolution: invalid
Keywords: |
-------------------------+----------------------
Changes (by boonebgorges):
* status: new => closed
* resolution: => invalid
* severity: => normal
* milestone: Future Release =>
Comment:
I'm not 100% sure what this ticket is suggesting. Is the idea that we
should register all our scripts in a central location, and only register
them later? Or is it that we should be using the `'wp_default_scripts'`
hook? I guess I don't see much of an advantage to centralizing things.
Instead of doing SCRIPT_DEBUG checks, we'd end up doing `bp_is_active()`
checks. Or we could do some sort of fancy subhook system, but it seems
like there's not much to be gained in terms of efficiency with our fairly
limited number of assets.
Going to close this one. DJPaul, if I've misunderstood, or you strongly
disagree, please feel free to reopen and set me straight ;)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3288#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list