Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57487, comment 55


Ignore:
Timestamp:
07/14/2023 06:54:42 PM (18 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57487, comment 55

    initial v1  
    1414
    1515just under the `if empty()` check.
     16
     17Edit: even better, add that in the existing conditional:
     18{{{
     19// Return true if the current mode encompasses all modes or the check is for any mode.
     20if ( 'all' === $current_mode || 'any' === $mode ) {
     21    return true;
     22}
     23}}}