WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #43517, comment 28


Ignore:
Timestamp:
07/07/2020 08:27:01 AM (17 months ago)
Author:
enrico.sorcinelli
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43517, comment 28

    v1 v2  
    44Moreover I'd like to add some missing features like:
    55
    6 - remove `default_taxonomy_{$taxonomy}` option on `unregister_taxonomy`
    7 - check and prevent to delete the default term for custom taxonomies like 'wp_delete_term()` does for category taxonomy.
     6- remove `default_taxonomy_{$taxonomy}` option on `unregister_taxonomy()`
     7- check and prevent to delete the default term for custom taxonomies like `wp_delete_term()` does for category taxonomy.
    88
    99So I refreshed the patch by updating also `default_term` parameter documentation (I leaved `string|array` type).