WordPress.org

Make WordPress Core

Ticket #21316: 21316.patch

File 21316.patch, 467 bytes (added by SergeyBiryukov, 21 months ago)
  • wp-includes/functions.php

     
    55 * @package WordPress 
    66 */ 
    77 
    8 require( ABSPATH . WPINC . '/option.php' ); 
     8if ( version_compare( $required_php_version, phpversion(), '<=' ) ) 
     9        require( ABSPATH . WPINC . '/option.php' ); 
    910 
    1011/** 
    1112 * Converts given date string into a different format.