Making WordPress.org


Ignore:
Timestamp:
03/01/2016 07:51:16 AM (9 years ago)
Author:
dd32
Message:

Plugin Directory: Add several metaboxes for the Plugin Review/Admin.
This change includes switching to custom taxonomies, a custom publish metabox, a custom tags metabox, and the start of a plugin-reviewer metabox.

See #1570, #1584

File:
1 edited

Legend:

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

    r2621 r2655  
    1616namespace WordPressdotorg\Plugin_Directory;
    1717
     18/**
     19 * Store the root plugin file for usage with functions which use the plugin basename.
     20 */
     21define( __NAMESPACE__ . '\PLUGIN_FILE', __FILE__ );
     22
    1823// Register an Autoloader for all files
    1924include __DIR__ . '/class-autoloader.php';
    2025Autoloader\register_class_path( __NAMESPACE__, __DIR__ );
    2126
    22 // Create the instance of the plugin, passing __FILE__ for actions that need it.
     27// Instantiate the Plugin Directory
    2328include __DIR__ . '/class-plugin-directory.php';
    24 Plugin_Directory::instance( __FILE__ );
     29Plugin_Directory::instance();
Note: See TracChangeset for help on using the changeset viewer.