X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/61343b82c4f0da4c68e4c6373daafff4a81efdd1..fcaa67f093b5c83deea7a361a8cf8c6ac4e832d3:/wp-admin/options-media.php?ds=sidebyside diff --git a/wp-admin/options-media.php b/wp-admin/options-media.php index 8ba2371f..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');
@@ -99,14 +98,14 @@ include('./admin-header.php'); // If upload_url_path is not the default (empty), and upload_path is not the default ('wp-content/uploads' or empty) if ( get_option('upload_url_path') || ( get_option('upload_path') != 'wp-content/uploads' && get_option('upload_path') ) ) : ?> -

wp-content/uploads'); ?>

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