Make WordPress Core


Ignore:
Timestamp:
01/03/2021 09:55:04 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Various docblock corrections particularly relating to boolean types.

See #51800

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-hook.php

    r49489 r49926  
    187187    /**
    188188     * Checks if a specific action has been registered for this hook.
     189     *
     190     * When using the $function_to_check argument, this function may return a non-boolean value
     191     * that evaluates to false (e.g. 0), so use the === operator for testing the return value.
    189192     *
    190193     * @since 4.7.0
Note: See TracChangeset for help on using the changeset viewer.