Make WordPress Core

Ticket #5211: vars-version.phpdoc.diff

File vars-version.phpdoc.diff, 1.6 KB (added by darkdragon, 18 years ago)

phpdoc documentation for vars.php and version.php

  • vars.php

     
    11<?php
     2/**
     3 * Creates common globals for the rest of WordPress
     4 * @package WordPress
     5 * @since 1.5
     6 */
    27
    38// On which page are we ?
    49if ( is_admin() ) {
     
    4146$is_IE = ( $is_macIE || $is_winIE );
    4247
    4348// Server detection
     49
     50/**
     51 * Whether the server software is Apache or something else
     52 * @global bool $is_apache
     53 */
    4454$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 */
    4560$is_IIS = (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false) ? true : false;
    4661
    4762?>
     63 No newline at end of file
  • version.php

     
    11<?php
     2/**
     3 * This holds the version number in a separate file so we can bump it without cluttering the SVN
     4 */
    25
    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';
    412
    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 */
    619$wp_db_version = 6124;
    720
    8 ?>
     21?>
     22 No newline at end of file