Make WordPress Core


Ignore:
Timestamp:
12/23/2009 03:16:53 PM (17 years ago)
Author:
ryan
Message:

Remove unneeded quotes around vars. Props johnbillion. fixes #10245

File:
1 edited

Legend:

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

    r12356 r12513  
    468468                $my_month = $wp_locale->get_month(substr($m, 4, 2));
    469469                $my_day = intval(substr($m, 6, 2));
    470                 $title = "$my_year" . ($my_month ? "$t_sep$my_month" : "") . ($my_day ? "$t_sep$my_day" : "");
     470                $title = $my_year . ($my_month ? $t_sep . $my_month : "") . ($my_day ? $t_sep . $my_day : "");
    471471        }
    472472
     
    474474                $title = $year;
    475475                if ( !empty($monthnum) )
    476                         $title .= "$t_sep" . $wp_locale->get_month($monthnum);
     476                        $title .= $t_sep . $wp_locale->get_month($monthnum);
    477477                if ( !empty($day) )
    478                         $title .= "$t_sep" . zeroise($day, 2);
     478                        $title .= $t_sep . zeroise($day, 2);
    479479        }
    480480
     
    492492                $term = $wp_query->get_queried_object();
    493493                $term = $term->name;
    494                 $title = "$tax$t_sep$term";
     494                $title = $tax . $t_sep . $term;
    495495        }
    496496
Note: See TracChangeset for help on using the changeset viewer.