X7ROOT File Manager
Current Path:
/home/bloomi9/realworks1.com/landsale-ebook/wp-includes
home
/
bloomi9
/
realworks1.com
/
landsale-ebook
/
wp-includes
/
📁
..
📄
.htaccess
(206 B)
📁
ID3
📁
IXR
📁
PHPMailer
📁
Requests
📁
SimplePie
📁
Text
📄
admin-bar.php
(30.96 KB)
📁
assets
📄
atomlib.php
(11.59 KB)
📄
author-template.php
(16.62 KB)
📁
block-patterns
📄
block-patterns.php
(1.42 KB)
📁
blocks
📄
blocks.php
(25.26 KB)
📄
bookmark-template.php
(12.22 KB)
📄
bookmark.php
(14.78 KB)
📄
cache-compat.php
(1.02 KB)
📄
cache.php
(9.28 KB)
📄
canonical.php
(30.65 KB)
📄
capabilities.php
(33.98 KB)
📄
category-template.php
(53.63 KB)
📄
category.php
(12.41 KB)
📁
certificates
📄
class-IXR.php
(2.48 KB)
📄
class-feed.php
(529 B)
📄
class-http.php
(38.79 KB)
📄
class-json.php
(42.43 KB)
📄
class-oembed.php
(407 B)
📄
class-phpass.php
(7.15 KB)
📄
class-phpmailer.php
(664 B)
📄
class-pop3.php
(20.35 KB)
📄
class-requests.php
(29.14 KB)
📄
class-simplepie.php
(94.01 KB)
📄
class-smtp.php
(452 B)
📄
class-snoopy.php
(36.83 KB)
📄
class-walker-category-dropdown.php
(2.08 KB)
📄
class-walker-category.php
(7.69 KB)
📄
class-walker-comment.php
(13.37 KB)
📄
class-walker-nav-menu.php
(8.45 KB)
📄
class-walker-page-dropdown.php
(2.25 KB)
📄
class-walker-page.php
(6.88 KB)
📄
class-wp-admin-bar.php
(16.46 KB)
📄
class-wp-ajax-response.php
(5.12 KB)
📄
class-wp-block-list.php
(4.37 KB)
📄
class-wp-block-parser.php
(14.86 KB)
📄
class-wp-block-pattern-categories-registry.php
(4.08 KB)
📄
class-wp-block-patterns-registry.php
(4.37 KB)
📄
class-wp-block-styles-registry.php
(4.62 KB)
📄
class-wp-block-type-registry.php
(4.69 KB)
📄
class-wp-block-type.php
(5.88 KB)
📄
class-wp-block.php
(5.97 KB)
📄
class-wp-comment-query.php
(43.58 KB)
📄
class-wp-comment.php
(8.83 KB)
📄
class-wp-customize-control.php
(24.91 KB)
📄
class-wp-customize-manager.php
(196.37 KB)
📄
class-wp-customize-nav-menus.php
(55.47 KB)
📄
class-wp-customize-panel.php
(10.16 KB)
📄
class-wp-customize-section.php
(10.72 KB)
📄
class-wp-customize-setting.php
(29.03 KB)
📄
class-wp-customize-widgets.php
(65.46 KB)
📄
class-wp-date-query.php
(34.07 KB)
📄
class-wp-dependency.php
(2.45 KB)
📄
class-wp-editor.php
(68.93 KB)
📄
class-wp-embed.php
(15.42 KB)
📄
class-wp-error.php
(4.84 KB)
📄
class-wp-fatal-error-handler.php
(7.37 KB)
📄
class-wp-feed-cache-transient.php
(2.5 KB)
📄
class-wp-feed-cache.php
(749 B)
📄
class-wp-hook.php
(13.72 KB)
📄
class-wp-http-cookie.php
(7.02 KB)
📄
class-wp-http-curl.php
(12.06 KB)
📄
class-wp-http-encoding.php
(6.4 KB)
📄
class-wp-http-ixr-client.php
(3.39 KB)
📄
class-wp-http-proxy.php
(5.73 KB)
📄
class-wp-http-requests-hooks.php
(1.92 KB)
📄
class-wp-http-requests-response.php
(4.24 KB)
📄
class-wp-http-response.php
(2.88 KB)
📄
class-wp-http-streams.php
(15.73 KB)
📄
class-wp-image-editor-gd.php
(13.81 KB)
📄
class-wp-image-editor-imagick.php
(23.32 KB)
📄
class-wp-image-editor.php
(13.77 KB)
📄
class-wp-list-util.php
(6.46 KB)
📄
class-wp-locale-switcher.php
(4.9 KB)
📄
class-wp-locale.php
(13.59 KB)
📄
class-wp-matchesmapregex.php
(1.76 KB)
📄
class-wp-meta-query.php
(27.19 KB)
📄
class-wp-metadata-lazyloader.php
(5.26 KB)
📄
class-wp-network-query.php
(17.94 KB)
📄
class-wp-network.php
(12.09 KB)
📄
class-wp-object-cache.php
(13.22 KB)
📄
class-wp-oembed-controller.php
(6.63 KB)
📄
class-wp-oembed.php
(28.31 KB)
📄
class-wp-paused-extensions-storage.php
(4.81 KB)
📄
class-wp-post-type.php
(19.08 KB)
📄
class-wp-post.php
(6.29 KB)
📄
class-wp-query.php
(130.67 KB)
📄
class-wp-recovery-mode-cookie-service.php
(6.31 KB)
📄
class-wp-recovery-mode-email-service.php
(9.89 KB)
📄
class-wp-recovery-mode-key-service.php
(4.17 KB)
📄
class-wp-recovery-mode-link-service.php
(3.29 KB)
📄
class-wp-recovery-mode.php
(11.11 KB)
📄
class-wp-rewrite.php
(59.42 KB)
📄
class-wp-role.php
(2.44 KB)
📄
class-wp-roles.php
(8.23 KB)
📄
class-wp-session-tokens.php
(7.26 KB)
📄
class-wp-simplepie-file.php
(2.27 KB)
📄
class-wp-simplepie-sanitize-kses.php
(1.73 KB)
📄
class-wp-site-query.php
(27.88 KB)
📄
class-wp-site.php
(7.19 KB)
📄
class-wp-tax-query.php
(18.81 KB)
📄
class-wp-taxonomy.php
(12.28 KB)
📄
class-wp-term-query.php
(35.32 KB)
📄
class-wp-term.php
(5.14 KB)
📄
class-wp-text-diff-renderer-inline.php
(716 B)
📄
class-wp-text-diff-renderer-table.php
(16.48 KB)
📄
class-wp-theme.php
(49.53 KB)
📄
class-wp-user-meta-session-tokens.php
(2.92 KB)
📄
class-wp-user-query.php
(30.62 KB)
📄
class-wp-user-request.php
(2.14 KB)
📄
class-wp-user.php
(21.63 KB)
📄
class-wp-walker.php
(12.42 KB)
📄
class-wp-widget-factory.php
(2.56 KB)
📄
class-wp-widget.php
(17.49 KB)
📄
class-wp-xmlrpc-server.php
(205.52 KB)
📄
class-wp.php
(24.45 KB)
📄
class.wp-dependencies.php
(12.57 KB)
📄
class.wp-scripts.php
(18.04 KB)
📄
class.wp-styles.php
(10.62 KB)
📄
comment-template.php
(91.85 KB)
📄
comment.php
(122.28 KB)
📄
compat.php
(11.46 KB)
📄
cron.php
(32.06 KB)
📁
css
📁
customize
📄
date.php
(406 B)
📄
default-constants.php
(10.02 KB)
📄
default-filters.php
(26.14 KB)
📄
default-widgets.php
(2.07 KB)
📄
deprecated.php
(118.08 KB)
📄
embed-template.php
(341 B)
📄
embed.php
(46.47 KB)
📄
error-protection.php
(3.3 KB)
📄
feed-atom-comments.php
(5.32 KB)
📄
feed-atom.php
(3.03 KB)
📄
feed-rdf.php
(2.61 KB)
📄
feed-rss.php
(1.16 KB)
📄
feed-rss2-comments.php
(3.97 KB)
📄
feed-rss2.php
(3.71 KB)
📄
feed.php
(22.12 KB)
📁
fonts
📄
formatting.php
(303.19 KB)
📄
functions.php
(228.08 KB)
📄
functions.wp-scripts.php
(13.07 KB)
📄
functions.wp-styles.php
(8.11 KB)
📄
general-template.php
(153.99 KB)
📄
http.php
(21.86 KB)
📁
images
📁
js
📄
kses.php
(61.88 KB)
📄
l10n.php
(55.25 KB)
📄
link-template.php
(141.46 KB)
📄
load.php
(43.82 KB)
📄
locale.php
(162 B)
📄
media-template.php
(57.27 KB)
📄
media.php
(158.53 KB)
📄
meta.php
(58.17 KB)
📄
ms-blogs.php
(24.58 KB)
📄
ms-default-constants.php
(4.6 KB)
📄
ms-default-filters.php
(6.34 KB)
📄
ms-deprecated.php
(20.63 KB)
📄
ms-files.php
(2.58 KB)
📄
ms-functions.php
(88.26 KB)
📄
ms-load.php
(19.36 KB)
📄
ms-network.php
(3.57 KB)
📄
ms-settings.php
(4.03 KB)
📄
ms-site.php
(42.51 KB)
📄
nav-menu-template.php
(22.75 KB)
📄
nav-menu.php
(40.78 KB)
📄
option.php
(72.65 KB)
📄
pluggable-deprecated.php
(6.12 KB)
📄
pluggable.php
(99.8 KB)
📄
plugin.php
(31.66 KB)
📁
pomo
📄
post-formats.php
(6.91 KB)
📄
post-template.php
(61.93 KB)
📄
post-thumbnail-template.php
(9 KB)
📄
post.php
(243.87 KB)
📄
query.php
(34.69 KB)
📁
random_compat
📄
registration-functions.php
(202 B)
📄
registration.php
(202 B)
📁
rest-api
📄
rest-api.php
(65.77 KB)
📄
revision.php
(21.46 KB)
📄
rewrite.php
(17.65 KB)
📄
rss-functions.php
(211 B)
📄
rss.php
(22.44 KB)
📄
script-loader.php
(89.87 KB)
📄
session.php
(258 B)
📄
shortcodes.php
(20.91 KB)
📁
sitemaps
📄
sitemaps.php
(3.16 KB)
📁
sodium_compat
📄
spl-autoload-compat.php
(443 B)
📄
taxonomy.php
(158.32 KB)
📄
template-loader.php
(2.94 KB)
📄
template.php
(21.02 KB)
📁
theme-compat
📄
theme.php
(120.92 KB)
📄
update.php
(25.57 KB)
📄
user.php
(129.65 KB)
📄
vars.php
(5.68 KB)
📄
version.php
(766 B)
📁
widgets
📄
widgets.php
(57.72 KB)
📄
wlwmanifest.xml
(1.02 KB)
📄
wp-db.php
(103.12 KB)
📄
wp-diff.php
(647 B)
Editing: class-walker-page.php
<?php /** * Post API: Walker_Page class * * @package WordPress * @subpackage Template * @since 4.4.0 */ /** * Core walker class used to create an HTML list of pages. * * @since 2.1.0 * * @see Walker */ class Walker_Page extends Walker { /** * What the class handles. * * @since 2.1.0 * @var string * * @see Walker::$tree_type */ public $tree_type = 'page'; /** * Database fields to use. * * @since 2.1.0 * @var array * * @see Walker::$db_fields * @todo Decouple this. */ public $db_fields = array( 'parent' => 'post_parent', 'id' => 'ID', ); /** * Outputs the beginning of the current level in the tree before elements are output. * * @since 2.1.0 * * @see Walker::start_lvl() * * @param string $output Used to append additional content (passed by reference). * @param int $depth Optional. Depth of page. Used for padding. Default 0. * @param array $args Optional. Arguments for outputting the next level. * Default empty array. */ public function start_lvl( &$output, $depth = 0, $args = array() ) { if ( isset( $args['item_spacing'] ) && 'preserve' === $args['item_spacing'] ) { $t = "\t"; $n = "\n"; } else { $t = ''; $n = ''; } $indent = str_repeat( $t, $depth ); $output .= "{$n}{$indent}<ul class='children'>{$n}"; } /** * Outputs the end of the current level in the tree after elements are output. * * @since 2.1.0 * * @see Walker::end_lvl() * * @param string $output Used to append additional content (passed by reference). * @param int $depth Optional. Depth of page. Used for padding. Default 0. * @param array $args Optional. Arguments for outputting the end of the current level. * Default empty array. */ public function end_lvl( &$output, $depth = 0, $args = array() ) { if ( isset( $args['item_spacing'] ) && 'preserve' === $args['item_spacing'] ) { $t = "\t"; $n = "\n"; } else { $t = ''; $n = ''; } $indent = str_repeat( $t, $depth ); $output .= "{$indent}</ul>{$n}"; } /** * Outputs the beginning of the current element in the tree. * * @see Walker::start_el() * @since 2.1.0 * * @param string $output Used to append additional content. Passed by reference. * @param WP_Post $page Page data object. * @param int $depth Optional. Depth of page. Used for padding. Default 0. * @param array $args Optional. Array of arguments. Default empty array. * @param int $current_page Optional. Page ID. Default 0. */ public function start_el( &$output, $page, $depth = 0, $args = array(), $current_page = 0 ) { if ( isset( $args['item_spacing'] ) && 'preserve' === $args['item_spacing'] ) { $t = "\t"; $n = "\n"; } else { $t = ''; $n = ''; } if ( $depth ) { $indent = str_repeat( $t, $depth ); } else { $indent = ''; } $css_class = array( 'page_item', 'page-item-' . $page->ID ); if ( isset( $args['pages_with_children'][ $page->ID ] ) ) { $css_class[] = 'page_item_has_children'; } if ( ! empty( $current_page ) ) { $_current_page = get_post( $current_page ); if ( $_current_page && in_array( $page->ID, $_current_page->ancestors, true ) ) { $css_class[] = 'current_page_ancestor'; } if ( $page->ID == $current_page ) { $css_class[] = 'current_page_item'; } elseif ( $_current_page && $page->ID === $_current_page->post_parent ) { $css_class[] = 'current_page_parent'; } } elseif ( get_option( 'page_for_posts' ) == $page->ID ) { $css_class[] = 'current_page_parent'; } /** * Filters the list of CSS classes to include with each page item in the list. * * @since 2.8.0 * * @see wp_list_pages() * * @param string[] $css_class An array of CSS classes to be applied to each list item. * @param WP_Post $page Page data object. * @param int $depth Depth of page, used for padding. * @param array $args An array of arguments. * @param int $current_page ID of the current page. */ $css_classes = implode( ' ', apply_filters( 'page_css_class', $css_class, $page, $depth, $args, $current_page ) ); $css_classes = $css_classes ? ' class="' . esc_attr( $css_classes ) . '"' : ''; if ( '' === $page->post_title ) { /* translators: %d: ID of a post. */ $page->post_title = sprintf( __( '#%d (no title)' ), $page->ID ); } $args['link_before'] = empty( $args['link_before'] ) ? '' : $args['link_before']; $args['link_after'] = empty( $args['link_after'] ) ? '' : $args['link_after']; $atts = array(); $atts['href'] = get_permalink( $page->ID ); $atts['aria-current'] = ( $page->ID == $current_page ) ? 'page' : ''; /** * Filters the HTML attributes applied to a page menu item's anchor element. * * @since 4.8.0 * * @param array $atts { * The HTML attributes applied to the menu item's `<a>` element, empty strings are ignored. * * @type string $href The href attribute. * @type string $aria_current The aria-current attribute. * } * @param WP_Post $page Page data object. * @param int $depth Depth of page, used for padding. * @param array $args An array of arguments. * @param int $current_page ID of the current page. */ $atts = apply_filters( 'page_menu_link_attributes', $atts, $page, $depth, $args, $current_page ); $attributes = ''; foreach ( $atts as $attr => $value ) { if ( is_scalar( $value ) && '' !== $value && false !== $value ) { $value = ( 'href' === $attr ) ? esc_url( $value ) : esc_attr( $value ); $attributes .= ' ' . $attr . '="' . $value . '"'; } } $output .= $indent . sprintf( '<li%s><a%s>%s%s%s</a>', $css_classes, $attributes, $args['link_before'], /** This filter is documented in wp-includes/post-template.php */ apply_filters( 'the_title', $page->post_title, $page->ID ), $args['link_after'] ); if ( ! empty( $args['show_date'] ) ) { if ( 'modified' === $args['show_date'] ) { $time = $page->post_modified; } else { $time = $page->post_date; } $date_format = empty( $args['date_format'] ) ? '' : $args['date_format']; $output .= ' ' . mysql2date( $date_format, $time ); } } /** * Outputs the end of the current element in the tree. * * @since 2.1.0 * * @see Walker::end_el() * * @param string $output Used to append additional content. Passed by reference. * @param WP_Post $page Page data object. Not used. * @param int $depth Optional. Depth of page. Default 0 (unused). * @param array $args Optional. Array of arguments. Default empty array. */ public function end_el( &$output, $page, $depth = 0, $args = array() ) { if ( isset( $args['item_spacing'] ) && 'preserve' === $args['item_spacing'] ) { $t = "\t"; $n = "\n"; } else { $t = ''; $n = ''; } $output .= "</li>{$n}"; } }
Upload File
Create Folder