X7ROOT File Manager
Current Path:
/var/softaculous/sitepad/editor/site-inc
var
/
softaculous
/
sitepad
/
editor
/
site-inc
/
ðŸ“
..
ðŸ“
ID3
ðŸ“
IXR
ðŸ“
PHPMailer
ðŸ“
Requests
ðŸ“
SimplePie
ðŸ“
Text
📄
admin-bar.php
(29.03 KB)
📄
atomlib.php
(11.56 KB)
📄
author-template.php
(16.22 KB)
📄
blocks.php
(12.43 KB)
📄
bookmark-template.php
(11.64 KB)
📄
bookmark.php
(13.55 KB)
📄
bootstrap.php
(4.11 KB)
📄
cache.php
(21.35 KB)
📄
canonical.php
(27.83 KB)
📄
capabilities.php
(28.84 KB)
📄
category-template.php
(50.8 KB)
📄
category.php
(12.41 KB)
ðŸ“
certificates
📄
class-IXR.php
(2.51 KB)
📄
class-feed.php
(523 B)
📄
class-http.php
(36.22 KB)
📄
class-json.php
(39.53 KB)
📄
class-oembed.php
(30.73 KB)
📄
class-phpass.php
(7.15 KB)
📄
class-phpmailer.php
(668 B)
📄
class-pop3.php
(20.43 KB)
📄
class-requests.php
(29.09 KB)
📄
class-simplepie.php
(87.17 KB)
📄
class-smtp.php
(461 B)
📄
class-walker-category-dropdown.php
(2.07 KB)
📄
class-walker-category.php
(6.62 KB)
📄
class-walker-comment.php
(13.33 KB)
📄
class-walker-nav-menu.php
(8.38 KB)
📄
class-walker-page-dropdown.php
(2.24 KB)
📄
class-walker-page.php
(6.78 KB)
📄
class-wp-admin-bar.php
(16.08 KB)
📄
class-wp-ajax-response.php
(5.01 KB)
📄
class-wp-block-parser.php
(14.86 KB)
📄
class-wp-block-type-registry.php
(4.63 KB)
📄
class-wp-block-type.php
(4.7 KB)
📄
class-wp-comment-query.php
(42.21 KB)
📄
class-wp-comment.php
(8.75 KB)
📄
class-wp-customize-control.php
(24.49 KB)
📄
class-wp-customize-manager.php
(195.47 KB)
📄
class-wp-customize-nav-menus.php
(53.08 KB)
📄
class-wp-customize-panel.php
(9.42 KB)
📄
class-wp-customize-section.php
(9.99 KB)
📄
class-wp-customize-setting.php
(27.59 KB)
📄
class-wp-dependency.php
(2.28 KB)
📄
class-wp-editor.php
(66.27 KB)
📄
class-wp-embed.php
(14.38 KB)
📄
class-wp-error.php
(4.81 KB)
📄
class-wp-feed-cache-transient.php
(2.5 KB)
📄
class-wp-feed-cache.php
(749 B)
📄
class-wp-hook.php
(13.77 KB)
📄
class-wp-http-cookie.php
(6.44 KB)
📄
class-wp-http-curl.php
(11.64 KB)
📄
class-wp-http-encoding.php
(6.35 KB)
📄
class-wp-http-ixr-client.php
(3.25 KB)
📄
class-wp-http-proxy.php
(5.92 KB)
📄
class-wp-http-requests-hooks.php
(1.83 KB)
📄
class-wp-http-requests-response.php
(4.19 KB)
📄
class-wp-http-response.php
(2.8 KB)
📄
class-wp-http-streams.php
(15.02 KB)
📄
class-wp-image-editor-gd.php
(13.18 KB)
📄
class-wp-image-editor-imagick.php
(21.27 KB)
📄
class-wp-image-editor.php
(11.49 KB)
📄
class-wp-list-util.php
(6.25 KB)
📄
class-wp-locale-switcher.php
(4.91 KB)
📄
class-wp-locale.php
(14.26 KB)
📄
class-wp-matchesmapregex.php
(1.76 KB)
📄
class-wp-meta-query.php
(22.86 KB)
📄
class-wp-metadata-lazyloader.php
(5.26 KB)
📄
class-wp-network-query.php
(16.79 KB)
📄
class-wp-network.php
(11.93 KB)
📄
class-wp-oembed-controller.php
(5.88 KB)
📄
class-wp-post-type.php
(17.81 KB)
📄
class-wp-post.php
(6.28 KB)
📄
class-wp-query.php
(127.67 KB)
📄
class-wp-rewrite.php
(58.42 KB)
📄
class-wp-role.php
(2.6 KB)
📄
class-wp-roles.php
(8.13 KB)
📄
class-wp-session-tokens.php
(7.25 KB)
📄
class-wp-simplepie-file.php
(2.27 KB)
📄
class-wp-simplepie-sanitize-kses.php
(1.73 KB)
📄
class-wp-site-query.php
(26.78 KB)
📄
class-wp-site.php
(7.13 KB)
📄
class-wp-tax-query.php
(18.81 KB)
📄
class-wp-taxonomy.php
(10.41 KB)
📄
class-wp-term-query.php
(33.84 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.06 KB)
📄
class-wp-theme.php
(48.09 KB)
📄
class-wp-user-meta-session-tokens.php
(2.92 KB)
📄
class-wp-user-query.php
(30.49 KB)
📄
class-wp-user.php
(20.91 KB)
📄
class-wp-walker.php
(12.39 KB)
📄
class-wp-widget-factory.php
(3.69 KB)
📄
class-wp-widget.php
(17.41 KB)
📄
class-wp-xmlrpc-server.php
(202.08 KB)
📄
class-wp.php
(24.18 KB)
📄
class.wp-dependencies.php
(11.24 KB)
📄
class.wp-scripts.php
(16.79 KB)
📄
class.wp-styles.php
(9.61 KB)
📄
comment-template.php
(87.64 KB)
📄
comment.php
(111.72 KB)
📄
compat.php
(15.99 KB)
📄
cron.php
(30.82 KB)
ðŸ“
css
ðŸ“
customize
📄
date.php
(34.34 KB)
📄
default-constants.php
(9.61 KB)
📄
default-filters.php
(24.68 KB)
📄
default-widgets.php
(2.13 KB)
📄
embed.php
(44.04 KB)
📄
feed-atom-comments.php
(5.33 KB)
📄
feed-atom.php
(3.09 KB)
📄
feed-rdf.php
(2.67 KB)
📄
feed-rss.php
(1.25 KB)
📄
feed-rss2-comments.php
(4.09 KB)
📄
feed-rss2.php
(3.77 KB)
📄
feed.php
(19.29 KB)
ðŸ“
fonts
📄
formatting.php
(278.69 KB)
📄
functions.php
(207.2 KB)
📄
functions.wp-scripts.php
(12.53 KB)
📄
functions.wp-styles.php
(8.03 KB)
📄
general-template.php
(138.46 KB)
📄
http.php
(21.9 KB)
ðŸ“
images
ðŸ“
js
📄
kses.php
(55.74 KB)
📄
l10n.php
(50.58 KB)
📄
link-template.php
(135.4 KB)
📄
load.php
(36.4 KB)
📄
media-template.php
(46.33 KB)
📄
media.php
(141.33 KB)
📄
meta.php
(44.98 KB)
📄
mime.php
(39.54 KB)
📄
nav-menu-template.php
(21.2 KB)
📄
nav-menu.php
(39.57 KB)
📄
open_basedir.php
(21 B)
📄
option.php
(67.91 KB)
📄
pluggable.php
(97.52 KB)
📄
plugin.php
(31.37 KB)
ðŸ“
pomo
📄
post-formats.php
(6.86 KB)
📄
post-template.php
(60.07 KB)
📄
post-thumbnail-template.php
(8.75 KB)
📄
post.php
(227.37 KB)
📄
query.php
(31.24 KB)
ðŸ“
random_compat
ðŸ“
rest-api
📄
rest-api.php
(40.67 KB)
📄
revision.php
(21.08 KB)
📄
rewrite.php
(17.27 KB)
📄
rss.php
(22.66 KB)
📄
script-loader.php
(98.75 KB)
📄
shortcodes.php
(20.25 KB)
📄
sitepad_functions.php
(19.26 KB)
📄
sitepad_functions2.php
(21.99 KB)
📄
spl-autoload-compat.php
(2.51 KB)
📄
taxonomy.php
(152.95 KB)
📄
template-loader.php
(2.55 KB)
📄
template.php
(19.77 KB)
ðŸ“
theme-compat
📄
theme.php
(99.09 KB)
📄
update.php
(24.81 KB)
📄
user.php
(120.69 KB)
📄
vars.php
(5.59 KB)
📄
version.php
(2.03 KB)
ðŸ“
widgets
📄
widgets.php
(55.82 KB)
📄
wlwmanifest.xml
(1.03 KB)
📄
wp-db.php
(99.29 KB)
📄
wp-diff.php
(662 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