Making WordPress.org


Ignore:
Timestamp:
02/25/2016 10:49:24 PM (10 years ago)
Author:
obenland
Message:

Plugins Directory: Formatting update.

  • Updates phpdocs throughout the plugin.
  • Breaks out classes into their own files.
  • Some minor namespace-related tweaks.

See #1584.

File:
1 moved

Legend:

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

    r2612 r2621  
    55 * All functionality related to the Administration interface.
    66 *
    7  * @package WordPressdotorg_Plugin_Directory
     7 * @package WordPressdotorg\Plugin_Directory\Admin
    88 */
    9 class Admin_Customizations {
     9class Customizations {
     10
    1011    /**
    1112     * Fetch the instance of the Plugin_Directory class.
     
    1314    public static function instance() {
    1415        static $instance = null;
    15         return ! is_null( $instance ) ? $instance : $instance = new Admin_Customizations();
     16
     17        return ! is_null( $instance ) ? $instance : $instance = new Customizations();
    1618    }
    1719
     20    /**
     21     *
     22     */
    1823    private function __construct() {
    1924        add_action( 'add_meta_boxes', array( $this, 'register_admin_metaboxes' ) );
     
    3136        );
    3237    }
    33 
    3438}
Note: See TracChangeset for help on using the changeset viewer.