Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #59478


Ignore:
Timestamp:
09/27/2023 01:51:31 PM (5 months ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59478

    • Property Component changed from General to Taxonomy
  • Ticket #59478 – Description

    initial v1  
    1 When using the function term_exists() in wp-includes/taxonomy.php, it returns null if no terms exist. This behaviour seems incorrect and is inconsistent with other similar functions in the same file (taxonomy_exists() is one example).
     1When using the function `term_exists()` in `wp-includes/taxonomy.php`, it returns `null` if no terms exist. This behaviour seems incorrect and is inconsistent with other similar functions in the same file (`taxonomy_exists()` is one example).
    22
    3 It would make more sense to return false.
     3It would make more sense to return `false`.