Changeset 362981
- Timestamp:
- 03/21/2011 06:44:40 PM (15 years ago)
- File:
-
- 1 edited
-
dp-tweaks/trunk/dp-tweaks.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dp-tweaks/trunk/dp-tweaks.php
r362980 r362981 179 179 public static function get_instance() { 180 180 if (!isset(self::$instance)) { 181 self::$instance = new REMIX_Google_CDN();181 self::$instance = new DP_Google_CDN(); 182 182 } 183 183 return self::$instance; … … 194 194 * PHP 4 Compatible Constructor 195 195 */ 196 function REMIX_Google_CDN(){196 function DP_Google_CDN(){ 197 197 $this->__construct(); 198 198 } … … 297 297 298 298 static function configure_plugin() { 299 add_action( 'wp_default_scripts', array( ' REMIX_Google_CDN', 'replace_default_scripts_action'), 1000);300 add_filter( 'script_loader_src', array( " REMIX_Google_CDN", "remove_ver_query_filter" ), 1000);301 add_filter( 'init',array( " REMIX_Google_CDN", "setup_filter" ) );299 add_action( 'wp_default_scripts', array( 'DP_Google_CDN', 'replace_default_scripts_action'), 1000); 300 add_filter( 'script_loader_src', array( "DP_Google_CDN", "remove_ver_query_filter" ), 1000); 301 add_filter( 'init',array( "DP_Google_CDN", "setup_filter" ) ); 302 302 303 303 // There's a chance some plugin has called wp_enqueue_script outside … … 312 312 /* 313 313 if ( is_admin() ) { 314 add_action('admin_notices', array(" REMIX_Google_CDN", 'script_before_init_admin_notice'));314 add_action('admin_notices', array("DP_Google_CDN", 'script_before_init_admin_notice')); 315 315 } 316 316 */
Note: See TracChangeset
for help on using the changeset viewer.