X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/6c8f14c09105d0afa4c1574215c59b5021040e76..c55863f11e8589bf8d4a5698bf15752406654f1c:/wp-admin/index.php diff --git a/wp-admin/index.php b/wp-admin/index.php index dd429e7f..d74a45b8 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -2,14 +2,12 @@ /** * Dashboard Administration Screen * - * @internal This file should be parseable by PHP4. - * * @package WordPress * @subpackage Administration */ /** 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'); @@ -122,7 +120,17 @@ $today = current_time('mysql', 1);
- + remove_action( 'welcome_panel', 'wp_welcome_panel' ); + * + * @since 3.5.0 + */ + do_action( 'welcome_panel' ); + ?>