Make WordPress Core

Ticket #20527: sunrise-ms-files.diff

File sunrise-ms-files.diff, 1.8 KB (added by isaacchapman, 13 years ago)

Diff of wp-includes/ms-files.php and wp-admin/includes/plugin.php

  • wp-includes/ms-files.php

     
    1414if( !is_multisite() )
    1515        die( 'Multisite support not enabled' );
    1616
     17if ( defined( 'SUNRISE_MS_FILES' ) )
     18        include_once( WP_CONTENT_DIR . '/sunrise-ms-files.php' );
     19
    1720ms_file_constants();
    1821
    1922error_reporting( 0 );
  • wp-admin/includes/plugin.php

     
    414414        );
    415415
    416416        if ( is_multisite() ) {
    417                 $dropins['sunrise.php'       ] = array( __( 'Executed before Multisite is loaded.' ), 'SUNRISE' ); // SUNRISE
    418                 $dropins['blog-deleted.php'  ] = array( __( 'Custom site deleted message.'   ), true ); // auto on deleted blog
    419                 $dropins['blog-inactive.php' ] = array( __( 'Custom site inactive message.'  ), true ); // auto on inactive blog
    420                 $dropins['blog-suspended.php'] = array( __( 'Custom site suspended message.' ), true ); // auto on archived or spammed blog
     417                $dropins['sunrise.php'         ] = array( __( 'Executed before Multisite is loaded.' ), 'SUNRISE' ); // SUNRISE
     418                $dropins['sunrise-ms-files.php'] = array( __( 'Executed before Multisite files are downloaded.' ), 'SUNRISE_MS_FILES' ); // SUNRISE_MS_FILES
     419                $dropins['blog-deleted.php'    ] = array( __( 'Custom site deleted message.'   ), true ); // auto on deleted blog
     420                $dropins['blog-inactive.php'   ] = array( __( 'Custom site inactive message.'  ), true ); // auto on inactive blog
     421                $dropins['blog-suspended.php'  ] = array( __( 'Custom site suspended message.' ), true ); // auto on archived or spammed blog
    421422        }
    422423
    423424        return $dropins;