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-wp-term.php
<?php /** * Taxonomy API: WP_Term class * * @package WordPress * @subpackage Taxonomy * @since 4.4.0 */ /** * Core class used to implement the WP_Term object. * * @since 4.4.0 * * @property-read object $data Sanitized term data. */ final class WP_Term { /** * Term ID. * * @since 4.4.0 * @var int */ public $term_id; /** * The term's name. * * @since 4.4.0 * @var string */ public $name = ''; /** * The term's slug. * * @since 4.4.0 * @var string */ public $slug = ''; /** * The term's term_group. * * @since 4.4.0 * @var string */ public $term_group = ''; /** * Term Taxonomy ID. * * @since 4.4.0 * @var int */ public $term_taxonomy_id = 0; /** * The term's taxonomy name. * * @since 4.4.0 * @var string */ public $taxonomy = ''; /** * The term's description. * * @since 4.4.0 * @var string */ public $description = ''; /** * ID of a term's parent term. * * @since 4.4.0 * @var int */ public $parent = 0; /** * Cached object count for this term. * * @since 4.4.0 * @var int */ public $count = 0; /** * Stores the term object's sanitization level. * * Does not correspond to a database field. * * @since 4.4.0 * @var string */ public $filter = 'raw'; /** * Retrieve WP_Term instance. * * @since 4.4.0 * * @global wpdb $wpdb WordPress database abstraction object. * * @param int $term_id Term ID. * @param string $taxonomy Optional. Limit matched terms to those matching `$taxonomy`. Only used for * disambiguating potentially shared terms. * @return WP_Term|WP_Error|false Term object, if found. WP_Error if `$term_id` is shared between taxonomies and * there's insufficient data to distinguish which term is intended. * False for other failures. */ public static function get_instance( $term_id, $taxonomy = null ) { global $wpdb; $term_id = (int) $term_id; if ( ! $term_id ) { return false; } $_term = wp_cache_get( $term_id, 'terms' ); // If there isn't a cached version, hit the database. if ( ! $_term || ( $taxonomy && $taxonomy !== $_term->taxonomy ) ) { // Any term found in the cache is not a match, so don't use it. $_term = false; // Grab all matching terms, in case any are shared between taxonomies. $terms = $wpdb->get_results( $wpdb->prepare( "SELECT t.*, tt.* FROM $wpdb->terms AS t INNER JOIN $wpdb->term_taxonomy AS tt ON t.term_id = tt.term_id WHERE t.term_id = %d", $term_id ) ); if ( ! $terms ) { return false; } // If a taxonomy was specified, find a match. if ( $taxonomy ) { foreach ( $terms as $match ) { if ( $taxonomy === $match->taxonomy ) { $_term = $match; break; } } // If only one match was found, it's the one we want. } elseif ( 1 === count( $terms ) ) { $_term = reset( $terms ); // Otherwise, the term must be shared between taxonomies. } else { // If the term is shared only with invalid taxonomies, return the one valid term. foreach ( $terms as $t ) { if ( ! taxonomy_exists( $t->taxonomy ) ) { continue; } // Only hit if we've already identified a term in a valid taxonomy. if ( $_term ) { return new WP_Error( 'ambiguous_term_id', __( 'Term ID is shared between multiple taxonomies' ), $term_id ); } $_term = $t; } } if ( ! $_term ) { return false; } // Don't return terms from invalid taxonomies. if ( ! taxonomy_exists( $_term->taxonomy ) ) { return new WP_Error( 'invalid_taxonomy', __( 'Invalid taxonomy.' ) ); } $_term = sanitize_term( $_term, $_term->taxonomy, 'raw' ); // Don't cache terms that are shared between taxonomies. if ( 1 === count( $terms ) ) { wp_cache_add( $term_id, $_term, 'terms' ); } } $term_obj = new WP_Term( $_term ); $term_obj->filter( $term_obj->filter ); return $term_obj; } /** * Constructor. * * @since 4.4.0 * * @param WP_Term|object $term Term object. */ public function __construct( $term ) { foreach ( get_object_vars( $term ) as $key => $value ) { $this->$key = $value; } } /** * Sanitizes term fields, according to the filter type provided. * * @since 4.4.0 * * @param string $filter Filter context. Accepts 'edit', 'db', 'display', 'attribute', 'js', 'raw'. */ public function filter( $filter ) { sanitize_term( $this, $this->taxonomy, $filter ); } /** * Converts an object to array. * * @since 4.4.0 * * @return array Object as array. */ public function to_array() { return get_object_vars( $this ); } /** * Getter. * * @since 4.4.0 * * @param string $key Property to get. * @return mixed Property value. */ public function __get( $key ) { switch ( $key ) { case 'data': $data = new stdClass(); $columns = array( 'term_id', 'name', 'slug', 'term_group', 'term_taxonomy_id', 'taxonomy', 'description', 'parent', 'count' ); foreach ( $columns as $column ) { $data->{$column} = isset( $this->{$column} ) ? $this->{$column} : null; } return sanitize_term( $data, $data->taxonomy, 'raw' ); } } }
Upload File
Create Folder