diff --git src/wp-includes/class-wp-taxonomy.php src/wp-includes/class-wp-taxonomy.php
index 94353d8..1836f2a 100644
|
|
|
final class WP_Taxonomy { |
| 152 | 152 | public $cap; |
| 153 | 153 | |
| 154 | 154 | /** |
| | 155 | * Whether this taxonomy should remember the order in which terms are added to objects |
| | 156 | * |
| | 157 | * @var bool |
| | 158 | */ |
| | 159 | public $sort; |
| | 160 | |
| | 161 | /** |
| 155 | 162 | * Rewrites information for this taxonomy. |
| 156 | 163 | * |
| 157 | 164 | * @since 4.7.0 |
| … |
… |
final class WP_Taxonomy { |
| 267 | 274 | 'meta_box_cb' => null, |
| 268 | 275 | 'meta_box_sanitize_cb' => null, |
| 269 | 276 | 'capabilities' => array(), |
| | 277 | 'sort' => false, |
| 270 | 278 | 'rewrite' => true, |
| 271 | 279 | 'query_var' => $this->name, |
| 272 | 280 | 'update_count_callback' => '', |
diff --git src/wp-includes/taxonomy.php src/wp-includes/taxonomy.php
index df828b0..97589c1 100644
|
|
|
function is_taxonomy_hierarchical( $taxonomy ) { |
| 377 | 377 | * @type string $delete_terms Default 'manage_categories'. |
| 378 | 378 | * @type string $assign_terms Default 'edit_posts'. |
| 379 | 379 | * } |
| | 380 | * @type bool $sort Whether this taxonomy should remember the order in which terms are |
| | 381 | * added to objects. Default false. |
| 380 | 382 | * @type bool|array $rewrite { |
| 381 | 383 | * Triggers the handling of rewrites for this taxonomy. Default true, using $taxonomy as slug. To prevent |
| 382 | 384 | * rewrite, set to false. To specify rewrite rules, an array can be passed with any of these keys: |