run:R W Run
7.85 KB
2026-03-11 16:18:51
R W Run
3.54 KB
2026-03-11 16:18:51
R W Run
148.33 KB
2026-03-11 16:18:51
R W Run
11.45 KB
2026-03-11 16:18:51
R W Run
3.58 KB
2026-03-11 16:18:51
R W Run
2.53 KB
2026-03-11 16:18:51
R W Run
2.6 KB
2026-03-11 16:18:51
R W Run
6.59 KB
2026-03-11 16:18:51
R W Run
14.83 KB
2026-03-11 16:18:51
R W Run
21.18 KB
2026-03-11 16:18:51
R W Run
48.13 KB
2026-03-11 16:18:51
R W Run
4.07 KB
2026-03-11 16:18:51
R W Run
5.3 KB
2026-03-11 16:18:51
R W Run
8.28 KB
2026-03-11 16:18:51
R W Run
26.73 KB
2026-03-11 16:18:51
R W Run
2.8 KB
2026-03-11 16:18:51
R W Run
15.2 KB
2026-03-11 16:18:51
R W Run
192.08 KB
2026-03-11 16:18:51
R W Run
11.77 KB
2026-03-11 16:18:51
R W Run
3.2 KB
2026-03-11 16:18:51
R W Run
22.89 KB
2026-03-11 16:18:51
R W Run
12.77 KB
2026-03-11 16:18:51
R W Run
4.08 KB
2026-03-11 16:18:51
R W Run
26.27 KB
2026-03-11 16:18:51
R W Run
4.97 KB
2026-03-11 16:18:51
R W Run
5.57 KB
2026-03-11 16:18:51
R W Run
13.93 KB
2026-03-11 16:18:51
R W Run
4.09 KB
2026-03-11 16:18:51
R W Run
6.79 KB
2026-03-11 16:18:51
R W Run
60.45 KB
2026-03-11 16:18:51
R W Run
32.4 KB
2026-03-11 16:18:51
R W Run
18.24 KB
2026-03-11 16:18:51
R W Run
66.01 KB
2026-03-11 16:18:51
R W Run
23.84 KB
2026-03-11 16:18:51
R W Run
17.72 KB
2026-03-11 16:18:51
R W Run
22.71 KB
2026-03-11 16:18:51
R W Run
18.05 KB
2026-03-11 16:18:51
R W Run
22.76 KB
2026-03-11 16:18:51
R W Run
7.34 KB
2026-03-11 16:18:51
R W Run
4.51 KB
2026-03-11 16:18:51
R W Run
9.02 KB
2026-03-11 16:18:51
R W Run
1.46 KB
2026-03-11 16:18:51
R W Run
51.76 KB
2026-03-11 16:18:51
R W Run
25.29 KB
2026-03-11 16:18:51
R W Run
21.61 KB
2026-03-11 16:18:51
R W Run
27.77 KB
2026-03-11 16:18:51
R W Run
15.35 KB
2026-03-11 16:18:51
R W Run
24.54 KB
2026-03-11 16:18:51
R W Run
56.44 KB
2026-03-11 16:18:51
R W Run
1.42 KB
2026-03-11 16:18:51
R W Run
63.66 KB
2026-03-11 16:18:51
R W Run
31.9 KB
2026-03-11 16:18:51
R W Run
14.44 KB
2026-03-11 16:18:51
R W Run
36.47 KB
2026-03-11 16:18:51
R W Run
14 KB
2026-03-11 16:18:51
R W Run
121.89 KB
2026-03-11 16:18:51
R W Run
6.26 KB
2026-03-11 16:18:51
R W Run
20.73 KB
2026-03-11 16:18:51
R W Run
15.23 KB
2026-03-11 16:18:51
R W Run
10.14 KB
2026-03-11 16:18:51
R W Run
6.94 KB
2026-03-11 16:18:51
R W Run
1.44 KB
2026-03-11 16:18:51
R W Run
46.85 KB
2026-03-11 16:18:51
R W Run
18.61 KB
2026-03-11 16:18:51
R W Run
6.08 KB
2026-03-11 16:18:51
R W Run
20.06 KB
2026-03-11 16:18:51
R W Run
5.73 KB
2026-03-11 16:18:51
R W Run
68.18 KB
2026-03-11 16:18:51
R W Run
40.8 KB
2026-03-11 16:18:51
R W Run
1.44 KB
2026-03-11 16:18:51
R W Run
25.26 KB
2026-03-11 16:18:51
R W Run
95.94 KB
2026-03-11 16:18:51
R W Run
43.12 KB
2026-03-11 16:18:51
R W Run
41.73 KB
2026-03-11 16:18:51
R W Run
6.46 KB
2026-03-11 16:18:51
R W Run
3.71 KB
2026-03-11 16:18:51
R W Run
116.31 KB
2026-03-11 16:18:51
R W Run
9.39 KB
2026-03-11 16:18:51
R W Run
64.34 KB
2026-03-11 16:18:51
R W Run
44.73 KB
2026-03-11 16:18:51
R W Run
1.27 KB
2026-03-11 16:18:51
R W Run
3.68 KB
2026-03-11 16:18:51
R W Run
33.53 KB
2026-03-11 16:18:51
R W Run
48.84 KB
2026-03-11 16:18:51
R W Run
26.35 KB
2026-03-11 16:18:51
R W Run
1.12 KB
2026-03-11 16:18:51
R W Run
4.19 KB
2026-03-11 16:18:51
R W Run
38.19 KB
2026-03-11 16:18:51
R W Run
91.33 KB
2026-03-11 16:18:51
R W Run
80.39 KB
2026-03-11 16:18:51
R W Run
32.67 KB
2026-03-11 16:18:51
R W Run
16.18 KB
2026-03-11 16:18:51
R W Run
44.46 KB
2026-03-11 16:18:51
R W Run
6.23 KB
2026-03-11 16:18:51
R W Run
8.23 KB
2026-03-11 16:18:51
R W Run
96.96 KB
2026-03-11 16:18:51
R W Run
6.83 KB
2026-03-11 16:18:51
R W Run
46.62 KB
2026-03-11 16:18:51
R W Run
10.82 KB
2026-03-11 16:18:51
R W Run
68.86 KB
2026-03-11 16:18:51
R W Run
33.63 KB
2026-03-11 16:18:51
R W Run
113.3 KB
2026-03-11 16:18:51
R W Run
22.98 KB
2026-03-11 16:18:51
R W Run
10.66 KB
2026-03-11 16:18:51
R W Run
error_log
📄class-walker-category-checklist.php
1<?php
2/**
3 * Taxonomy API: Walker_Category_Checklist class
4 *
5 * @package WordPress
6 * @subpackage Administration
7 * @since 4.4.0
8 */
9
10/**
11 * Core walker class to output an unordered list of category checkbox input elements.
12 *
13 * @since 2.5.1
14 *
15 * @see Walker
16 * @see wp_category_checklist()
17 * @see wp_terms_checklist()
18 */
19class Walker_Category_Checklist extends Walker {
20 public $tree_type = 'category';
21 public $db_fields = array(
22 'parent' => 'parent',
23 'id' => 'term_id',
24 ); // TODO: Decouple this.
25
26 /**
27 * Starts the list before the elements are added.
28 *
29 * @see Walker:start_lvl()
30 *
31 * @since 2.5.1
32 *
33 * @param string $output Used to append additional content (passed by reference).
34 * @param int $depth Depth of category. Used for tab indentation.
35 * @param array $args An array of arguments. See {@see wp_terms_checklist()}.
36 */
37 public function start_lvl( &$output, $depth = 0, $args = array() ) {
38 $indent = str_repeat( "\t", $depth );
39 $output .= "$indent<ul class='children'>\n";
40 }
41
42 /**
43 * Ends the list of after the elements are added.
44 *
45 * @see Walker::end_lvl()
46 *
47 * @since 2.5.1
48 *
49 * @param string $output Used to append additional content (passed by reference).
50 * @param int $depth Depth of category. Used for tab indentation.
51 * @param array $args An array of arguments. See {@see wp_terms_checklist()}.
52 */
53 public function end_lvl( &$output, $depth = 0, $args = array() ) {
54 $indent = str_repeat( "\t", $depth );
55 $output .= "$indent</ul>\n";
56 }
57
58 /**
59 * Start the element output.
60 *
61 * @see Walker::start_el()
62 *
63 * @since 2.5.1
64 * @since 5.9.0 Renamed `$category` to `$data_object` and `$id` to `$current_object_id`
65 * to match parent class for PHP 8 named parameter support.
66 *
67 * @param string $output Used to append additional content (passed by reference).
68 * @param WP_Term $data_object The current term object.
69 * @param int $depth Depth of the term in reference to parents. Default 0.
70 * @param array $args An array of arguments. See {@see wp_terms_checklist()}.
71 * @param int $current_object_id Optional. ID of the current term. Default 0.
72 */
73 public function start_el( &$output, $data_object, $depth = 0, $args = array(), $current_object_id = 0 ) {
74 // Restores the more descriptive, specific name for use within this method.
75 $category = $data_object;
76
77 if ( empty( $args['taxonomy'] ) ) {
78 $taxonomy = 'category';
79 } else {
80 $taxonomy = $args['taxonomy'];
81 }
82
83 if ( 'category' === $taxonomy ) {
84 $name = 'post_category';
85 } else {
86 $name = 'tax_input[' . $taxonomy . ']';
87 }
88
89 $args['popular_cats'] = ! empty( $args['popular_cats'] ) ? array_map( 'intval', $args['popular_cats'] ) : array();
90
91 $class = in_array( $category->term_id, $args['popular_cats'], true ) ? ' class="popular-category"' : '';
92
93 $args['selected_cats'] = ! empty( $args['selected_cats'] ) ? array_map( 'intval', $args['selected_cats'] ) : array();
94
95 if ( ! empty( $args['list_only'] ) ) {
96 $aria_checked = 'false';
97 $inner_class = 'category';
98
99 if ( in_array( $category->term_id, $args['selected_cats'], true ) ) {
100 $inner_class .= ' selected';
101 $aria_checked = 'true';
102 }
103
104 $output .= "\n" . '<li' . $class . '>' .
105 '<div class="' . $inner_class . '" data-term-id=' . $category->term_id .
106 ' tabindex="0" role="checkbox" aria-checked="' . $aria_checked . '">' .
107 /** This filter is documented in wp-includes/category-template.php */
108 esc_html( apply_filters( 'the_category', $category->name, '', '' ) ) . '</div>';
109 } else {
110 $is_selected = in_array( $category->term_id, $args['selected_cats'], true );
111 $is_disabled = ! empty( $args['disabled'] );
112 $li_element_id = wp_unique_prefixed_id( "in-{$taxonomy}-{$category->term_id}-" );
113 $checkbox_element_id = wp_unique_prefixed_id( "in-{$taxonomy}-{$category->term_id}-" );
114
115 $output .= "\n<li id='" . esc_attr( $li_element_id ) . "'$class>" .
116 '<label class="selectit"><input value="' . $category->term_id . '" type="checkbox" name="' . $name . '[]" id="' . esc_attr( $checkbox_element_id ) . '"' .
117 checked( $is_selected, true, false ) .
118 disabled( $is_disabled, true, false ) . ' /> ' .
119 /** This filter is documented in wp-includes/category-template.php */
120 esc_html( apply_filters( 'the_category', $category->name, '', '' ) ) . '</label>';
121 }
122 }
123
124 /**
125 * Ends the element output, if needed.
126 *
127 * @see Walker::end_el()
128 *
129 * @since 2.5.1
130 * @since 5.9.0 Renamed `$category` to `$data_object` to match parent class for PHP 8 named parameter support.
131 *
132 * @param string $output Used to append additional content (passed by reference).
133 * @param WP_Term $data_object The current term object.
134 * @param int $depth Depth of the term in reference to parents. Default 0.
135 * @param array $args An array of arguments. See {@see wp_terms_checklist()}.
136 */
137 public function end_el( &$output, $data_object, $depth = 0, $args = array() ) {
138 $output .= "</li>\n";
139 }
140}
141
Ui Ux Design – Teachers Night Out

Get in Touch

© 2024 Teachers Night Out. All Rights Reserved.