Make WordPress Core


Ignore:
Timestamp:
04/20/2004 10:56:47 PM (20 years ago)
Author:
saxmatt
Message:

Changed to superglobals, and eliminated $use_cache (since we always do).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-functions-general.php

    r996 r1108  
    309309
    310310function get_calendar($daylength = 1) {
    311     global $wpdb, $HTTP_GET_VARS, $m, $monthnum, $year, $timedifference, $month, $weekday, $tableposts, $posts;
     311    global $wpdb, $m, $monthnum, $year, $timedifference, $month, $weekday, $tableposts, $posts;
    312312
    313313    // Quick check. If we have no posts at all, abort!
     
    318318    }
    319319
    320     if (isset($HTTP_GET_VARS['w'])) {
    321         $w = ''.intval($HTTP_GET_VARS['w']);
     320    if (isset($_GET['w'])) {
     321        $w = ''.intval($_GET['w']);
    322322    }
    323323    $time_difference = get_settings('time_difference');
Note: See TracChangeset for help on using the changeset viewer.