You appear to be a bot. Output may be restricted
Description
Determines scripts changes.
Usage
dependencies_cache::query_scripts_changes();
Parameters
Returns
voidSource
File name: oik/libs/class-dependencies-cache.phpLines:
1 to 17 of 17
function query_scripts_changes() { global $wp_scripts; $this->reset_scripts(); $count_wp = count( $wp_scripts->registered ); $count_bw = count( $this->bw_scripts->registered ); bw_trace2( $count_wp, "count_wp and bw: $count_bw" ); bw_trace2( $wp_scripts, "wp_scripts" ); bw_trace2( $this->bw_scripts, "bw_scripts" ); $this->registered_scripts = array_udiff_assoc( $wp_scripts->registered, $this->bw_scripts->registered, array( $this, "wp_dependency_compare" ) ); bw_trace2( $this->registered_scripts, "registered scripts" ); $this->queued_scripts = array_diff( $wp_scripts->queue, $this->bw_scripts->queue ); bw_trace2( $this->queued_scripts, "enqueued scripts" ); }View on GitHub View on Trac