Ticket #5211: vars-version.phpdoc.diff
| File vars-version.phpdoc.diff, 1.6 KB (added by , 18 years ago) |
|---|
-
vars.php
1 1 <?php 2 /** 3 * Creates common globals for the rest of WordPress 4 * @package WordPress 5 * @since 1.5 6 */ 2 7 3 8 // On which page are we ? 4 9 if ( is_admin() ) { … … 41 46 $is_IE = ( $is_macIE || $is_winIE ); 42 47 43 48 // Server detection 49 50 /** 51 * Whether the server software is Apache or something else 52 * @global bool $is_apache 53 */ 44 54 $is_apache = ((strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) || (strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false)) ? true : false; 55 56 /** 57 * Whether the server software is IIS or something else 58 * @global bool $is_IIS 59 */ 45 60 $is_IIS = (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false) ? true : false; 46 61 47 62 ?> 63 No newline at end of file -
version.php
1 1 <?php 2 /** 3 * This holds the version number in a separate file so we can bump it without cluttering the SVN 4 */ 2 5 3 // This holds the version number in a separate file so we can bump it without cluttering the SVN 6 /** 7 * The WordPress version string 8 * 9 * @global string $wp_version 10 */ 11 $wp_version = '2.4-bleeding'; 4 12 5 $wp_version = '2.4-bleeding'; 13 /** 14 * Holds the WordPress DB revision, increments when changes are made to the WordPress DB scheme 15 * changes. 16 * 17 * @global int $wp_db_version 18 */ 6 19 $wp_db_version = 6124; 7 20 8 ?> 21 ?> 22 No newline at end of file