Making WordPress.org

Changeset 2418


Ignore:
Timestamp:
01/29/2016 04:42:03 AM (10 years ago)
Author:
iandunn
Message:

WordCamp WP-CLI: Convert set-skip-feature-flags.php to a WP-CLI command.

Previously it was an old-school bin script in our private repository. This is much nicer, and open-source.

Location:
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/helper-functions.php

    r2092 r2418  
    113113 * don't have the flag, i.e., to run by default.
    114114 *
    115  * Doing it this way means that local development environments like the Meta Environment don't have add any
     115 * Doing it this way means that local development environments like the Meta Environment don't to have add any
    116116 * new filters in order to start using the new functionality.
     117 *
     118 * See WordCamp_CLI_Miscellaneous::set_skip_feature_flag() for how to set the flags.
    117119 *
    118120 * @param string $flag
  • sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/wp-cli-commands.php

    r2179 r2418  
    1313}
    1414
     15WP_CLI::add_command( 'wc-misc',    'WordCamp_CLI_Miscellaneous' );
    1516WP_CLI::add_command( 'wc-rewrite', 'WordCamp_CLI_Rewrite_Rules' );
    1617WP_CLI::add_command( 'wc-rest',    'WordCamp_CLI_REST_API'      );
Note: See TracChangeset for help on using the changeset viewer.