WordPress.org

Making WordPress.org


Ignore:
Timestamp:
09/11/2016 07:36:55 PM (5 years ago)
Author:
ocean90
Message:

Rosetta: Add a Jetpack/Module_Manager to manage available and default Jetpack modules.

See #2003.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/rosetta/inc/site/class-locale-team.php

    r4028 r4031  
    22namespace WordPressdotorg\Rosetta\Site;
    33
     4use WordPressdotorg\Rosetta\Jetpack;
    45use WP_Site;
    56
     
    3940     */
    4041    public function register_events() {
    41         // TODO: Implement register_events() method.
     42        $jetpack_module_manager = new Jetpack\Module_Manager( [
     43            'stats',
     44            'markdown',
     45        ] );
     46        $jetpack_module_manager->setup();
    4247    }
    4348}
Note: See TracChangeset for help on using the changeset viewer.