From a415c29efee45520ae252d2aa28f1083a521cd7b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 09:56:49 +0200 Subject: Adding upstream version 6.4.3+dfsg1. Signed-off-by: Daniel Baumann --- wp-admin/media-new.php | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 wp-admin/media-new.php (limited to 'wp-admin/media-new.php') diff --git a/wp-admin/media-new.php b/wp-admin/media-new.php new file mode 100644 index 0000000..fa50644 --- /dev/null +++ b/wp-admin/media-new.php @@ -0,0 +1,90 @@ +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 forums' ) . '

' +); + +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'; +} +?> +
+

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