Changeset 2655 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/plugin-directory.php
- Timestamp:
- 03/01/2016 07:51:16 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/plugin-directory.php
r2621 r2655 16 16 namespace WordPressdotorg\Plugin_Directory; 17 17 18 /** 19 * Store the root plugin file for usage with functions which use the plugin basename. 20 */ 21 define( __NAMESPACE__ . '\PLUGIN_FILE', __FILE__ ); 22 18 23 // Register an Autoloader for all files 19 24 include __DIR__ . '/class-autoloader.php'; 20 25 Autoloader\register_class_path( __NAMESPACE__, __DIR__ ); 21 26 22 // Create the instance of the plugin, passing __FILE__ for actions that need it.27 // Instantiate the Plugin Directory 23 28 include __DIR__ . '/class-plugin-directory.php'; 24 Plugin_Directory::instance( __FILE__);29 Plugin_Directory::instance();
Note: See TracChangeset
for help on using the changeset viewer.