Edit File by line
/home/barbar84/www/wp-inclu...
File: class-wp-taxonomy.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Taxonomy API: WP_Taxonomy class
[2] Fix | Delete
*
[3] Fix | Delete
* @package WordPress
[4] Fix | Delete
* @subpackage Taxonomy
[5] Fix | Delete
* @since 4.7.0
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
/**
[9] Fix | Delete
* Core class used for interacting with taxonomies.
[10] Fix | Delete
*
[11] Fix | Delete
* @since 4.7.0
[12] Fix | Delete
*/
[13] Fix | Delete
final class WP_Taxonomy {
[14] Fix | Delete
/**
[15] Fix | Delete
* Taxonomy key.
[16] Fix | Delete
*
[17] Fix | Delete
* @since 4.7.0
[18] Fix | Delete
* @var string
[19] Fix | Delete
*/
[20] Fix | Delete
public $name;
[21] Fix | Delete
[22] Fix | Delete
/**
[23] Fix | Delete
* Name of the taxonomy shown in the menu. Usually plural.
[24] Fix | Delete
*
[25] Fix | Delete
* @since 4.7.0
[26] Fix | Delete
* @var string
[27] Fix | Delete
*/
[28] Fix | Delete
public $label;
[29] Fix | Delete
[30] Fix | Delete
/**
[31] Fix | Delete
* Labels object for this taxonomy.
[32] Fix | Delete
*
[33] Fix | Delete
* If not set, tag labels are inherited for non-hierarchical types
[34] Fix | Delete
* and category labels for hierarchical ones.
[35] Fix | Delete
*
[36] Fix | Delete
* @see get_taxonomy_labels()
[37] Fix | Delete
*
[38] Fix | Delete
* @since 4.7.0
[39] Fix | Delete
* @var stdClass
[40] Fix | Delete
*/
[41] Fix | Delete
public $labels;
[42] Fix | Delete
[43] Fix | Delete
/**
[44] Fix | Delete
* A short descriptive summary of what the taxonomy is for.
[45] Fix | Delete
*
[46] Fix | Delete
* @since 4.7.0
[47] Fix | Delete
* @var string
[48] Fix | Delete
*/
[49] Fix | Delete
public $description = '';
[50] Fix | Delete
[51] Fix | Delete
/**
[52] Fix | Delete
* Whether a taxonomy is intended for use publicly either via the admin interface or by front-end users.
[53] Fix | Delete
*
[54] Fix | Delete
* @since 4.7.0
[55] Fix | Delete
* @var bool
[56] Fix | Delete
*/
[57] Fix | Delete
public $public = true;
[58] Fix | Delete
[59] Fix | Delete
/**
[60] Fix | Delete
* Whether the taxonomy is publicly queryable.
[61] Fix | Delete
*
[62] Fix | Delete
* @since 4.7.0
[63] Fix | Delete
* @var bool
[64] Fix | Delete
*/
[65] Fix | Delete
public $publicly_queryable = true;
[66] Fix | Delete
[67] Fix | Delete
/**
[68] Fix | Delete
* Whether the taxonomy is hierarchical.
[69] Fix | Delete
*
[70] Fix | Delete
* @since 4.7.0
[71] Fix | Delete
* @var bool
[72] Fix | Delete
*/
[73] Fix | Delete
public $hierarchical = false;
[74] Fix | Delete
[75] Fix | Delete
/**
[76] Fix | Delete
* Whether to generate and allow a UI for managing terms in this taxonomy in the admin.
[77] Fix | Delete
*
[78] Fix | Delete
* @since 4.7.0
[79] Fix | Delete
* @var bool
[80] Fix | Delete
*/
[81] Fix | Delete
public $show_ui = true;
[82] Fix | Delete
[83] Fix | Delete
/**
[84] Fix | Delete
* Whether to show the taxonomy in the admin menu.
[85] Fix | Delete
*
[86] Fix | Delete
* If true, the taxonomy is shown as a submenu of the object type menu. If false, no menu is shown.
[87] Fix | Delete
*
[88] Fix | Delete
* @since 4.7.0
[89] Fix | Delete
* @var bool
[90] Fix | Delete
*/
[91] Fix | Delete
public $show_in_menu = true;
[92] Fix | Delete
[93] Fix | Delete
/**
[94] Fix | Delete
* Whether the taxonomy is available for selection in navigation menus.
[95] Fix | Delete
*
[96] Fix | Delete
* @since 4.7.0
[97] Fix | Delete
* @var bool
[98] Fix | Delete
*/
[99] Fix | Delete
public $show_in_nav_menus = true;
[100] Fix | Delete
[101] Fix | Delete
/**
[102] Fix | Delete
* Whether to list the taxonomy in the tag cloud widget controls.
[103] Fix | Delete
*
[104] Fix | Delete
* @since 4.7.0
[105] Fix | Delete
* @var bool
[106] Fix | Delete
*/
[107] Fix | Delete
public $show_tagcloud = true;
[108] Fix | Delete
[109] Fix | Delete
/**
[110] Fix | Delete
* Whether to show the taxonomy in the quick/bulk edit panel.
[111] Fix | Delete
*
[112] Fix | Delete
* @since 4.7.0
[113] Fix | Delete
* @var bool
[114] Fix | Delete
*/
[115] Fix | Delete
public $show_in_quick_edit = true;
[116] Fix | Delete
[117] Fix | Delete
/**
[118] Fix | Delete
* Whether to display a column for the taxonomy on its post type listing screens.
[119] Fix | Delete
*
[120] Fix | Delete
* @since 4.7.0
[121] Fix | Delete
* @var bool
[122] Fix | Delete
*/
[123] Fix | Delete
public $show_admin_column = false;
[124] Fix | Delete
[125] Fix | Delete
/**
[126] Fix | Delete
* The callback function for the meta box display.
[127] Fix | Delete
*
[128] Fix | Delete
* @since 4.7.0
[129] Fix | Delete
* @var bool|callable
[130] Fix | Delete
*/
[131] Fix | Delete
public $meta_box_cb = null;
[132] Fix | Delete
[133] Fix | Delete
/**
[134] Fix | Delete
* The callback function for sanitizing taxonomy data saved from a meta box.
[135] Fix | Delete
*
[136] Fix | Delete
* @since 5.1.0
[137] Fix | Delete
* @var callable
[138] Fix | Delete
*/
[139] Fix | Delete
public $meta_box_sanitize_cb = null;
[140] Fix | Delete
[141] Fix | Delete
/**
[142] Fix | Delete
* An array of object types this taxonomy is registered for.
[143] Fix | Delete
*
[144] Fix | Delete
* @since 4.7.0
[145] Fix | Delete
* @var array
[146] Fix | Delete
*/
[147] Fix | Delete
public $object_type = null;
[148] Fix | Delete
[149] Fix | Delete
/**
[150] Fix | Delete
* Capabilities for this taxonomy.
[151] Fix | Delete
*
[152] Fix | Delete
* @since 4.7.0
[153] Fix | Delete
* @var stdClass
[154] Fix | Delete
*/
[155] Fix | Delete
public $cap;
[156] Fix | Delete
[157] Fix | Delete
/**
[158] Fix | Delete
* Rewrites information for this taxonomy.
[159] Fix | Delete
*
[160] Fix | Delete
* @since 4.7.0
[161] Fix | Delete
* @var array|false
[162] Fix | Delete
*/
[163] Fix | Delete
public $rewrite;
[164] Fix | Delete
[165] Fix | Delete
/**
[166] Fix | Delete
* Query var string for this taxonomy.
[167] Fix | Delete
*
[168] Fix | Delete
* @since 4.7.0
[169] Fix | Delete
* @var string|false
[170] Fix | Delete
*/
[171] Fix | Delete
public $query_var;
[172] Fix | Delete
[173] Fix | Delete
/**
[174] Fix | Delete
* Function that will be called when the count is updated.
[175] Fix | Delete
*
[176] Fix | Delete
* @since 4.7.0
[177] Fix | Delete
* @var callable
[178] Fix | Delete
*/
[179] Fix | Delete
public $update_count_callback;
[180] Fix | Delete
[181] Fix | Delete
/**
[182] Fix | Delete
* Whether this taxonomy should appear in the REST API.
[183] Fix | Delete
*
[184] Fix | Delete
* Default false. If true, standard endpoints will be registered with
[185] Fix | Delete
* respect to $rest_base and $rest_controller_class.
[186] Fix | Delete
*
[187] Fix | Delete
* @since 4.7.4
[188] Fix | Delete
* @var bool $show_in_rest
[189] Fix | Delete
*/
[190] Fix | Delete
public $show_in_rest;
[191] Fix | Delete
[192] Fix | Delete
/**
[193] Fix | Delete
* The base path for this taxonomy's REST API endpoints.
[194] Fix | Delete
*
[195] Fix | Delete
* @since 4.7.4
[196] Fix | Delete
* @var string|bool $rest_base
[197] Fix | Delete
*/
[198] Fix | Delete
public $rest_base;
[199] Fix | Delete
[200] Fix | Delete
/**
[201] Fix | Delete
* The controller for this taxonomy's REST API endpoints.
[202] Fix | Delete
*
[203] Fix | Delete
* Custom controllers must extend WP_REST_Controller.
[204] Fix | Delete
*
[205] Fix | Delete
* @since 4.7.4
[206] Fix | Delete
* @var string|bool $rest_controller_class
[207] Fix | Delete
*/
[208] Fix | Delete
public $rest_controller_class;
[209] Fix | Delete
[210] Fix | Delete
/**
[211] Fix | Delete
* The controller instance for this taxonomy's REST API endpoints.
[212] Fix | Delete
*
[213] Fix | Delete
* Lazily computed. Should be accessed using {@see WP_Taxonomy::get_rest_controller()}.
[214] Fix | Delete
*
[215] Fix | Delete
* @since 5.5.0
[216] Fix | Delete
* @var WP_REST_Controller $rest_controller
[217] Fix | Delete
*/
[218] Fix | Delete
public $rest_controller;
[219] Fix | Delete
[220] Fix | Delete
/**
[221] Fix | Delete
* The default term name for this taxonomy. If you pass an array you have
[222] Fix | Delete
* to set 'name' and optionally 'slug' and 'description'.
[223] Fix | Delete
*
[224] Fix | Delete
* @since 5.5.0
[225] Fix | Delete
* @var array|string
[226] Fix | Delete
*/
[227] Fix | Delete
public $default_term;
[228] Fix | Delete
[229] Fix | Delete
/**
[230] Fix | Delete
* Whether terms in this taxonomy should be sorted in the order they are provided to `wp_set_object_terms()`.
[231] Fix | Delete
*
[232] Fix | Delete
* Use this in combination with `'orderby' => 'term_order'` when fetching terms.
[233] Fix | Delete
*
[234] Fix | Delete
* @since 2.5.0
[235] Fix | Delete
* @var bool|null
[236] Fix | Delete
*/
[237] Fix | Delete
public $sort = null;
[238] Fix | Delete
[239] Fix | Delete
/**
[240] Fix | Delete
* Array of arguments to automatically use inside `wp_get_object_terms()` for this taxonomy.
[241] Fix | Delete
*
[242] Fix | Delete
* @since 2.6.0
[243] Fix | Delete
* @var array|null
[244] Fix | Delete
*/
[245] Fix | Delete
public $args = null;
[246] Fix | Delete
[247] Fix | Delete
/**
[248] Fix | Delete
* Whether it is a built-in taxonomy.
[249] Fix | Delete
*
[250] Fix | Delete
* @since 4.7.0
[251] Fix | Delete
* @var bool
[252] Fix | Delete
*/
[253] Fix | Delete
public $_builtin;
[254] Fix | Delete
[255] Fix | Delete
/**
[256] Fix | Delete
* Constructor.
[257] Fix | Delete
*
[258] Fix | Delete
* See the register_taxonomy() function for accepted arguments for `$args`.
[259] Fix | Delete
*
[260] Fix | Delete
* @since 4.7.0
[261] Fix | Delete
*
[262] Fix | Delete
* @global WP $wp Current WordPress environment instance.
[263] Fix | Delete
*
[264] Fix | Delete
* @param string $taxonomy Taxonomy key, must not exceed 32 characters.
[265] Fix | Delete
* @param array|string $object_type Name of the object type for the taxonomy object.
[266] Fix | Delete
* @param array|string $args Optional. Array or query string of arguments for registering a taxonomy.
[267] Fix | Delete
* Default empty array.
[268] Fix | Delete
*/
[269] Fix | Delete
public function __construct( $taxonomy, $object_type, $args = array() ) {
[270] Fix | Delete
$this->name = $taxonomy;
[271] Fix | Delete
[272] Fix | Delete
$this->set_props( $object_type, $args );
[273] Fix | Delete
}
[274] Fix | Delete
[275] Fix | Delete
/**
[276] Fix | Delete
* Sets taxonomy properties.
[277] Fix | Delete
*
[278] Fix | Delete
* See the register_taxonomy() function for accepted arguments for `$args`.
[279] Fix | Delete
*
[280] Fix | Delete
* @since 4.7.0
[281] Fix | Delete
*
[282] Fix | Delete
* @param array|string $object_type Name of the object type for the taxonomy object.
[283] Fix | Delete
* @param array|string $args Array or query string of arguments for registering a taxonomy.
[284] Fix | Delete
*/
[285] Fix | Delete
public function set_props( $object_type, $args ) {
[286] Fix | Delete
$args = wp_parse_args( $args );
[287] Fix | Delete
[288] Fix | Delete
/**
[289] Fix | Delete
* Filters the arguments for registering a taxonomy.
[290] Fix | Delete
*
[291] Fix | Delete
* @since 4.4.0
[292] Fix | Delete
*
[293] Fix | Delete
* @param array $args Array of arguments for registering a taxonomy.
[294] Fix | Delete
* See the register_taxonomy() function for accepted arguments.
[295] Fix | Delete
* @param string $taxonomy Taxonomy key.
[296] Fix | Delete
* @param string[] $object_type Array of names of object types for the taxonomy.
[297] Fix | Delete
*/
[298] Fix | Delete
$args = apply_filters( 'register_taxonomy_args', $args, $this->name, (array) $object_type );
[299] Fix | Delete
[300] Fix | Delete
$defaults = array(
[301] Fix | Delete
'labels' => array(),
[302] Fix | Delete
'description' => '',
[303] Fix | Delete
'public' => true,
[304] Fix | Delete
'publicly_queryable' => null,
[305] Fix | Delete
'hierarchical' => false,
[306] Fix | Delete
'show_ui' => null,
[307] Fix | Delete
'show_in_menu' => null,
[308] Fix | Delete
'show_in_nav_menus' => null,
[309] Fix | Delete
'show_tagcloud' => null,
[310] Fix | Delete
'show_in_quick_edit' => null,
[311] Fix | Delete
'show_admin_column' => false,
[312] Fix | Delete
'meta_box_cb' => null,
[313] Fix | Delete
'meta_box_sanitize_cb' => null,
[314] Fix | Delete
'capabilities' => array(),
[315] Fix | Delete
'rewrite' => true,
[316] Fix | Delete
'query_var' => $this->name,
[317] Fix | Delete
'update_count_callback' => '',
[318] Fix | Delete
'show_in_rest' => false,
[319] Fix | Delete
'rest_base' => false,
[320] Fix | Delete
'rest_controller_class' => false,
[321] Fix | Delete
'default_term' => null,
[322] Fix | Delete
'sort' => null,
[323] Fix | Delete
'args' => null,
[324] Fix | Delete
'_builtin' => false,
[325] Fix | Delete
);
[326] Fix | Delete
[327] Fix | Delete
$args = array_merge( $defaults, $args );
[328] Fix | Delete
[329] Fix | Delete
// If not set, default to the setting for 'public'.
[330] Fix | Delete
if ( null === $args['publicly_queryable'] ) {
[331] Fix | Delete
$args['publicly_queryable'] = $args['public'];
[332] Fix | Delete
}
[333] Fix | Delete
[334] Fix | Delete
if ( false !== $args['query_var'] && ( is_admin() || false !== $args['publicly_queryable'] ) ) {
[335] Fix | Delete
if ( true === $args['query_var'] ) {
[336] Fix | Delete
$args['query_var'] = $this->name;
[337] Fix | Delete
} else {
[338] Fix | Delete
$args['query_var'] = sanitize_title_with_dashes( $args['query_var'] );
[339] Fix | Delete
}
[340] Fix | Delete
} else {
[341] Fix | Delete
// Force 'query_var' to false for non-public taxonomies.
[342] Fix | Delete
$args['query_var'] = false;
[343] Fix | Delete
}
[344] Fix | Delete
[345] Fix | Delete
if ( false !== $args['rewrite'] && ( is_admin() || get_option( 'permalink_structure' ) ) ) {
[346] Fix | Delete
$args['rewrite'] = wp_parse_args(
[347] Fix | Delete
$args['rewrite'],
[348] Fix | Delete
array(
[349] Fix | Delete
'with_front' => true,
[350] Fix | Delete
'hierarchical' => false,
[351] Fix | Delete
'ep_mask' => EP_NONE,
[352] Fix | Delete
)
[353] Fix | Delete
);
[354] Fix | Delete
[355] Fix | Delete
if ( empty( $args['rewrite']['slug'] ) ) {
[356] Fix | Delete
$args['rewrite']['slug'] = sanitize_title_with_dashes( $this->name );
[357] Fix | Delete
}
[358] Fix | Delete
}
[359] Fix | Delete
[360] Fix | Delete
// If not set, default to the setting for 'public'.
[361] Fix | Delete
if ( null === $args['show_ui'] ) {
[362] Fix | Delete
$args['show_ui'] = $args['public'];
[363] Fix | Delete
}
[364] Fix | Delete
[365] Fix | Delete
// If not set, default to the setting for 'show_ui'.
[366] Fix | Delete
if ( null === $args['show_in_menu'] || ! $args['show_ui'] ) {
[367] Fix | Delete
$args['show_in_menu'] = $args['show_ui'];
[368] Fix | Delete
}
[369] Fix | Delete
[370] Fix | Delete
// If not set, default to the setting for 'public'.
[371] Fix | Delete
if ( null === $args['show_in_nav_menus'] ) {
[372] Fix | Delete
$args['show_in_nav_menus'] = $args['public'];
[373] Fix | Delete
}
[374] Fix | Delete
[375] Fix | Delete
// If not set, default to the setting for 'show_ui'.
[376] Fix | Delete
if ( null === $args['show_tagcloud'] ) {
[377] Fix | Delete
$args['show_tagcloud'] = $args['show_ui'];
[378] Fix | Delete
}
[379] Fix | Delete
[380] Fix | Delete
// If not set, default to the setting for 'show_ui'.
[381] Fix | Delete
if ( null === $args['show_in_quick_edit'] ) {
[382] Fix | Delete
$args['show_in_quick_edit'] = $args['show_ui'];
[383] Fix | Delete
}
[384] Fix | Delete
[385] Fix | Delete
$default_caps = array(
[386] Fix | Delete
'manage_terms' => 'manage_categories',
[387] Fix | Delete
'edit_terms' => 'manage_categories',
[388] Fix | Delete
'delete_terms' => 'manage_categories',
[389] Fix | Delete
'assign_terms' => 'edit_posts',
[390] Fix | Delete
);
[391] Fix | Delete
[392] Fix | Delete
$args['cap'] = (object) array_merge( $default_caps, $args['capabilities'] );
[393] Fix | Delete
unset( $args['capabilities'] );
[394] Fix | Delete
[395] Fix | Delete
$args['object_type'] = array_unique( (array) $object_type );
[396] Fix | Delete
[397] Fix | Delete
// If not set, use the default meta box.
[398] Fix | Delete
if ( null === $args['meta_box_cb'] ) {
[399] Fix | Delete
if ( $args['hierarchical'] ) {
[400] Fix | Delete
$args['meta_box_cb'] = 'post_categories_meta_box';
[401] Fix | Delete
} else {
[402] Fix | Delete
$args['meta_box_cb'] = 'post_tags_meta_box';
[403] Fix | Delete
}
[404] Fix | Delete
}
[405] Fix | Delete
[406] Fix | Delete
$args['name'] = $this->name;
[407] Fix | Delete
[408] Fix | Delete
// Default meta box sanitization callback depends on the value of 'meta_box_cb'.
[409] Fix | Delete
if ( null === $args['meta_box_sanitize_cb'] ) {
[410] Fix | Delete
switch ( $args['meta_box_cb'] ) {
[411] Fix | Delete
case 'post_categories_meta_box':
[412] Fix | Delete
$args['meta_box_sanitize_cb'] = 'taxonomy_meta_box_sanitize_cb_checkboxes';
[413] Fix | Delete
break;
[414] Fix | Delete
[415] Fix | Delete
case 'post_tags_meta_box':
[416] Fix | Delete
default:
[417] Fix | Delete
$args['meta_box_sanitize_cb'] = 'taxonomy_meta_box_sanitize_cb_input';
[418] Fix | Delete
break;
[419] Fix | Delete
}
[420] Fix | Delete
}
[421] Fix | Delete
[422] Fix | Delete
// Default taxonomy term.
[423] Fix | Delete
if ( ! empty( $args['default_term'] ) ) {
[424] Fix | Delete
if ( ! is_array( $args['default_term'] ) ) {
[425] Fix | Delete
$args['default_term'] = array( 'name' => $args['default_term'] );
[426] Fix | Delete
}
[427] Fix | Delete
$args['default_term'] = wp_parse_args(
[428] Fix | Delete
$args['default_term'],
[429] Fix | Delete
array(
[430] Fix | Delete
'name' => '',
[431] Fix | Delete
'slug' => '',
[432] Fix | Delete
'description' => '',
[433] Fix | Delete
)
[434] Fix | Delete
);
[435] Fix | Delete
}
[436] Fix | Delete
[437] Fix | Delete
foreach ( $args as $property_name => $property_value ) {
[438] Fix | Delete
$this->$property_name = $property_value;
[439] Fix | Delete
}
[440] Fix | Delete
[441] Fix | Delete
$this->labels = get_taxonomy_labels( $this );
[442] Fix | Delete
$this->label = $this->labels->name;
[443] Fix | Delete
}
[444] Fix | Delete
[445] Fix | Delete
/**
[446] Fix | Delete
* Adds the necessary rewrite rules for the taxonomy.
[447] Fix | Delete
*
[448] Fix | Delete
* @since 4.7.0
[449] Fix | Delete
*
[450] Fix | Delete
* @global WP $wp Current WordPress environment instance.
[451] Fix | Delete
*/
[452] Fix | Delete
public function add_rewrite_rules() {
[453] Fix | Delete
/* @var WP $wp */
[454] Fix | Delete
global $wp;
[455] Fix | Delete
[456] Fix | Delete
// Non-publicly queryable taxonomies should not register query vars, except in the admin.
[457] Fix | Delete
if ( false !== $this->query_var && $wp ) {
[458] Fix | Delete
$wp->add_query_var( $this->query_var );
[459] Fix | Delete
}
[460] Fix | Delete
[461] Fix | Delete
if ( false !== $this->rewrite && ( is_admin() || get_option( 'permalink_structure' ) ) ) {
[462] Fix | Delete
if ( $this->hierarchical && $this->rewrite['hierarchical'] ) {
[463] Fix | Delete
$tag = '(.+?)';
[464] Fix | Delete
} else {
[465] Fix | Delete
$tag = '([^/]+)';
[466] Fix | Delete
}
[467] Fix | Delete
[468] Fix | Delete
add_rewrite_tag( "%$this->name%", $tag, $this->query_var ? "{$this->query_var}=" : "taxonomy=$this->name&term=" );
[469] Fix | Delete
add_permastruct( $this->name, "{$this->rewrite['slug']}/%$this->name%", $this->rewrite );
[470] Fix | Delete
}
[471] Fix | Delete
}
[472] Fix | Delete
[473] Fix | Delete
/**
[474] Fix | Delete
* Removes any rewrite rules, permastructs, and rules for the taxonomy.
[475] Fix | Delete
*
[476] Fix | Delete
* @since 4.7.0
[477] Fix | Delete
*
[478] Fix | Delete
* @global WP $wp Current WordPress environment instance.
[479] Fix | Delete
*/
[480] Fix | Delete
public function remove_rewrite_rules() {
[481] Fix | Delete
/* @var WP $wp */
[482] Fix | Delete
global $wp;
[483] Fix | Delete
[484] Fix | Delete
// Remove query var.
[485] Fix | Delete
if ( false !== $this->query_var ) {
[486] Fix | Delete
$wp->remove_query_var( $this->query_var );
[487] Fix | Delete
}
[488] Fix | Delete
[489] Fix | Delete
// Remove rewrite tags and permastructs.
[490] Fix | Delete
if ( false !== $this->rewrite ) {
[491] Fix | Delete
remove_rewrite_tag( "%$this->name%" );
[492] Fix | Delete
remove_permastruct( $this->name );
[493] Fix | Delete
}
[494] Fix | Delete
}
[495] Fix | Delete
[496] Fix | Delete
/**
[497] Fix | Delete
* Registers the ajax callback for the meta box.
[498] Fix | Delete
*
[499] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function