Plugin Directory

Changeset 362981


Ignore:
Timestamp:
03/21/2011 06:44:40 PM (15 years ago)
Author:
cloudstone
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • dp-tweaks/trunk/dp-tweaks.php

    r362980 r362981  
    179179    public static function get_instance() {
    180180      if (!isset(self::$instance)) {
    181         self::$instance =  new REMIX_Google_CDN();
     181        self::$instance =  new DP_Google_CDN();
    182182      }
    183183      return self::$instance;
     
    194194     * PHP 4 Compatible Constructor
    195195     */
    196     function REMIX_Google_CDN(){
     196    function DP_Google_CDN(){
    197197        $this->__construct();
    198198    }
     
    297297
    298298    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" ) );
    302302
    303303      // There's a chance some plugin has called wp_enqueue_script outside
     
    312312        /*     
    313313        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'));
    315315        }
    316316        */
Note: See TracChangeset for help on using the changeset viewer.