Make WordPress Core


Ignore:
Timestamp:
12/24/2004 01:34:47 AM (21 years ago)
Author:
saxmatt
Message:

Cleaning up blogfilename.

File:
1 edited

Legend:

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

    r1940 r1997  
    3131   
    3232    if (empty($catlink)) {
    33         $file = get_settings('home') . '/' . get_settings('blogfilename');
     33        $file = get_settings('home') . '/';
    3434        $catlink = $file.$querystring_start.'cat'.$querystring_equal.$cat_ID;
    3535    } else {
     
    214214    global $wpdb;
    215215    global $querystring_start, $querystring_equal, $querystring_separator;
    216     if (($file == 'blah') || ($file == '')) $file = get_settings('home') . '/' . get_settings('blogfilename');
     216    if (($file == 'blah') || ($file == '')) $file = get_settings('home') . '/';
    217217    if (!$selected) $selected=$cat;
    218218    $sort_column = 'cat_'.$sort_column;
     
    287287    // Optiondates now works
    288288    if ('' == $file) {
    289         $file = get_settings('home') . '/' . get_settings('blogfilename');
     289        $file = get_settings('home') . '/';
    290290    }
    291291
Note: See TracChangeset for help on using the changeset viewer.