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
📄abilities.php
1<?php
2/**
3 * Core Abilities registration.
4 *
5 * @package WordPress
6 * @subpackage Abilities_API
7 * @since 6.9.0
8 */
9
10declare( strict_types = 1 );
11
12/**
13 * Registers the core ability categories.
14 *
15 * @since 6.9.0
16 *
17 * @return void
18 */
19function wp_register_core_ability_categories(): void {
20 wp_register_ability_category(
21 'site',
22 array(
23 'label' => __( 'Site' ),
24 'description' => __( 'Abilities that retrieve or modify site information and settings.' ),
25 )
26 );
27
28 wp_register_ability_category(
29 'user',
30 array(
31 'label' => __( 'User' ),
32 'description' => __( 'Abilities that retrieve or modify user information and settings.' ),
33 )
34 );
35}
36
37/**
38 * Registers the default core abilities.
39 *
40 * @since 6.9.0
41 *
42 * @return void
43 */
44function wp_register_core_abilities(): void {
45 $category_site = 'site';
46 $category_user = 'user';
47
48 $site_info_properties = array(
49 'name' => array(
50 'type' => 'string',
51 'description' => __( 'The site title.' ),
52 ),
53 'description' => array(
54 'type' => 'string',
55 'description' => __( 'The site tagline.' ),
56 ),
57 'url' => array(
58 'type' => 'string',
59 'description' => __( 'The site home URL.' ),
60 ),
61 'wpurl' => array(
62 'type' => 'string',
63 'description' => __( 'The WordPress installation URL.' ),
64 ),
65 'admin_email' => array(
66 'type' => 'string',
67 'description' => __( 'The site administrator email address.' ),
68 ),
69 'charset' => array(
70 'type' => 'string',
71 'description' => __( 'The site character encoding.' ),
72 ),
73 'language' => array(
74 'type' => 'string',
75 'description' => __( 'The site language locale code.' ),
76 ),
77 'version' => array(
78 'type' => 'string',
79 'description' => __( 'The WordPress version.' ),
80 ),
81 );
82 $site_info_fields = array_keys( $site_info_properties );
83
84 wp_register_ability(
85 'core/get-site-info',
86 array(
87 'label' => __( 'Get Site Information' ),
88 'description' => __( 'Returns site information configured in WordPress. By default returns all fields, or optionally a filtered subset.' ),
89 'category' => $category_site,
90 'input_schema' => array(
91 'type' => 'object',
92 'properties' => array(
93 'fields' => array(
94 'type' => 'array',
95 'items' => array(
96 'type' => 'string',
97 'enum' => $site_info_fields,
98 ),
99 'description' => __( 'Optional: Limit response to specific fields. If omitted, all fields are returned.' ),
100 ),
101 ),
102 'additionalProperties' => false,
103 'default' => array(),
104 ),
105 'output_schema' => array(
106 'type' => 'object',
107 'properties' => $site_info_properties,
108 'additionalProperties' => false,
109 ),
110 'execute_callback' => static function ( $input = array() ) use ( $site_info_fields ): array {
111 $input = is_array( $input ) ? $input : array();
112 $requested_fields = ! empty( $input['fields'] ) ? $input['fields'] : $site_info_fields;
113
114 $result = array();
115 foreach ( $requested_fields as $field ) {
116 $result[ $field ] = get_bloginfo( $field );
117 }
118
119 return $result;
120 },
121 'permission_callback' => static function (): bool {
122 return current_user_can( 'manage_options' );
123 },
124 'meta' => array(
125 'annotations' => array(
126 'readonly' => true,
127 'destructive' => false,
128 'idempotent' => true,
129 ),
130 'show_in_rest' => true,
131 ),
132 )
133 );
134
135 wp_register_ability(
136 'core/get-user-info',
137 array(
138 'label' => __( 'Get User Information' ),
139 'description' => __( 'Returns basic profile details for the current authenticated user to support personalization, auditing, and access-aware behavior.' ),
140 'category' => $category_user,
141 'output_schema' => array(
142 'type' => 'object',
143 'required' => array( 'id', 'display_name', 'user_nicename', 'user_login', 'roles', 'locale' ),
144 'properties' => array(
145 'id' => array(
146 'type' => 'integer',
147 'description' => __( 'The user ID.' ),
148 ),
149 'display_name' => array(
150 'type' => 'string',
151 'description' => __( 'The display name of the user.' ),
152 ),
153 'user_nicename' => array(
154 'type' => 'string',
155 'description' => __( 'The URL-friendly name for the user.' ),
156 ),
157 'user_login' => array(
158 'type' => 'string',
159 'description' => __( 'The login username for the user.' ),
160 ),
161 'roles' => array(
162 'type' => 'array',
163 'description' => __( 'The roles assigned to the user.' ),
164 'items' => array(
165 'type' => 'string',
166 ),
167 ),
168 'locale' => array(
169 'type' => 'string',
170 'description' => __( 'The locale string for the user, such as en_US.' ),
171 ),
172 ),
173 'additionalProperties' => false,
174 ),
175 'execute_callback' => static function (): array {
176 $current_user = wp_get_current_user();
177
178 return array(
179 'id' => $current_user->ID,
180 'display_name' => $current_user->display_name,
181 'user_nicename' => $current_user->user_nicename,
182 'user_login' => $current_user->user_login,
183 'roles' => $current_user->roles,
184 'locale' => get_user_locale( $current_user ),
185 );
186 },
187 'permission_callback' => static function (): bool {
188 return is_user_logged_in();
189 },
190 'meta' => array(
191 'annotations' => array(
192 'readonly' => true,
193 'destructive' => false,
194 'idempotent' => true,
195 ),
196 'show_in_rest' => false,
197 ),
198 )
199 );
200
201 wp_register_ability(
202 'core/get-environment-info',
203 array(
204 'label' => __( 'Get Environment Info' ),
205 'description' => __( 'Returns core details about the site\'s runtime context for diagnostics and compatibility (environment, PHP runtime, database server info, WordPress version).' ),
206 'category' => $category_site,
207 'output_schema' => array(
208 'type' => 'object',
209 'required' => array( 'environment', 'php_version', 'db_server_info', 'wp_version' ),
210 'properties' => array(
211 'environment' => array(
212 'type' => 'string',
213 'description' => __( 'The site\'s runtime environment classification (can be one of these: production, staging, development, local).' ),
214 'enum' => array( 'production', 'staging', 'development', 'local' ),
215 ),
216 'php_version' => array(
217 'type' => 'string',
218 'description' => __( 'The PHP runtime version executing WordPress.' ),
219 ),
220 'db_server_info' => array(
221 'type' => 'string',
222 'description' => __( 'The database server vendor and version string reported by the driver.' ),
223 ),
224 'wp_version' => array(
225 'type' => 'string',
226 'description' => __( 'The WordPress core version running on this site.' ),
227 ),
228 ),
229 'additionalProperties' => false,
230 ),
231 'execute_callback' => static function (): array {
232 global $wpdb;
233
234 $env = wp_get_environment_type();
235 $php_version = phpversion();
236 $db_server_info = '';
237 if ( method_exists( $wpdb, 'db_server_info' ) ) {
238 $db_server_info = $wpdb->db_server_info() ?? '';
239 }
240 $wp_version = get_bloginfo( 'version' );
241
242 return array(
243 'environment' => $env,
244 'php_version' => $php_version,
245 'db_server_info' => $db_server_info,
246 'wp_version' => $wp_version,
247 );
248 },
249 'permission_callback' => static function (): bool {
250 return current_user_can( 'manage_options' );
251 },
252 'meta' => array(
253 'annotations' => array(
254 'readonly' => true,
255 'destructive' => false,
256 'idempotent' => true,
257 ),
258 'show_in_rest' => true,
259 ),
260 )
261 );
262}
263
Ui Ux Design – Teachers Night Out

Get in Touch

© 2024 Teachers Night Out. All Rights Reserved.