run:R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
17.74 KB
2026-03-11 16:18:51
R W Run
5.03 KB
2026-03-11 16:18:51
R W Run
2.77 KB
2026-03-11 16:18:51
R W Run
479 By
2026-03-11 16:18:51
R W Run
9.12 KB
2026-03-11 16:18:51
R W Run
1.97 KB
2026-03-11 16:18:51
R W Run
12.35 KB
2026-03-11 16:18:51
R W Run
5.47 KB
2026-03-11 16:18:51
R W Run
10.09 KB
2026-03-11 16:18:51
R W Run
11.35 KB
2026-03-11 16:18:51
R W Run
5.86 KB
2026-03-11 16:18:51
R W Run
4.38 KB
2026-03-11 16:18:51
R W Run
489 By
2026-03-11 16:18:51
R W Run
499 By
2026-03-11 16:18:51
R W Run
11.01 KB
2026-03-11 16:18:51
R W Run
14.38 KB
2026-03-11 16:18:51
R W Run
28.83 KB
2026-03-11 16:18:51
R W Run
14.6 KB
2026-03-11 16:18:51
R W Run
8.34 KB
2026-03-11 16:18:51
R W Run
6.21 KB
2026-03-11 16:18:51
R W Run
10.44 KB
2026-03-11 16:18:51
R W Run
22 KB
2026-03-11 16:18:51
R W Run
19.48 KB
2026-03-11 16:18:51
R W Run
7.33 KB
2026-03-11 16:18:51
R W Run
7.75 KB
2026-03-11 16:18:51
R W Run
11.02 KB
2026-03-11 16:18:51
R W Run
4.8 KB
2026-03-11 16:18:51
R W Run
7.58 KB
2026-03-11 16:18:51
R W Run
7.68 KB
2026-03-11 16:18:51
R W Run
6.8 KB
2026-03-11 16:18:51
R W Run
17.77 KB
2026-03-11 16:18:51
R W Run
934 By
2026-03-11 16:18:51
R W Run
4.26 KB
2026-03-11 16:18:51
R W Run
2.72 KB
2026-03-11 16:18:51
R W Run
2.89 KB
2026-03-11 16:18:51
R W Run
2.02 KB
2026-03-11 16:18:51
R W Run
2.92 KB
2026-03-11 16:18:51
R W Run
3.2 KB
2026-03-11 16:18:51
R W Run
3.58 KB
2026-03-11 16:18:51
R W Run
819 By
2026-03-11 16:18:51
R W Run
9.82 KB
2026-03-11 16:18:51
R W Run
17.46 KB
2026-03-11 16:18:51
R W Run
307 By
2026-03-11 16:18:51
R W Run
196 By
2026-03-11 16:18:51
R W Run
4.5 KB
2026-03-11 16:18:51
R W Run
216 By
2026-03-11 16:18:51
R W Run
229 By
2026-03-11 16:18:51
R W Run
215 By
2026-03-11 16:18:51
R W Run
217 By
2026-03-11 16:18:51
R W Run
219 By
2026-03-11 16:18:51
R W Run
215 By
2026-03-11 16:18:51
R W Run
4.74 KB
2026-03-11 16:18:51
R W Run
48.19 KB
2026-03-11 16:18:51
R W Run
5.39 KB
2026-03-11 16:18:51
R W Run
15.92 KB
2026-03-11 16:18:51
R W Run
21.65 KB
2026-03-11 16:18:51
R W Run
621 By
2026-03-11 16:18:51
R W Run
6.38 KB
2026-03-11 16:18:51
R W Run
21.22 KB
2026-03-11 16:18:51
R W Run
9.95 KB
2026-03-11 16:18:51
R W Run
9.94 KB
2026-03-11 16:18:51
R W Run
9.1 KB
2026-03-11 16:18:51
R W Run
13.6 KB
2026-03-11 16:18:51
R W Run
13.75 KB
2026-03-11 16:18:51
R W Run
6.96 KB
2026-03-11 16:18:51
R W Run
30 KB
2026-03-11 16:18:51
R W Run
2.7 KB
2026-03-11 16:18:51
R W Run
10.03 KB
2026-03-11 16:18:51
R W Run
2.34 KB
2026-03-11 16:18:51
R W Run
3.67 KB
2026-03-11 16:18:51
R W Run
2.79 KB
2026-03-11 16:18:51
R W Run
283 By
2026-03-11 16:18:51
R W Run
5.7 KB
2026-03-11 16:18:51
R W Run
17.48 KB
2026-03-11 16:18:51
R W Run
11.98 KB
2026-03-11 16:18:51
R W Run
3.99 KB
2026-03-11 16:18:51
R W Run
10.2 KB
2026-03-11 16:18:51
R W Run
2.2 KB
2026-03-11 16:18:51
R W Run
16.87 KB
2026-03-11 16:18:51
R W Run
23.38 KB
2026-03-11 16:18:51
R W Run
47.92 KB
2026-03-11 16:18:51
R W Run
3.43 KB
2026-03-11 16:18:51
R W Run
45.45 KB
2026-03-11 16:18:51
R W Run
12.79 KB
2026-03-11 16:18:51
R W Run
341 By
2026-03-11 16:18:51
R W Run
6.27 KB
2026-03-11 16:18:51
R W Run
14.9 KB
2026-03-11 16:18:51
R W Run
40.36 KB
2026-03-11 16:18:51
R W Run
24.05 KB
2026-03-11 16:18:51
R W Run
23.29 KB
2026-03-11 16:18:51
R W Run
5.12 KB
2026-03-11 16:18:51
R W Run
19.29 KB
2026-03-11 16:18:51
R W Run
1.09 KB
2026-03-11 16:18:51
R W Run
error_log
📄media-upload.php
1<?php
2/**
3 * Manage media uploaded file.
4 *
5 * There are many filters in here for media. Plugins can extend functionality
6 * by hooking into the filters.
7 *
8 * @package WordPress
9 * @subpackage Administration
10 */
11
12if ( ! isset( $_GET['inline'] ) ) {
13 define( 'IFRAME_REQUEST', true );
14}
15
16/** Load WordPress Administration Bootstrap */
17require_once __DIR__ . '/admin.php';
18
19if ( ! current_user_can( 'upload_files' ) ) {
20 wp_die( __( 'Sorry, you are not allowed to upload files.' ), 403 );
21}
22
23wp_enqueue_script( 'plupload-handlers' );
24wp_enqueue_script( 'image-edit' );
25wp_enqueue_script( 'set-post-thumbnail' );
26wp_enqueue_style( 'imgareaselect' );
27wp_enqueue_script( 'media-gallery' );
28
29header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
30
31// IDs should be integers.
32$ID = isset( $ID ) ? (int) $ID : 0; // phpcs:ignore WordPress.NamingConventions.ValidVariableName
33$post_id = isset( $post_id ) ? (int) $post_id : 0;
34
35// Require an ID for the edit screen.
36if ( isset( $action ) && 'edit' === $action && ! $ID ) { // phpcs:ignore WordPress.NamingConventions.ValidVariableName
37 wp_die(
38 '<h1>' . __( 'An error occurred during the upload process.' ) . '</h1>' .
39 '<p>' . __( 'Invalid item ID. You can view all media items in the <a href="upload.php">Media Library</a>.' ) . '</p>',
40 403
41 );
42}
43
44if ( ! empty( $_REQUEST['post_id'] ) && ! current_user_can( 'edit_post', $_REQUEST['post_id'] ) ) {
45 wp_die(
46 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
47 '<p>' . __( 'Sorry, you are not allowed to edit this item.' ) . '</p>',
48 403
49 );
50}
51
52// Upload type: image, video, file, ...?
53if ( isset( $_GET['type'] ) ) {
54 $type = (string) $_GET['type'];
55} else {
56 /**
57 * Filters the default media upload type in the legacy (pre-3.5.0) media popup.
58 *
59 * @since 2.5.0
60 *
61 * @param string $type The default media upload type. Possible values include
62 * 'image', 'audio', 'video', 'file', etc. Default 'file'.
63 */
64 $type = apply_filters( 'media_upload_default_type', 'file' );
65}
66
67// Tab: gallery, library, or type-specific.
68if ( isset( $_GET['tab'] ) ) {
69 $tab = (string) $_GET['tab'];
70} else {
71 /**
72 * Filters the default tab in the legacy (pre-3.5.0) media popup.
73 *
74 * @since 2.5.0
75 *
76 * @param string $tab The default media popup tab. Default 'type' (From Computer).
77 */
78 $tab = apply_filters( 'media_upload_default_tab', 'type' );
79}
80
81$body_id = 'media-upload';
82
83// Let the action code decide how to handle the request.
84if ( 'type' === $tab || 'type_url' === $tab || ! array_key_exists( $tab, media_upload_tabs() ) ) {
85 /**
86 * Fires inside specific upload-type views in the legacy (pre-3.5.0)
87 * media popup based on the current tab.
88 *
89 * The dynamic portion of the hook name, `$type`, refers to the specific
90 * media upload type.
91 *
92 * The hook only fires if the current `$tab` is 'type' (From Computer),
93 * 'type_url' (From URL), or, if the tab does not exist (i.e., has not
94 * been registered via the {@see 'media_upload_tabs'} filter.
95 *
96 * Possible hook names include:
97 *
98 * - `media_upload_audio`
99 * - `media_upload_file`
100 * - `media_upload_image`
101 * - `media_upload_video`
102 *
103 * @since 2.5.0
104 */
105 do_action( "media_upload_{$type}" );
106} else {
107 /**
108 * Fires inside limited and specific upload-tab views in the legacy
109 * (pre-3.5.0) media popup.
110 *
111 * The dynamic portion of the hook name, `$tab`, refers to the specific
112 * media upload tab. Possible values include 'library' (Media Library),
113 * or any custom tab registered via the {@see 'media_upload_tabs'} filter.
114 *
115 * @since 2.5.0
116 */
117 do_action( "media_upload_{$tab}" );
118}
119
Ui Ux Design – Teachers Night Out

Get in Touch

© 2024 Teachers Night Out. All Rights Reserved.