Make WordPress Core

Ticket #55799: 55799.diff

File 55799.diff, 2.1 KB (added by dd32, 3 years ago)
  • src/wp-includes/compat.php

    diff --git a/src/wp-includes/compat.php b/src/wp-includes/compat.php
    index 60e8c0772b1..57b6954a352 100644
    a b function _hash_hmac( $algo, $data, $key, $binary = false ) { 
    309309         * I.e. when PHP 7.4.0 becomes the minimum requirement, this polyfill
    310310         * can be safely removed.
    311311         *
     312         * @ignore
    312313         * @since 3.9.2
    313314         *
    314315         * @param string $known_string Expected string.
    function hash_equals( $known_string, $user_string ) { 
    349350         * Verify that the content of a variable is an array or an object
    350351         * implementing the Countable interface.
    351352         *
     353         * @ignore
    352354         * @since 4.9.6
    353355         *
    354356         * @param mixed $value The value to check.
    function is_countable( $value ) { 
    370372         * Verify that the content of a variable is an array or an object
    371373         * implementing the Traversable interface.
    372374         *
     375         * @ignore
    373376         * @since 4.9.6
    374377         *
    375378         * @param mixed $value The value to check.
    function is_iterable( $value ) { 
    387390         * Get the first key of the given array without affecting
    388391         * the internal array pointer.
    389392         *
     393         * @ignore
    390394         * @since 5.9.0
    391395         *
    392396         * @param array $array An array.
    function array_key_first( array $array ) { 
    407411         * Get the last key of the given array without affecting the
    408412         * internal array pointer.
    409413         *
     414         * @ignore
    410415         * @since 5.9.0
    411416         *
    412417         * @param array $array An array.
    function array_key_last( array $array ) { 
    431436         * Performs a case-sensitive check indicating if needle is
    432437         * contained in haystack.
    433438         *
     439         * @ignore
    434440         * @since 5.9.0
    435441         *
    436442         * @param string $haystack The string to search in.
    function str_contains( $haystack, $needle ) { 
    449455         * Performs a case-sensitive check indicating if
    450456         * the haystack begins with needle.
    451457         *
     458         * @ignore
    452459         * @since 5.9.0
    453460         *
    454461         * @param string $haystack The string to search in.
    function str_starts_with( $haystack, $needle ) { 
    471478         * Performs a case-sensitive check indicating if
    472479         * the haystack ends with needle.
    473480         *
     481         * @ignore
    474482         * @since 5.9.0
    475483         *
    476484         * @param string $haystack The string to search in.