[wp-trac] [WordPress Trac] #50848: Clarify the usage of null for "auto_update_{$type}" filter

WordPress Trac noreply at wordpress.org
Wed Aug 19 02:16:32 UTC 2020


#50848: Clarify the usage of null for "auto_update_{$type}" filter
-----------------------------+---------------------
 Reporter:  SergeyBiryukov   |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  5.5.1
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  docs
-----------------------------+---------------------

Comment (by SergeyBiryukov):

 Replying to [comment:3 audrasjb]:
 > I don't think there is anything else to update than the expected types
 for this param. It looks pretty clear to me that `null` value has the same
 result than `false`. Thoughts?

 If `null` is always interpreted as `false` here, could we always pass
 `false` instead then?

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


More information about the wp-trac mailing list