/home/desid573/public_html/magicride.ng/wp-includes
NameSizeModeActions
blocks/-0755rm
certificates/-0755rm
css/-0755rm
customize/-0755rm
fonts/-0755rm
ID3/-0755rm
images/-0755rm
IXR/-0755rm
js/-0755rm
pomo/-0755rm
random_compat/-0755rm
Requests/-0755rm
rest-api/-0755rm
SimplePie/-0755rm
sodium_compat/-0755rm
Text/-0755rm
theme-compat/-0755rm
widgets/-0755rm
admin-bar.php304350644editdlrm
atomlib.php118390644editdlrm
author-template.php166500644editdlrm
blocks.php182410644editdlrm
bookmark-template.php119180644editdlrm
bookmark.php139010644editdlrm
cache.php218740644editdlrm
canonical.php284870644editdlrm
capabilities.php317210644editdlrm
category-template.php520310644editdlrm
category.php122270644editdlrm
class-feed.php5230644editdlrm
class-http.php371410644editdlrm
class-IXR.php25730644editdlrm
class-json.php404760644editdlrm
class-oembed.php314820644editdlrm
class-phpass.php73170644editdlrm
class-phpmailer.php1482440644editdlrm
class-pop3.php209190644editdlrm
class-requests.php297900644editdlrm
class-simplepie.php892640644editdlrm
class-smtp.php394760644editdlrm
class-snoopy.php377850644editdlrm
class-walker-category-dropdown.php21270644editdlrm
class-walker-category.php77510644editdlrm
class-walker-comment.php136540644editdlrm
class-walker-nav-menu.php86420644editdlrm
class-walker-page-dropdown.php22980644editdlrm
class-walker-page.php69930644editdlrm
class-wp-admin-bar.php169200644editdlrm
class-wp-ajax-response.php51270644editdlrm
class-wp-block-parser.php152150644editdlrm
class-wp-block-type-registry.php50890644editdlrm
class-wp-block-type.php48150644editdlrm
class-wp-comment-query.php432230644editdlrm
class-wp-comment.php89610644editdlrm
class-wp-customize-control.php250530644editdlrm
class-wp-customize-manager.php2018560644editdlrm
class-wp-customize-nav-menus.php543540644editdlrm
class-wp-customize-panel.php96470644editdlrm
class-wp-customize-section.php102290644editdlrm
class-wp-customize-setting.php282430644editdlrm
class-wp-customize-widgets.php662960644editdlrm
class-wp-dependency.php23350644editdlrm
class-wp-editor.php678720644editdlrm
class-wp-embed.php147320644editdlrm
class-wp-error.php49230644editdlrm
class-wp-fatal-error-handler.php64620644editdlrm
class-wp-feed-cache-transient.php25600644editdlrm
class-wp-feed-cache.php7490644editdlrm
class-wp-hook.php141050644editdlrm
class-wp-http-cookie.php68470644editdlrm
class-wp-http-curl.php119280644editdlrm
class-wp-http-encoding.php65030644editdlrm
class-wp-http-ixr-client.php33260644editdlrm
class-wp-http-proxy.php60610644editdlrm
class-wp-http-requests-hooks.php18760644editdlrm
class-wp-http-requests-response.php43980644editdlrm
class-wp-http-response.php28710644editdlrm
class-wp-http-streams.php153850644editdlrm
class-wp-image-editor-gd.php130610644editdlrm
class-wp-image-editor-imagick.php217800644editdlrm
class-wp-image-editor.php117610644editdlrm
class-wp-list-util.php63960644editdlrm
class-wp-locale-switcher.php50260644editdlrm
class-wp-locale.php146290644editdlrm
class-wp-matchesmapregex.php18040644editdlrm
class-wp-meta-query.php234360644editdlrm
class-wp-metadata-lazyloader.php53840644editdlrm
class-wp-network-query.php178350644editdlrm
class-wp-network.php122170644editdlrm
class-wp-oembed-controller.php60240644editdlrm
class-wp-paused-extensions-storage.php49330644editdlrm
class-wp-post-type.php182360644editdlrm
class-wp-post.php64410644editdlrm
class-wp-query.php1308180644editdlrm
class-wp-recovery-mode-cookie-service.php62470644editdlrm
class-wp-recovery-mode-email-service.php79960644editdlrm
class-wp-recovery-mode-key-service.php42840644editdlrm
class-wp-recovery-mode-link-service.php33700644editdlrm
class-wp-recovery-mode.php112540644editdlrm
class-wp-rewrite.php598210644editdlrm
class-wp-role.php26610644editdlrm
class-wp-roles.php83280644editdlrm
class-wp-session-tokens.php74300644editdlrm
class-wp-simplepie-file.php23260644editdlrm
class-wp-simplepie-sanitize-kses.php17750644editdlrm
class-wp-site-query.php280380644editdlrm
class-wp-site.php73060644editdlrm
class-wp-tax-query.php194330644editdlrm
class-wp-taxonomy.php106610644editdlrm
class-wp-term-query.php346560644editdlrm
class-wp-term.php52650644editdlrm
class-wp-text-diff-renderer-inline.php7160644editdlrm
class-wp-text-diff-renderer-table.php164480644editdlrm
class-wp-theme.php503860644editdlrm
class-wp-user-meta-session-tokens.php29900644editdlrm
class-wp-user-query.php312240644editdlrm
class-wp-user.php214140644editdlrm
class-wp-walker.php126870644editdlrm
class-wp-widget-factory.php37810644editdlrm
class-wp-widget.php178340644editdlrm
class-wp-xmlrpc-server.php2078490644editdlrm
class-wp.php247540644editdlrm
class.wp-dependencies.php115120644editdlrm
class.wp-scripts.php171910644editdlrm
class.wp-styles.php98420644editdlrm
comment-template.php898690644editdlrm
comment.php1153730644editdlrm
compat.php177530644editdlrm
cron.php324600644editdlrm
date.php356180644editdlrm
default-constants.php101260644editdlrm
default-filters.php257270644editdlrm
default-widgets.php21800644editdlrm
deprecated.php1142700644editdlrm
embed-template.php3440644editdlrm
embed.php471220644editdlrm
error-protection.php33860644editdlrm
error_log5654880644editdlrm
feed-atom-comments.php53780644editdlrm
feed-atom.php30810644editdlrm
feed-rdf.php26600644editdlrm
feed-rss.php11900644editdlrm
feed-rss2-comments.php41220644editdlrm
feed-rss2.php37820644editdlrm
feed.php213800644editdlrm
formatting.php2956780644editdlrm
functions.php2199590644editdlrm
functions.wp-scripts.php128300644editdlrm
functions.wp-styles.php82190644editdlrm
general-template.php1466320644editdlrm
http.php224240644editdlrm
kses.php572330644editdlrm
l10n.php519250644editdlrm
link-template.php1384820644editdlrm
load.php431460644editdlrm
locale.php1410644editdlrm
media-template.php489220644editdlrm
media.php1447630644editdlrm
meta.php465510644editdlrm
ms-blogs.php231220644editdlrm
ms-default-constants.php47850644editdlrm
ms-default-filters.php64140644editdlrm
ms-deprecated.php199070644editdlrm
ms-files.php26490644editdlrm
ms-functions.php870590644editdlrm
ms-load.php195570644editdlrm
ms-network.php36580644editdlrm
ms-settings.php41340644editdlrm
ms-site.php430640644editdlrm
nav-menu-template.php220080644editdlrm
nav-menu.php406720644editdlrm
option.php695550644editdlrm
pluggable-deprecated.php62620644editdlrm
pluggable.php986300644editdlrm
plugin.php320680644editdlrm
post-formats.php70240644editdlrm
post-template.php617640644editdlrm
post-thumbnail-template.php89570644editdlrm
post.php2353640644editdlrm
query.php329930644editdlrm
registration-functions.php1800644editdlrm
registration.php1800644editdlrm
rest-api.php420530644editdlrm
revision.php215860644editdlrm
rewrite.php177230644editdlrm
rss-functions.php1930644editdlrm
rss.php232080644editdlrm
script-loader.php1096050644editdlrm
session.php2430644editdlrm
shortcodes.php216980644editdlrm
spl-autoload-compat.php25740644editdlrm
taxonomy.php1566550644editdlrm
template-loader.php26950644editdlrm
template.php208280644editdlrm
theme.php1023010644editdlrm
update.php253820644editdlrm
user.php1240860644editdlrm
vars.php57150644editdlrm
version.php7620644editdlrm
widgets.php572000644editdlrm
wlwmanifest.xml10450644editdlrm
wp-db.php1016200644editdlrm
wp-diff.php6620644editdlrm
Edit: /home/desid573/public_html/magicride.ng/wp-includes/class-wp-taxonomy.php (10661B)
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' ); } }