X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/11be15bd505d66a91e2c80062190b13e315a04a9..b925718b4bf2dd47a8429f844d0a255ca6e35bd1:/wp-admin/options-media.php diff --git a/wp-admin/options-media.php b/wp-admin/options-media.php index 8ba2371f..ec6287de 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');
@@ -85,28 +84,35 @@ include('./admin-header.php');
- -

+ +

-

+

- + - +
-

wp-content/uploads'); ?>

+

wp-content/uploads' ); +?>

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