Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57923, comment 12


Ignore:
Timestamp:
03/15/2023 02:07:33 PM (16 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57923, comment 12

    initial v1  
    55So I think I would prefer something like [attachment:"57923.diff"] here:
    66* Make `wp_set_object_terms()` and `wp_set_post_terms()` handle `null` consistently. Even if it's not technically a supported type, it's a reasonable value to account for in this case.
    7 * Clarify the DocBlock to mention an empty array, rather than an ambiguous empty value.
     7* Clarify the DocBlock to mention passing an empty array as the recommended way to remove all related terms, rather than an ambiguous empty value.