Make WordPress Core

Ticket #42796: 42796.diff

File 42796.diff, 502 bytes (added by chetan200891, 8 years ago)

Created patch to fix @staticvar

  • wp-includes/pluggable.php

    diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php
    index 294b3e4..63683fa 100644
    a b if ( !function_exists('wp_rand') ) : 
    23272327 *
    23282328 * @global string $rnd_value
    23292329 * @staticvar string $seed
    2330  * @staticvar bool $external_rand_source_available
     2330 * @staticvar bool $use_random_int_functionality
    23312331 *
    23322332 * @param int $min Lower limit for the generated number
    23332333 * @param int $max Upper limit for the generated number