WordPress.org

Making WordPress.org


Ignore:
Timestamp:
02/22/2018 06:00:50 PM (3 years ago)
Author:
iandunn
Message:

Load Other MU Plugins: Load wordcamp-shortcodes from mu-plugins-private.

It's not ready to be open-sourced yet, but moving it out of wp-content/plugins lets us switch the Meta repo to being the primary plugins folder, rather than pulling in individual externals.

File:
1 edited

Legend:

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

    r2958 r6715  
    1212 */
    1313function wcorg_include_individual_mu_plugins() {
     14    $shortcodes = dirname( __DIR__ ) . '/mu-plugins-private/wordcamp-shortcodes/wc-shortcodes.php';
     15
    1416    require_once( __DIR__ . '/wp-cli-commands/bootstrap.php' );
    1517    require_once( __DIR__ . '/camptix-tweaks/camptix-tweaks.php' );
     18
     19    if ( is_file( $shortcodes ) ) {
     20        require_once( $shortcodes );
     21    }
    1622}
    1723
Note: See TracChangeset for help on using the changeset viewer.