Changeset 2621 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php
- Timestamp:
- 02/25/2016 10:49:24 PM (10 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php
r2612 r2621 5 5 * All functionality related to the Administration interface. 6 6 * 7 * @package WordPressdotorg _Plugin_Directory7 * @package WordPressdotorg\Plugin_Directory\Admin 8 8 */ 9 class Admin_Customizations { 9 class Customizations { 10 10 11 /** 11 12 * Fetch the instance of the Plugin_Directory class. … … 13 14 public static function instance() { 14 15 static $instance = null; 15 return ! is_null( $instance ) ? $instance : $instance = new Admin_Customizations(); 16 17 return ! is_null( $instance ) ? $instance : $instance = new Customizations(); 16 18 } 17 19 20 /** 21 * 22 */ 18 23 private function __construct() { 19 24 add_action( 'add_meta_boxes', array( $this, 'register_admin_metaboxes' ) ); … … 31 36 ); 32 37 } 33 34 38 }
Note: See TracChangeset
for help on using the changeset viewer.