X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/6c8f14c09105d0afa4c1574215c59b5021040e76..38ac4bc40322ecdc4052db4263466573e01fa51f:/wp-admin/options-media.php diff --git a/wp-admin/options-media.php b/wp-admin/options-media.php index 71d4292c..e1a628f9 100644 --- a/wp-admin/options-media.php +++ b/wp-admin/options-media.php @@ -7,7 +7,7 @@ */ /** WordPress Administration Bootstrap */ -require_once('./admin.php'); +require_once( dirname( __FILE__ ) . '/admin.php' ); if ( ! current_user_can( 'manage_options' ) ) wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); @@ -31,26 +31,25 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

' . __('For more information:') . '

' . - '

' . __('Documentation on Media Settings') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Media Settings') . '

' . + '

' . __('Support Forums') . '

' ); -include('./admin-header.php'); +include( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-

-

-

+

+

- + - + - +
@@ -62,7 +61,7 @@ include('./admin-header.php');
@@ -72,7 +71,7 @@ include('./admin-header.php');
@@ -86,27 +85,27 @@ include('./admin-header.php');
-

+

-

+

- + - +

wp-content/uploads'); ?>

@@ -134,4 +133,4 @@ if ( get_option('upload_url_path') || ( get_option('upload_path') != 'wp-content - +