run:R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:52
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:52
R W Run
DIR
2026-03-11 16:18:52
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:52
R W Run
DIR
2026-03-11 16:18:52
R W Run
DIR
2026-03-11 16:18:52
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:52
R W Run
DIR
2026-03-11 16:18:52
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:52
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:52
R W Run
DIR
2026-03-11 16:18:52
R W Run
DIR
2026-03-11 16:18:52
R W Run
DIR
2026-03-11 16:18:52
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:52
R W Run
DIR
2026-03-11 16:18:52
R W Run
DIR
2026-03-11 16:18:51
R W Run
DIR
2026-03-11 16:18:51
R W Run
23.8 KB
2026-03-11 16:18:51
R W Run
7.8 KB
2026-03-11 16:18:52
R W Run
36.1 KB
2026-03-11 16:18:51
R W Run
11.9 KB
2026-03-11 16:18:52
R W Run
18.94 KB
2026-03-11 16:18:52
R W Run
7.35 KB
2026-03-11 16:18:52
R W Run
28.6 KB
2026-03-11 16:18:51
R W Run
316 By
2026-03-11 16:18:51
R W Run
12.9 KB
2026-03-11 16:18:51
R W Run
61.02 KB
2026-03-11 16:18:52
R W Run
15 KB
2026-03-11 16:18:51
R W Run
112.05 KB
2026-03-11 16:18:51
R W Run
12.47 KB
2026-03-11 16:18:51
R W Run
15.07 KB
2026-03-11 16:18:52
R W Run
9.84 KB
2026-03-11 16:18:52
R W Run
13.17 KB
2026-03-11 16:18:52
R W Run
33.83 KB
2026-03-11 16:18:51
R W Run
42.63 KB
2026-03-11 16:18:51
R W Run
55.71 KB
2026-03-11 16:18:52
R W Run
12.53 KB
2026-03-11 16:18:51
R W Run
2.55 KB
2026-03-11 16:18:52
R W Run
28.92 KB
2026-03-11 16:18:52
R W Run
539 By
2026-03-11 16:18:51
R W Run
367 By
2026-03-11 16:18:52
R W Run
42.65 KB
2026-03-11 16:18:51
R W Run
401 By
2026-03-11 16:18:51
R W Run
6.61 KB
2026-03-11 16:18:51
R W Run
664 By
2026-03-11 16:18:52
R W Run
20.63 KB
2026-03-11 16:18:51
R W Run
2.18 KB
2026-03-11 16:18:52
R W Run
453 By
2026-03-11 16:18:52
R W Run
457 By
2026-03-11 16:18:51
R W Run
36.83 KB
2026-03-11 16:18:52
R W Run
2.41 KB
2026-03-11 16:18:52
R W Run
8.28 KB
2026-03-11 16:18:51
R W Run
13.89 KB
2026-03-11 16:18:51
R W Run
11.76 KB
2026-03-11 16:18:51
R W Run
2.65 KB
2026-03-11 16:18:51
R W Run
7.43 KB
2026-03-11 16:18:51
R W Run
17.46 KB
2026-03-11 16:18:51
R W Run
5.14 KB
2026-03-11 16:18:52
R W Run
16.7 KB
2026-03-11 16:18:51
R W Run
8.28 KB
2026-03-11 16:18:52
R W Run
2.92 KB
2026-03-11 16:18:52
R W Run
1.32 KB
2026-03-11 16:18:51
R W Run
4.6 KB
2026-03-11 16:18:52
R W Run
11.62 KB
2026-03-11 16:18:52
R W Run
2.5 KB
2026-03-11 16:18:51
R W Run
1.97 KB
2026-03-11 16:18:51
R W Run
11.25 KB
2026-03-11 16:18:52
R W Run
5.32 KB
2026-03-11 16:18:51
R W Run
10.99 KB
2026-03-11 16:18:52
R W Run
68.32 KB
2026-03-11 16:18:51
R W Run
6.34 KB
2026-03-11 16:18:51
R W Run
5.49 KB
2026-03-11 16:18:51
R W Run
1.99 KB
2026-03-11 16:18:52
R W Run
7.02 KB
2026-03-11 16:18:51
R W Run
4.91 KB
2026-03-11 16:18:52
R W Run
16.86 KB
2026-03-11 16:18:51
R W Run
24.23 KB
2026-03-11 16:18:51
R W Run
3.97 KB
2026-03-11 16:18:51
R W Run
47.66 KB
2026-03-11 16:18:51
R W Run
9.22 KB
2026-03-11 16:18:51
R W Run
25.51 KB
2026-03-11 16:18:51
R W Run
198.38 KB
2026-03-11 16:18:52
R W Run
56.65 KB
2026-03-11 16:18:51
R W Run
10.46 KB
2026-03-11 16:18:51
R W Run
10.95 KB
2026-03-11 16:18:52
R W Run
29.26 KB
2026-03-11 16:18:51
R W Run
70.91 KB
2026-03-11 16:18:52
R W Run
35.3 KB
2026-03-11 16:18:52
R W Run
16.61 KB
2026-03-11 16:18:52
R W Run
2.57 KB
2026-03-11 16:18:52
R W Run
39.83 KB
2026-03-11 16:18:51
R W Run
70.64 KB
2026-03-11 16:18:51
R W Run
15.56 KB
2026-03-11 16:18:52
R W Run
7.33 KB
2026-03-11 16:18:52
R W Run
253 By
2026-03-11 16:18:51
R W Run
7.96 KB
2026-03-11 16:18:52
R W Run
3.23 KB
2026-03-11 16:18:52
R W Run
969 By
2026-03-11 16:18:52
R W Run
16.28 KB
2026-03-11 16:18:51
R W Run
7.22 KB
2026-03-11 16:18:51
R W Run
12.95 KB
2026-03-11 16:18:51
R W Run
6.53 KB
2026-03-11 16:18:51
R W Run
3.42 KB
2026-03-11 16:18:52
R W Run
5.84 KB
2026-03-11 16:18:51
R W Run
1.97 KB
2026-03-11 16:18:51
R W Run
4.3 KB
2026-03-11 16:18:52
R W Run
2.91 KB
2026-03-11 16:18:51
R W Run
16.46 KB
2026-03-11 16:18:52
R W Run
40.6 KB
2026-03-11 16:18:51
R W Run
20.22 KB
2026-03-11 16:18:51
R W Run
36.11 KB
2026-03-11 16:18:52
R W Run
17.01 KB
2026-03-11 16:18:51
R W Run
7.27 KB
2026-03-11 16:18:52
R W Run
6.62 KB
2026-03-11 16:18:52
R W Run
16.49 KB
2026-03-11 16:18:52
R W Run
1.79 KB
2026-03-11 16:18:52
R W Run
29.82 KB
2026-03-11 16:18:51
R W Run
6.67 KB
2026-03-11 16:18:52
R W Run
8.98 KB
2026-03-11 16:18:52
R W Run
19.42 KB
2026-03-11 16:18:51
R W Run
12.01 KB
2026-03-11 16:18:51
R W Run
17.11 KB
2026-03-11 16:18:51
R W Run
6.74 KB
2026-03-11 16:18:52
R W Run
30.93 KB
2026-03-11 16:18:51
R W Run
4.99 KB
2026-03-11 16:18:51
R W Run
4.25 KB
2026-03-11 16:18:51
R W Run
24.72 KB
2026-03-11 16:18:51
R W Run
29.96 KB
2026-03-11 16:18:52
R W Run
6.41 KB
2026-03-11 16:18:51
R W Run
160 KB
2026-03-11 16:18:51
R W Run
6.72 KB
2026-03-11 16:18:52
R W Run
10.92 KB
2026-03-11 16:18:51
R W Run
4.77 KB
2026-03-11 16:18:51
R W Run
3.38 KB
2026-03-11 16:18:51
R W Run
11.18 KB
2026-03-11 16:18:51
R W Run
62.19 KB
2026-03-11 16:18:51
R W Run
2.46 KB
2026-03-11 16:18:51
R W Run
9.17 KB
2026-03-11 16:18:51
R W Run
32.15 KB
2026-03-11 16:18:51
R W Run
34.05 KB
2026-03-11 16:18:52
R W Run
7.15 KB
2026-03-11 16:18:51
R W Run
3.47 KB
2026-03-11 16:18:52
R W Run
1.87 KB
2026-03-11 16:18:52
R W Run
30.91 KB
2026-03-11 16:18:51
R W Run
7.29 KB
2026-03-11 16:18:52
R W Run
7.35 KB
2026-03-11 16:18:51
R W Run
12.54 KB
2026-03-11 16:18:51
R W Run
19.12 KB
2026-03-11 16:18:51
R W Run
18.12 KB
2026-03-11 16:18:52
R W Run
39.99 KB
2026-03-11 16:18:52
R W Run
5.17 KB
2026-03-11 16:18:52
R W Run
979 By
2026-03-11 16:18:51
R W Run
18.44 KB
2026-03-11 16:18:52
R W Run
10.24 KB
2026-03-11 16:18:51
R W Run
1.77 KB
2026-03-11 16:18:52
R W Run
34.9 KB
2026-03-11 16:18:51
R W Run
7.19 KB
2026-03-11 16:18:52
R W Run
160.5 KB
2026-03-11 16:18:51
R W Run
64.27 KB
2026-03-11 16:18:51
R W Run
27.95 KB
2026-03-11 16:18:51
R W Run
4.69 KB
2026-03-11 16:18:51
R W Run
2.94 KB
2026-03-11 16:18:51
R W Run
43.13 KB
2026-03-11 16:18:52
R W Run
2.25 KB
2026-03-11 16:18:52
R W Run
22.5 KB
2026-03-11 16:18:51
R W Run
13.01 KB
2026-03-11 16:18:52
R W Run
3.27 KB
2026-03-11 16:18:51
R W Run
18 KB
2026-03-11 16:18:51
R W Run
210.4 KB
2026-03-11 16:18:52
R W Run
25.86 KB
2026-03-11 16:18:52
R W Run
115.85 KB
2026-03-11 16:18:51
R W Run
373 By
2026-03-11 16:18:52
R W Run
343 By
2026-03-11 16:18:52
R W Run
338 By
2026-03-11 16:18:51
R W Run
100.73 KB
2026-03-11 16:18:52
R W Run
130.93 KB
2026-03-11 16:18:51
R W Run
19.1 KB
2026-03-11 16:18:51
R W Run
17.41 KB
2026-03-11 16:18:52
R W Run
41.98 KB
2026-03-11 16:18:52
R W Run
400 By
2026-03-11 16:18:52
R W Run
11.1 KB
2026-03-11 16:18:52
R W Run
37.02 KB
2026-03-11 16:18:51
R W Run
2.24 KB
2026-03-11 16:18:51
R W Run
188.13 KB
2026-03-11 16:18:51
R W Run
338 By
2026-03-11 16:18:51
R W Run
38 KB
2026-03-11 16:18:51
R W Run
4.02 KB
2026-03-11 16:18:52
R W Run
5.38 KB
2026-03-11 16:18:51
R W Run
3.05 KB
2026-03-11 16:18:52
R W Run
2.61 KB
2026-03-11 16:18:51
R W Run
1.16 KB
2026-03-11 16:18:52
R W Run
4.04 KB
2026-03-11 16:18:51
R W Run
3.71 KB
2026-03-11 16:18:51
R W Run
24.6 KB
2026-03-11 16:18:51
R W Run
9.56 KB
2026-03-11 16:18:51
R W Run
346.43 KB
2026-03-11 16:18:52
R W Run
281.84 KB
2026-03-11 16:18:52
R W Run
14.95 KB
2026-03-11 16:18:51
R W Run
8.44 KB
2026-03-11 16:18:52
R W Run
168.95 KB
2026-03-11 16:18:52
R W Run
20.71 KB
2026-03-11 16:18:52
R W Run
25.27 KB
2026-03-11 16:18:51
R W Run
5.72 KB
2026-03-11 16:18:51
R W Run
4.63 KB
2026-03-11 16:18:52
R W Run
81.73 KB
2026-03-11 16:18:51
R W Run
67.18 KB
2026-03-11 16:18:51
R W Run
156.36 KB
2026-03-11 16:18:52
R W Run
55.19 KB
2026-03-11 16:18:51
R W Run
162 By
2026-03-11 16:18:51
R W Run
61.72 KB
2026-03-11 16:18:51
R W Run
216.06 KB
2026-03-11 16:18:52
R W Run
65.09 KB
2026-03-11 16:18:51
R W Run
25.24 KB
2026-03-11 16:18:52
R W Run
4.81 KB
2026-03-11 16:18:51
R W Run
6.48 KB
2026-03-11 16:18:52
R W Run
21.25 KB
2026-03-11 16:18:51
R W Run
2.79 KB
2026-03-11 16:18:52
R W Run
89.69 KB
2026-03-11 16:18:52
R W Run
19.42 KB
2026-03-11 16:18:52
R W Run
3.69 KB
2026-03-11 16:18:52
R W Run
4.11 KB
2026-03-11 16:18:51
R W Run
40.74 KB
2026-03-11 16:18:51
R W Run
25.38 KB
2026-03-11 16:18:51
R W Run
43.31 KB
2026-03-11 16:18:52
R W Run
102.57 KB
2026-03-11 16:18:52
R W Run
6.18 KB
2026-03-11 16:18:51
R W Run
124.47 KB
2026-03-11 16:18:52
R W Run
35.65 KB
2026-03-11 16:18:52
R W Run
6.94 KB
2026-03-11 16:18:52
R W Run
67.04 KB
2026-03-11 16:18:52
R W Run
10.62 KB
2026-03-11 16:18:51
R W Run
289.35 KB
2026-03-11 16:18:52
R W Run
36.23 KB
2026-03-11 16:18:51
R W Run
200 By
2026-03-11 16:18:52
R W Run
200 By
2026-03-11 16:18:52
R W Run
98.29 KB
2026-03-11 16:18:52
R W Run
30.02 KB
2026-03-11 16:18:52
R W Run
19.03 KB
2026-03-11 16:18:52
R W Run
5.06 KB
2026-03-11 16:18:52
R W Run
255 By
2026-03-11 16:18:51
R W Run
22.66 KB
2026-03-11 16:18:52
R W Run
154.63 KB
2026-03-11 16:18:51
R W Run
9.68 KB
2026-03-11 16:18:51
R W Run
258 By
2026-03-11 16:18:51
R W Run
23.49 KB
2026-03-11 16:18:51
R W Run
3.16 KB
2026-03-11 16:18:51
R W Run
8.4 KB
2026-03-11 16:18:52
R W Run
441 By
2026-03-11 16:18:51
R W Run
7.39 KB
2026-03-11 16:18:51
R W Run
173 KB
2026-03-11 16:18:52
R W Run
544 By
2026-03-11 16:18:52
R W Run
4.17 KB
2026-03-11 16:18:51
R W Run
35.97 KB
2026-03-11 16:18:52
R W Run
1.69 KB
2026-03-11 16:18:51
R W Run
2.84 KB
2026-03-11 16:18:52
R W Run
6.09 KB
2026-03-11 16:18:51
R W Run
8.71 KB
2026-03-11 16:18:51
R W Run
131.84 KB
2026-03-11 16:18:51
R W Run
37.45 KB
2026-03-11 16:18:51
R W Run
173.89 KB
2026-03-11 16:18:51
R W Run
7.09 KB
2026-03-11 16:18:51
R W Run
6.41 KB
2026-03-11 16:18:51
R W Run
1.08 KB
2026-03-11 16:18:51
R W Run
69.46 KB
2026-03-11 16:18:52
R W Run
445 By
2026-03-11 16:18:51
R W Run
799 By
2026-03-11 16:18:52
R W Run
error_log
📄class-wp-dependencies.php
1<?php
2/**
3 * Dependencies API: WP_Dependencies base class
4 *
5 * @since 2.6.0
6 *
7 * @package WordPress
8 * @subpackage Dependencies
9 */
10
11/**
12 * Core base class extended to register items.
13 *
14 * @since 2.6.0
15 *
16 * @see _WP_Dependency
17 */
18#[AllowDynamicProperties]
19class WP_Dependencies {
20 /**
21 * An array of all registered dependencies keyed by handle.
22 *
23 * @since 2.6.8
24 *
25 * @var _WP_Dependency[]
26 */
27 public $registered = array();
28
29 /**
30 * An array of handles of queued dependencies.
31 *
32 * @since 2.6.8
33 *
34 * @var string[]
35 */
36 public $queue = array();
37
38 /**
39 * An array of handles of dependencies to queue.
40 *
41 * @since 2.6.0
42 *
43 * @var string[]
44 */
45 public $to_do = array();
46
47 /**
48 * An array of handles of dependencies already queued.
49 *
50 * @since 2.6.0
51 *
52 * @var string[]
53 */
54 public $done = array();
55
56 /**
57 * An array of additional arguments passed when a handle is registered.
58 *
59 * Arguments are appended to the item query string.
60 *
61 * @since 2.6.0
62 *
63 * @var array
64 */
65 public $args = array();
66
67 /**
68 * An array of dependency groups to enqueue.
69 *
70 * Each entry is keyed by handle and represents the integer group level or boolean
71 * false if the handle has no group.
72 *
73 * @since 2.8.0
74 *
75 * @var (int|false)[]
76 */
77 public $groups = array();
78
79 /**
80 * A handle group to enqueue.
81 *
82 * @since 2.8.0
83 *
84 * @deprecated 4.5.0
85 * @var int
86 */
87 public $group = 0;
88
89 /**
90 * Cached lookup array of flattened queued items and dependencies.
91 *
92 * @since 5.4.0
93 *
94 * @var array
95 */
96 private $all_queued_deps;
97
98 /**
99 * List of assets enqueued before details were registered.
100 *
101 * @since 5.9.0
102 *
103 * @var array
104 */
105 private $queued_before_register = array();
106
107 /**
108 * List of handles for dependencies encountered which themselves have missing dependencies.
109 *
110 * A dependency handle is added to this list when it is discovered to have missing dependencies. At this time, a
111 * warning is emitted with {@see _doing_it_wrong()}. The handle is then added to this list, so that duplicate
112 * warnings don't occur.
113 *
114 * @since 6.9.1
115 * @var string[]
116 */
117 private $dependencies_with_missing_dependencies = array();
118
119 /**
120 * Processes the items and dependencies.
121 *
122 * Processes the items passed to it or the queue, and their dependencies.
123 *
124 * @since 2.6.0
125 * @since 2.8.0 Added the `$group` parameter.
126 *
127 * @param string|string[]|false $handles Optional. Items to be processed: queue (false),
128 * single item (string), or multiple items (array of strings).
129 * Default false.
130 * @param int|false $group Optional. Group level: level (int), no group (false).
131 * @return string[] Array of handles of items that have been processed.
132 */
133 public function do_items( $handles = false, $group = false ) {
134 /*
135 * If nothing is passed, print the queue. If a string is passed,
136 * print that item. If an array is passed, print those items.
137 */
138 $handles = false === $handles ? $this->queue : (array) $handles;
139 $this->all_deps( $handles );
140
141 foreach ( $this->to_do as $key => $handle ) {
142 if ( ! in_array( $handle, $this->done, true ) && isset( $this->registered[ $handle ] ) ) {
143 /*
144 * Attempt to process the item. If successful,
145 * add the handle to the done array.
146 *
147 * Unset the item from the to_do array.
148 */
149 if ( $this->do_item( $handle, $group ) ) {
150 $this->done[] = $handle;
151 }
152
153 unset( $this->to_do[ $key ] );
154 }
155 }
156
157 return $this->done;
158 }
159
160 /**
161 * Processes a dependency.
162 *
163 * @since 2.6.0
164 * @since 5.5.0 Added the `$group` parameter.
165 *
166 * @param string $handle Name of the item. Should be unique.
167 * @param int|false $group Optional. Group level: level (int), no group (false).
168 * Default false.
169 * @return bool True on success, false if not set.
170 */
171 public function do_item( $handle, $group = false ) {
172 return isset( $this->registered[ $handle ] );
173 }
174
175 /**
176 * Determines dependencies.
177 *
178 * Recursively builds an array of items to process taking
179 * dependencies into account. Does NOT catch infinite loops.
180 *
181 * @since 2.1.0
182 * @since 2.6.0 Moved from `WP_Scripts`.
183 * @since 2.8.0 Added the `$group` parameter.
184 *
185 * @param string|string[] $handles Item handle (string) or item handles (array of strings).
186 * @param bool $recursion Optional. Internal flag that function is calling itself.
187 * Default false.
188 * @param int|false $group Optional. Group level: level (int), no group (false).
189 * Default false.
190 * @return bool True on success, false on failure.
191 */
192 public function all_deps( $handles, $recursion = false, $group = false ) {
193 $handles = (array) $handles;
194 if ( ! $handles ) {
195 return false;
196 }
197
198 foreach ( $handles as $handle ) {
199 $handle_parts = explode( '?', $handle );
200 $handle = $handle_parts[0];
201 $queued = in_array( $handle, $this->to_do, true );
202
203 if ( in_array( $handle, $this->done, true ) ) { // Already done.
204 continue;
205 }
206
207 $moved = $this->set_group( $handle, $recursion, $group );
208 $new_group = $this->groups[ $handle ];
209
210 if ( $queued && ! $moved ) { // Already queued and in the right group.
211 continue;
212 }
213
214 $keep_going = true;
215 $missing_dependencies = array();
216 if ( isset( $this->registered[ $handle ] ) && count( $this->registered[ $handle ]->deps ) > 0 ) {
217 $missing_dependencies = array_diff( $this->registered[ $handle ]->deps, array_keys( $this->registered ) );
218 }
219 if ( ! isset( $this->registered[ $handle ] ) ) {
220 $keep_going = false; // Item doesn't exist.
221 } elseif ( count( $missing_dependencies ) > 0 ) {
222 if ( ! in_array( $handle, $this->dependencies_with_missing_dependencies, true ) ) {
223 _doing_it_wrong(
224 get_class( $this ) . '::add',
225 $this->get_dependency_warning_message( $handle, $missing_dependencies ),
226 '6.9.1'
227 );
228 $this->dependencies_with_missing_dependencies[] = $handle;
229 }
230 $keep_going = false; // Item requires dependencies that don't exist.
231 } elseif ( $this->registered[ $handle ]->deps && ! $this->all_deps( $this->registered[ $handle ]->deps, true, $new_group ) ) {
232 $keep_going = false; // Item requires dependencies that don't exist.
233 }
234
235 if ( ! $keep_going ) { // Either item or its dependencies don't exist.
236 if ( $recursion ) {
237 return false; // Abort this branch.
238 } else {
239 continue; // We're at the top level. Move on to the next one.
240 }
241 }
242
243 if ( $queued ) { // Already grabbed it and its dependencies.
244 continue;
245 }
246
247 if ( isset( $handle_parts[1] ) ) {
248 $this->args[ $handle ] = $handle_parts[1];
249 }
250
251 $this->to_do[] = $handle;
252 }
253
254 return true;
255 }
256
257 /**
258 * Register an item.
259 *
260 * Registers the item if no item of that name already exists.
261 *
262 * @since 2.1.0
263 * @since 2.6.0 Moved from `WP_Scripts`.
264 *
265 * @param string $handle Name of the item. Should be unique.
266 * @param string|false $src Full URL of the item, or path of the item relative
267 * to the WordPress root directory. If source is set to false,
268 * the item is an alias of other items it depends on.
269 * @param string[] $deps Optional. An array of registered item handles this item depends on.
270 * Default empty array.
271 * @param string|bool|null $ver Optional. String specifying item version number, if it has one,
272 * which is added to the URL as a query string for cache busting purposes.
273 * If version is set to false, a version number is automatically added
274 * equal to current installed WordPress version.
275 * If set to null, no version is added.
276 * @param mixed $args Optional. Custom property of the item. NOT the class property $args.
277 * Examples: $media, $in_footer.
278 * @return bool Whether the item has been registered. True on success, false on failure.
279 */
280 public function add( $handle, $src, $deps = array(), $ver = false, $args = null ) {
281 if ( isset( $this->registered[ $handle ] ) ) {
282 return false;
283 }
284 $this->registered[ $handle ] = new _WP_Dependency( $handle, $src, $deps, $ver, $args );
285
286 // If the item was enqueued before the details were registered, enqueue it now.
287 if ( array_key_exists( $handle, $this->queued_before_register ) ) {
288 if ( ! is_null( $this->queued_before_register[ $handle ] ) ) {
289 $this->enqueue( $handle . '?' . $this->queued_before_register[ $handle ] );
290 } else {
291 $this->enqueue( $handle );
292 }
293
294 unset( $this->queued_before_register[ $handle ] );
295 }
296
297 return true;
298 }
299
300 /**
301 * Add extra item data.
302 *
303 * Adds data to a registered item.
304 *
305 * @since 2.6.0
306 *
307 * @param string $handle Name of the item. Should be unique.
308 * @param string $key The data key.
309 * @param mixed $value The data value.
310 * @return bool True on success, false on failure.
311 */
312 public function add_data( $handle, $key, $value ) {
313 if ( ! isset( $this->registered[ $handle ] ) ) {
314 return false;
315 }
316 if ( 'conditional' === $key && '_required-conditional-dependency_' !== $value ) {
317 _deprecated_argument(
318 'WP_Dependencies->add_data()',
319 '6.9.0',
320 __( 'IE conditional comments are ignored by all supported browsers.' )
321 );
322 }
323
324 return $this->registered[ $handle ]->add_data( $key, $value );
325 }
326
327 /**
328 * Get extra item data.
329 *
330 * Gets data associated with a registered item.
331 *
332 * @since 3.3.0
333 *
334 * @param string $handle Name of the item. Should be unique.
335 * @param string $key The data key.
336 * @return mixed Extra item data (string), false otherwise.
337 */
338 public function get_data( $handle, $key ) {
339 if ( ! isset( $this->registered[ $handle ] ) ) {
340 return false;
341 }
342
343 if ( ! isset( $this->registered[ $handle ]->extra[ $key ] ) ) {
344 return false;
345 }
346
347 return $this->registered[ $handle ]->extra[ $key ];
348 }
349
350 /**
351 * Un-register an item or items.
352 *
353 * @since 2.1.0
354 * @since 2.6.0 Moved from `WP_Scripts`.
355 *
356 * @param string|string[] $handles Item handle (string) or item handles (array of strings).
357 */
358 public function remove( $handles ) {
359 foreach ( (array) $handles as $handle ) {
360 unset( $this->registered[ $handle ] );
361 }
362 }
363
364 /**
365 * Queue an item or items.
366 *
367 * Decodes handles and arguments, then queues handles and stores
368 * arguments in the class property $args. For example in extending
369 * classes, $args is appended to the item url as a query string.
370 * Note $args is NOT the $args property of items in the $registered array.
371 *
372 * @since 2.1.0
373 * @since 2.6.0 Moved from `WP_Scripts`.
374 *
375 * @param string|string[] $handles Item handle (string) or item handles (array of strings).
376 */
377 public function enqueue( $handles ) {
378 foreach ( (array) $handles as $handle ) {
379 $handle = explode( '?', $handle );
380
381 if ( ! in_array( $handle[0], $this->queue, true ) && isset( $this->registered[ $handle[0] ] ) ) {
382 $this->queue[] = $handle[0];
383
384 // Reset all dependencies so they must be recalculated in recurse_deps().
385 $this->all_queued_deps = null;
386
387 if ( isset( $handle[1] ) ) {
388 $this->args[ $handle[0] ] = $handle[1];
389 }
390 } elseif ( ! isset( $this->registered[ $handle[0] ] ) ) {
391 $this->queued_before_register[ $handle[0] ] = null; // $args
392
393 if ( isset( $handle[1] ) ) {
394 $this->queued_before_register[ $handle[0] ] = $handle[1];
395 }
396 }
397 }
398 }
399
400 /**
401 * Dequeue an item or items.
402 *
403 * Decodes handles and arguments, then dequeues handles
404 * and removes arguments from the class property $args.
405 *
406 * @since 2.1.0
407 * @since 2.6.0 Moved from `WP_Scripts`.
408 *
409 * @param string|string[] $handles Item handle (string) or item handles (array of strings).
410 */
411 public function dequeue( $handles ) {
412 foreach ( (array) $handles as $handle ) {
413 $handle = explode( '?', $handle );
414 $key = array_search( $handle[0], $this->queue, true );
415
416 if ( false !== $key ) {
417 // Reset all dependencies so they must be recalculated in recurse_deps().
418 $this->all_queued_deps = null;
419
420 unset( $this->queue[ $key ] );
421 unset( $this->args[ $handle[0] ] );
422 } elseif ( array_key_exists( $handle[0], $this->queued_before_register ) ) {
423 unset( $this->queued_before_register[ $handle[0] ] );
424 }
425 }
426 }
427
428 /**
429 * Recursively search the passed dependency tree for a handle.
430 *
431 * @since 4.0.0
432 *
433 * @param string[] $queue An array of queued _WP_Dependency handles.
434 * @param string $handle Name of the item. Should be unique.
435 * @return bool Whether the handle is found after recursively searching the dependency tree.
436 */
437 protected function recurse_deps( $queue, $handle ) {
438 if ( isset( $this->all_queued_deps ) ) {
439 return isset( $this->all_queued_deps[ $handle ] );
440 }
441
442 $all_deps = array_fill_keys( $queue, true );
443 $queues = array();
444 $done = array();
445
446 while ( $queue ) {
447 foreach ( $queue as $queued ) {
448 if ( ! isset( $done[ $queued ] ) && isset( $this->registered[ $queued ] ) ) {
449 $deps = $this->registered[ $queued ]->deps;
450 if ( $deps ) {
451 $all_deps += array_fill_keys( $deps, true );
452 array_push( $queues, $deps );
453 }
454 $done[ $queued ] = true;
455 }
456 }
457 $queue = array_pop( $queues );
458 }
459
460 $this->all_queued_deps = $all_deps;
461
462 return isset( $this->all_queued_deps[ $handle ] );
463 }
464
465 /**
466 * Query the list for an item.
467 *
468 * @since 2.1.0
469 * @since 2.6.0 Moved from `WP_Scripts`.
470 *
471 * @param string $handle Name of the item. Should be unique.
472 * @param string $status Optional. Status of the item to query. Default 'registered'.
473 * @return bool|_WP_Dependency Found, or object Item data.
474 */
475 public function query( $handle, $status = 'registered' ) {
476 switch ( $status ) {
477 case 'registered':
478 case 'scripts': // Back compat.
479 if ( isset( $this->registered[ $handle ] ) ) {
480 return $this->registered[ $handle ];
481 }
482 return false;
483
484 case 'enqueued':
485 case 'queue': // Back compat.
486 if ( in_array( $handle, $this->queue, true ) ) {
487 return true;
488 }
489 return $this->recurse_deps( $this->queue, $handle );
490
491 case 'to_do':
492 case 'to_print': // Back compat.
493 return in_array( $handle, $this->to_do, true );
494
495 case 'done':
496 case 'printed': // Back compat.
497 return in_array( $handle, $this->done, true );
498 }
499
500 return false;
501 }
502
503 /**
504 * Set item group, unless already in a lower group.
505 *
506 * @since 2.8.0
507 *
508 * @param string $handle Name of the item. Should be unique.
509 * @param bool $recursion Internal flag that calling function was called recursively.
510 * @param int|false $group Group level: level (int), no group (false).
511 * @return bool Not already in the group or a lower group.
512 */
513 public function set_group( $handle, $recursion, $group ) {
514 $group = (int) $group;
515
516 if ( isset( $this->groups[ $handle ] ) && $this->groups[ $handle ] <= $group ) {
517 return false;
518 }
519
520 $this->groups[ $handle ] = $group;
521
522 return true;
523 }
524
525 /**
526 * Get etag header for cache validation.
527 *
528 * @since 6.7.0
529 *
530 * @global string $wp_version The WordPress version string.
531 *
532 * @param string[] $load Array of script or style handles to load.
533 * @return string Etag header.
534 */
535 public function get_etag( $load ) {
536 /*
537 * Note: wp_get_wp_version() is not used here, as this file can be included
538 * via wp-admin/load-scripts.php or wp-admin/load-styles.php, in which case
539 * wp-includes/functions.php is not loaded.
540 */
541 global $wp_version;
542
543 $etag = "WP:{$wp_version};";
544
545 foreach ( $load as $handle ) {
546 if ( ! array_key_exists( $handle, $this->registered ) ) {
547 continue;
548 }
549
550 $ver = $this->registered[ $handle ]->ver ?? $wp_version;
551 $etag .= "{$handle}:{$ver};";
552 }
553
554 /*
555 * This is not intended to be cryptographically secure, just a fast way to get
556 * a fixed length string based on the script versions. As this file does not
557 * load the full WordPress environment, it is not possible to use the salted
558 * wp_hash() function.
559 */
560 return 'W/"' . md5( $etag ) . '"';
561 }
562
563 /**
564 * Gets a dependency warning message for a handle.
565 *
566 * @since 6.9.1
567 *
568 * @param string $handle Handle with missing dependencies.
569 * @param string[] $missing_dependency_handles Missing dependency handles.
570 * @return string Formatted, localized warning message.
571 */
572 protected function get_dependency_warning_message( $handle, $missing_dependency_handles ) {
573 return sprintf(
574 /* translators: 1: Handle, 2: List of missing dependency handles. */
575 __( 'The handle "%1$s" was enqueued with dependencies that are not registered: %2$s.' ),
576 $handle,
577 implode( wp_get_list_item_separator(), $missing_dependency_handles )
578 );
579 }
580}
581
Ui Ux Design – Teachers Night Out https://cardgames4educators.com Wed, 16 Oct 2024 22:24:18 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.4 https://cardgames4educators.com/wp-content/uploads/2024/06/cropped-Card-4-Educators-logo-32x32.png Ui Ux Design – Teachers Night Out https://cardgames4educators.com 32 32 Masters In English How English Speaker https://cardgames4educators.com/masters-in-english-how-english-speaker/ https://cardgames4educators.com/masters-in-english-how-english-speaker/#comments Mon, 27 May 2024 08:54:45 +0000 https://themexriver.com/wp/kadu/?p=1

Erat himenaeos neque id sagittis massa. Hac suscipit pulvinar dignissim platea magnis eu. Don tellus a pharetra inceptos efficitur dui pulvinar. Feugiat facilisis penatibus pulvinar nunc dictumst donec odio platea habitasse. Lacus porta dolor purus elit ante bibendum tortor netus taciti nullam cubilia. Erat per suspendisse placerat morbi egestas pulvinar bibendum sollicitudin nec. Euismod cubilia eleifend velit himenaeos sodales lectus. Leo maximus cras ac porttitor aliquam torquent pulvinar odio volutpat parturient. Quisque risus finibus suspendisse mus purus magnis facilisi condimentum consectetur dui. Curae elit suspendisse cursus vehicula.

Turpis taciti class non vel pretium quis pulvinar tempor lobortis nunc. Libero phasellus parturient sapien volutpat malesuada ornare. Cubilia dignissim sollicitudin rhoncus lacinia maximus. Cras lorem fermentum bibendum pellentesque nisl etiam ligula enim cubilia. Vulputate pede sapien torquent montes tempus malesuada in mattis dis turpis vitae. Porta est tempor ex eget feugiat vulputate ipsum. Justo nec iaculis habitant diam arcu fermentum.

We offer comprehen sive emplo ment services such as assistance wit employer compliance.Our company is your strategic HR partner as instead of HR. john smithson

Cubilia dignissim sollicitudin rhoncus lacinia maximus. Cras lorem fermentum bibendum pellentesque nisl etiam ligula enim cubilia. Vulputate pede sapien torquent montes tempus malesuada in mattis dis turpis vitae.

Exploring Learning Landscapes in Academic

Feugiat facilisis penatibus pulvinar nunc dictumst donec odio platea habitasse. Lacus porta dolor purus elit ante bibendum tortor netus taciti nullam cubilia. Erat per suspendisse placerat morbi egestas pulvinar bibendum sollicitudin nec. Euismod cubilia eleifend velit himenaeos sodales lectus. Leo maximus cras ac porttitor aliquam torquent.

]]>
https://cardgames4educators.com/masters-in-english-how-english-speaker/feed/ 1