[wp-trac] [WordPress Trac] #58924: Add a small precision on the documentation of the register_taxonomy function

WordPress Trac noreply at wordpress.org
Thu Jul 27 13:57:55 UTC 2023


#58924: Add a small precision on the documentation of the register_taxonomy
function
-----------------------------+-----------------------------
 Reporter:  ltrihan          |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Taxonomy         |    Version:  6.2.2
 Severity:  minor            |   Keywords:
  Focuses:  docs             |
-----------------------------+-----------------------------
 Hello,

 I was wondering if it wouldn't be interesting to add a little
 clarification here https://github.com/WordPress/wordpress-
 develop/blob/12a0205829c1411f16b4e216a713a153bcc62e2f/src/wp-
 includes/taxonomy.php#L410 .

 Indeed, I searched for a while why when editing a CPT I did not have the
 categories in the form of a checkbox. By searching on
 https://developer.wordpress.org/reference/functions/register_taxonomy/ I
 found no indication about the change of UI of the choice of categories on
 the edition of a post.

 I would find it interesting to add a very small precision to indicate that
 the `hierarchical` parameter changes the way of choosing its categories on
 a post: checkboxes if it is true, input text if false.

 I hope I wrote and classified my ticket correctly, sorry if not, this is
 my first ticket / first contribution.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58924>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list