[wp-trac] [WordPress Trac] #57058: Document the globals in unregister_taxonomy() and wp_term_is_shared().

WordPress Trac noreply at wordpress.org
Fri Nov 11 12:37:25 UTC 2022


#57058: Document the globals in unregister_taxonomy() and wp_term_is_shared().
------------------------------+-----------------------
 Reporter:  upadalavipul      |       Owner:  audrasjb
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.2
Component:  Taxonomy          |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+-----------------------

Comment (by SergeyBiryukov):

 In [changeset:"54810" 54810]:
 {{{
 #!CommitTicketReference repository="" revision="54810"
 Coding Standards: Declare `$wp_taxonomies` global at the top of
 `unregister_taxonomy()`.

 This brings some consistency with how the global is declared in other
 taxonomy functions.

 Follow-up to [36243], [38747], [54794].

 See #57058.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57058#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list