Changeset 2440
- Timestamp:
- 02/01/2016 06:43:27 PM (9 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins
- Files:
-
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/load-other-mu-plugins.php
r2418 r2440 1 1 <?php 2 2 3 defined( 'WPINC' ) or die(); 4 5 // mu-plugins in sub-directories 6 require_once( __DIR__ . '/wp-cli-commands/bootstrap.php' ); 7 8 // Private mu-plugins 3 9 $private_mu_plugins = glob( WP_CONTENT_DIR . '/mu-plugins-private/*.php' ); 4 10 if ( is_array( $private_mu_plugins ) ) { -
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/wp-cli-commands/bootstrap.php
r2418 r2440 5 5 } 6 6 7 $wp_cli_commands = glob( __DIR__ . '/wp-cli-commands/*.php' ); 8 9 if ( is_array( $wp_cli_commands ) ) { 10 foreach ( $wp_cli_commands as $command ) { 11 require_once( $command ); 12 } 13 } 7 require_once( __DIR__ . '/miscellaneous.php' ); 8 require_once( __DIR__ . '/rest-api.php' ); 9 require_once( __DIR__ . '/rewrite-rules.php' ); 10 require_once( __DIR__ . '/users.php' ); 14 11 15 12 WP_CLI::add_command( 'wc-misc', 'WordCamp_CLI_Miscellaneous' );
Note: See TracChangeset
for help on using the changeset viewer.