X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/a6f44f0edcda2471c5a33e4156c1c9488c7f3210..refs/tags/wordpress-3.7:/wp-admin/index.php diff --git a/wp-admin/index.php b/wp-admin/index.php index b476267c..d74a45b8 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -7,7 +7,7 @@ */ /** Load WordPress Bootstrap */ -require_once('./admin.php'); +require_once( dirname( __FILE__ ) . '/admin.php' ); /** Load WordPress dashboard API */ require_once(ABSPATH . 'wp-admin/includes/dashboard.php'); @@ -120,7 +120,17 @@ $today = current_time('mysql', 1);
- + remove_action( 'welcome_panel', 'wp_welcome_panel' ); + * + * @since 3.5.0 + */ + do_action( 'welcome_panel' ); + ?>