From 7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 7 Jan 2020 13:06:14 +0100 Subject: Added wordpress --- srcs/wordpress/wp-admin/options-media.php | 156 ++++++++++++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 srcs/wordpress/wp-admin/options-media.php (limited to 'srcs/wordpress/wp-admin/options-media.php') diff --git a/srcs/wordpress/wp-admin/options-media.php b/srcs/wordpress/wp-admin/options-media.php new file mode 100644 index 0000000..4cc5e4c --- /dev/null +++ b/srcs/wordpress/wp-admin/options-media.php @@ -0,0 +1,156 @@ +' . __( 'You can set maximum sizes for images inserted into your written content; you can also insert an image as Full Size.' ) . '

'; + +if ( ! is_multisite() && ( get_option( 'upload_url_path' ) || ( get_option( 'upload_path' ) != 'wp-content/uploads' && get_option( 'upload_path' ) ) ) ) { + $media_options_help .= '

' . __( 'Uploading Files allows you to choose the folder and path for storing your uploaded files.' ) . '

'; +} + +$media_options_help .= '

' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '

'; + +get_current_screen()->add_help_tab( + array( + 'id' => 'overview', + 'title' => __( 'Overview' ), + 'content' => $media_options_help, + ) +); + +get_current_screen()->set_help_sidebar( + '

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

' . + '

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

' . + '

' . __( 'Support' ) . '

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

+ +
+ + +

+

+ + + + + + + + + + + + + + + + + + + + + +

+ + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + -- cgit