Ticket #17749: globalize-version-vars.diff

File globalize-version-vars.diff, 1.0 KB (added by nbachiyski, 3 months ago)
  • wp-includes/version.php

     
    44 * 
    55 * @global string $wp_version 
    66 */ 
    7 $wp_version = '3.6-alpha-23495'; 
     7$GLOBALS['wp_version'] = '3.6-alpha-23495'; 
    88 
    99/** 
    1010 * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. 
    1111 * 
    1212 * @global int $wp_db_version 
    1313 */ 
    14 $wp_db_version = 22441; 
     14$GLOBALS['wp_db_version'] = 22441; 
    1515 
    1616/** 
    1717 * Holds the TinyMCE version 
    1818 * 
    1919 * @global string $tinymce_version 
    2020 */ 
    21 $tinymce_version = '358-23403'; 
     21$GLOBALS['tinymce_version'] = '358-23403'; 
    2222 
    2323/** 
    2424 * Holds the required PHP version 
    2525 * 
    2626 * @global string $required_php_version 
    2727 */ 
    28 $required_php_version = '5.2.4'; 
     28$GLOBALS['required_php_version'] = '5.2.4'; 
    2929 
    3030/** 
    3131 * Holds the required MySQL version 
    3232 * 
    3333 * @global string $required_mysql_version 
    3434 */ 
    35 $required_mysql_version = '5.0'; 
     35$GLOBALS['required_mysql_version'] = '5.0';