Making WordPress.org


Ignore:
Timestamp:
07/15/2015 07:51:29 PM (11 years ago)
Author:
ocean90
Message:

Rosetta: Revert [1706] and don't call the constructors in the same file.

The classes are now initiated by another class which isn't public yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/rosetta-roles.php

    r1706 r1741  
    3939     */
    4040    public function plugins_loaded() {
    41         if ( '/' !== get_blog_details( null, false )->path ) {
    42             return;
    43         }
    44 
    4541        add_filter( 'editable_roles', array( $this, 'editable_roles' ) );
    4642        add_filter( 'manage_users_columns',  array( $this, 'add_roles_column' ) );
     
    568564    }
    569565}
    570 
    571 $GLOBALS['rosetta_roles'] = new Rosetta_Roles();
Note: See TracChangeset for help on using the changeset viewer.