X7ROOT File Manager
Current Path:
/home/okeydcqc/.trash/old/wp-admin/includes
home
/
okeydcqc
/
.trash
/
old
/
wp-admin
/
includes
/
ðŸ“
..
📄
admin-filters.php
(7.58 KB)
📄
admin.php
(3.54 KB)
📄
ajax-actions.php
(147.78 KB)
📄
bookmark.php
(11.34 KB)
📄
class-automatic-upgrader-skin.php
(3.58 KB)
📄
class-bulk-plugin-upgrader-skin.php
(2.2 KB)
📄
class-bulk-theme-upgrader-skin.php
(2.27 KB)
📄
class-bulk-upgrader-skin.php
(5.5 KB)
📄
class-core-upgrader.php
(14.65 KB)
📄
class-custom-background.php
(20.75 KB)
📄
class-custom-image-header.php
(47.39 KB)
📄
class-file-upload-upgrader.php
(3.35 KB)
📄
class-ftp-pure.php
(5.3 KB)
📄
class-ftp-sockets.php
(8.28 KB)
📄
class-ftp.php
(26.66 KB)
📄
class-language-pack-upgrader-skin.php
(2.42 KB)
📄
class-language-pack-upgrader.php
(14.59 KB)
📄
class-pclzip.php
(192.08 KB)
📄
class-plugin-installer-skin.php
(11.65 KB)
📄
class-plugin-upgrader-skin.php
(3.2 KB)
📄
class-plugin-upgrader.php
(22.78 KB)
📄
class-theme-installer-skin.php
(12.32 KB)
📄
class-theme-upgrader-skin.php
(4.07 KB)
📄
class-theme-upgrader.php
(24.85 KB)
📄
class-walker-category-checklist.php
(4.76 KB)
📄
class-walker-nav-menu-checklist.php
(5.5 KB)
📄
class-walker-nav-menu-edit.php
(12.95 KB)
📄
class-wp-ajax-upgrader-skin.php
(4.09 KB)
📄
class-wp-application-passwords-list-table.php
(6.78 KB)
📄
class-wp-automatic-updater.php
(51.79 KB)
📄
class-wp-comments-list-table.php
(31.4 KB)
📄
class-wp-community-events.php
(18.33 KB)
📄
class-wp-debug-data.php
(59.66 KB)
📄
class-wp-filesystem-base.php
(23.84 KB)
📄
class-wp-filesystem-direct.php
(17.72 KB)
📄
class-wp-filesystem-ftpext.php
(22.56 KB)
📄
class-wp-filesystem-ftpsockets.php
(18.05 KB)
📄
class-wp-filesystem-ssh2.php
(22.76 KB)
📄
class-wp-importer.php
(7.28 KB)
📄
class-wp-internal-pointers.php
(4.47 KB)
📄
class-wp-links-list-table.php
(8.63 KB)
📄
class-wp-list-table-compat.php
(1.46 KB)
📄
class-wp-list-table.php
(50.17 KB)
📄
class-wp-media-list-table.php
(24.95 KB)
📄
class-wp-ms-sites-list-table.php
(21.37 KB)
📄
class-wp-ms-themes-list-table.php
(27.3 KB)
📄
class-wp-ms-users-list-table.php
(14.83 KB)
📄
class-wp-plugin-install-list-table.php
(23.75 KB)
📄
class-wp-plugins-list-table.php
(48.74 KB)
📄
class-wp-post-comments-list-table.php
(1.42 KB)
📄
class-wp-posts-list-table.php
(61.5 KB)
📄
class-wp-privacy-data-export-requests-list-table.php
(5.43 KB)
📄
class-wp-privacy-data-removal-requests-list-table.php
(5.58 KB)
📄
class-wp-privacy-policy-content.php
(31.66 KB)
📄
class-wp-privacy-requests-table.php
(13.68 KB)
📄
class-wp-screen.php
(36.42 KB)
📄
class-wp-site-health-auto-updates.php
(13.19 KB)
📄
class-wp-site-health.php
(119.73 KB)
📄
class-wp-site-icon.php
(6.15 KB)
📄
class-wp-terms-list-table.php
(19.84 KB)
📄
class-wp-theme-install-list-table.php
(15.31 KB)
📄
class-wp-themes-list-table.php
(10.04 KB)
📄
class-wp-upgrader-skin.php
(6.39 KB)
📄
class-wp-upgrader-skins.php
(1.44 KB)
📄
class-wp-upgrader.php
(44.11 KB)
📄
class-wp-users-list-table.php
(18.64 KB)
📄
comment.php
(5.98 KB)
📄
continents-cities.php
(20.06 KB)
📄
credits.php
(5.8 KB)
📄
dashboard.php
(67.92 KB)
📄
deprecated.php
(40.72 KB)
📄
edit-tag-messages.php
(1.44 KB)
📄
export.php
(23.57 KB)
📄
file.php
(92.88 KB)
📄
image-edit.php
(41.66 KB)
📄
image.php
(37.96 KB)
📄
import.php
(6.52 KB)
📄
list-table.php
(3.71 KB)
📄
media.php
(115.27 KB)
📄
menu.php
(9.37 KB)
📄
meta-boxes.php
(64.45 KB)
📄
misc.php
(44.8 KB)
📄
ms-admin-filters.php
(1.27 KB)
📄
ms-deprecated.php
(3.68 KB)
📄
ms.php
(33.04 KB)
📄
nav-menu.php
(47.3 KB)
📄
network.php
(26.04 KB)
📄
noop.php
(1.06 KB)
📄
options.php
(4.06 KB)
📄
plugin-install.php
(34.1 KB)
📄
plugin.php
(87.71 KB)
📄
post.php
(76.53 KB)
📄
privacy-tools.php
(32.68 KB)
📄
revision.php
(15.77 KB)
📄
schema.php
(41.85 KB)
📄
screen.php
(6.21 KB)
📄
taxonomy.php
(8.23 KB)
📄
template.php
(95.18 KB)
📄
theme-install.php
(6.82 KB)
📄
theme.php
(45.92 KB)
📄
translation-install.php
(8.69 KB)
📄
update-core.php
(70.57 KB)
📄
update.php
(34.65 KB)
📄
upgrade.php
(108.96 KB)
📄
user.php
(22.74 KB)
📄
widgets.php
(10.66 KB)
Editing: class-walker-category-checklist.php
<?php /** * Taxonomy API: Walker_Category_Checklist class * * @package WordPress * @subpackage Administration * @since 4.4.0 */ /** * Core walker class to output an unordered list of category checkbox input elements. * * @since 2.5.1 * * @see Walker * @see wp_category_checklist() * @see wp_terms_checklist() */ class Walker_Category_Checklist extends Walker { public $tree_type = 'category'; public $db_fields = array( 'parent' => 'parent', 'id' => 'term_id', ); // TODO: Decouple this. /** * Starts the list before the elements are added. * * @see Walker:start_lvl() * * @since 2.5.1 * * @param string $output Used to append additional content (passed by reference). * @param int $depth Depth of category. Used for tab indentation. * @param array $args An array of arguments. @see wp_terms_checklist() */ public function start_lvl( &$output, $depth = 0, $args = array() ) { $indent = str_repeat( "\t", $depth ); $output .= "$indent<ul class='children'>\n"; } /** * Ends the list of after the elements are added. * * @see Walker::end_lvl() * * @since 2.5.1 * * @param string $output Used to append additional content (passed by reference). * @param int $depth Depth of category. Used for tab indentation. * @param array $args An array of arguments. @see wp_terms_checklist() */ public function end_lvl( &$output, $depth = 0, $args = array() ) { $indent = str_repeat( "\t", $depth ); $output .= "$indent</ul>\n"; } /** * Start the element output. * * @see Walker::start_el() * * @since 2.5.1 * @since 5.9.0 Renamed `$category` to `$data_object` and `$id` to `$current_object_id` * to match parent class for PHP 8 named parameter support. * * @param string $output Used to append additional content (passed by reference). * @param WP_Term $data_object The current term object. * @param int $depth Depth of the term in reference to parents. Default 0. * @param array $args An array of arguments. @see wp_terms_checklist() * @param int $current_object_id Optional. ID of the current term. Default 0. */ public function start_el( &$output, $data_object, $depth = 0, $args = array(), $current_object_id = 0 ) { // Restores the more descriptive, specific name for use within this method. $category = $data_object; if ( empty( $args['taxonomy'] ) ) { $taxonomy = 'category'; } else { $taxonomy = $args['taxonomy']; } if ( 'category' === $taxonomy ) { $name = 'post_category'; } else { $name = 'tax_input[' . $taxonomy . ']'; } $args['popular_cats'] = ! empty( $args['popular_cats'] ) ? array_map( 'intval', $args['popular_cats'] ) : array(); $class = in_array( $category->term_id, $args['popular_cats'], true ) ? ' class="popular-category"' : ''; $args['selected_cats'] = ! empty( $args['selected_cats'] ) ? array_map( 'intval', $args['selected_cats'] ) : array(); if ( ! empty( $args['list_only'] ) ) { $aria_checked = 'false'; $inner_class = 'category'; if ( in_array( $category->term_id, $args['selected_cats'], true ) ) { $inner_class .= ' selected'; $aria_checked = 'true'; } $output .= "\n" . '<li' . $class . '>' . '<div class="' . $inner_class . '" data-term-id=' . $category->term_id . ' tabindex="0" role="checkbox" aria-checked="' . $aria_checked . '">' . /** This filter is documented in wp-includes/category-template.php */ esc_html( apply_filters( 'the_category', $category->name, '', '' ) ) . '</div>'; } else { $is_selected = in_array( $category->term_id, $args['selected_cats'], true ); $is_disabled = ! empty( $args['disabled'] ); $output .= "\n<li id='{$taxonomy}-{$category->term_id}'$class>" . '<label class="selectit"><input value="' . $category->term_id . '" type="checkbox" name="' . $name . '[]" id="in-' . $taxonomy . '-' . $category->term_id . '"' . checked( $is_selected, true, false ) . disabled( $is_disabled, true, false ) . ' /> ' . /** This filter is documented in wp-includes/category-template.php */ esc_html( apply_filters( 'the_category', $category->name, '', '' ) ) . '</label>'; } } /** * Ends the element output, if needed. * * @see Walker::end_el() * * @since 2.5.1 * @since 5.9.0 Renamed `$category` to `$data_object` to match parent class for PHP 8 named parameter support. * * @param string $output Used to append additional content (passed by reference). * @param WP_Term $data_object The current term object. * @param int $depth Depth of the term in reference to parents. Default 0. * @param array $args An array of arguments. @see wp_terms_checklist() */ public function end_el( &$output, $data_object, $depth = 0, $args = array() ) { $output .= "</li>\n"; } }
Upload File
Create Folder