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/media-new.php | 89 +++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 srcs/wordpress/wp-admin/media-new.php (limited to 'srcs/wordpress/wp-admin/media-new.php') diff --git a/srcs/wordpress/wp-admin/media-new.php b/srcs/wordpress/wp-admin/media-new.php new file mode 100644 index 0000000..0cc82a5 --- /dev/null +++ b/srcs/wordpress/wp-admin/media-new.php @@ -0,0 +1,89 @@ +add_help_tab( + array( + 'id' => 'overview', + 'title' => __( 'Overview' ), + 'content' => + '

' . __( 'You can upload media files here without creating a post first. This allows you to upload files to use with posts and pages later and/or to get a web link for a particular file that you can share. There are three options for uploading files:' ) . '

' . + '', + ) +); +get_current_screen()->set_help_sidebar( + '

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

' . + '

' . __( 'Documentation on Uploading Media Files' ) . '

' . + '

' . __( 'Support' ) . '

' +); + +require_once( ABSPATH . 'wp-admin/admin-header.php' ); + +$form_class = 'media-upload-form type-form validate'; + +if ( get_user_setting( 'uploader' ) || isset( $_GET['browser-uploader'] ) ) { + $form_class .= ' html-uploader'; +} +?> +
+

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