Making WordPress.org


Ignore:
Timestamp:
06/19/2016 08:40:01 PM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Move readme classes into their own namespace.

See #1584.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php

    r3458 r3477  
    33use \WordPressdotorg\Plugin_Directory;
    44use \WordPressdotorg\Plugin_Directory\Tools;
     5use \WordPressdotorg\Plugin_Directory\Readme\Validator;
    56use \WordPressdotorg\Plugin_Directory\Admin\List_Table\Plugin_Posts;
    67
     
    136137        add_submenu_page( 'edit.php?post_type=plugin', 'Plugin Handbook', 'Plugin Handbook', 'read', 'handbook', function() {} );
    137138
    138         $readme_validator = Readme_Validator::instance();
     139        $readme_validator = Validator::instance();
    139140        add_submenu_page( 'edit.php?post_type=plugin', 'Readme Validator', 'Readme Validator', 'read', 'readme_validator', array( $readme_validator, 'display' ) );
    140141
Note: See TracChangeset for help on using the changeset viewer.