Make WordPress Core

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


Ignore:
Timestamp:
01/19/2026 12:27:17 PM (3 weeks ago)
Author:
justlevine
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64483, comment 12

    initial v1  
    55I'm looking for the prior discussion, but this was actually an intentional design decision when folks decided to support `mixed` input and not just a shaped array/object (as @hbhalodia noted, `input_schema` being optional is also intentional).
    66
    7 The gate therefore intentionally differentiates between an ability ''intentionally called with no value'' (`$a->execute()`), but not a falsey/potentially malformed one (e.g. $a->execute( 0 )` or `$a->execute( [ ] )`.
     7The gate therefore intentionally differentiates between an ability ''intentionally called with no value'' (`$a->execute()`), but not a falsey/potentially malformed one (e.g. `$a->execute( 0 )` or `$a->execute( [ ] )`.
    88
    99Based on that I'd suggest '''against''' the change proposed https://github.com/WordPress/wordpress-develop/pull/10755.