Fix permalink structure refs. Props to dougal. fixes #1643

git-svn-id: https://develop.svn.wordpress.org/trunk@2834 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-09-02 17:08:39 +00:00
parent 5932ee4425
commit d89ba0be47

View File

@ -915,7 +915,7 @@ class WP_Rewrite {
}
function get_year_permastruct() {
$structure = $this->get_date_permastruct($permalink_structure);
$structure = $this->get_date_permastruct($this->permalink_structure);
if (empty($structure)) {
return false;
@ -930,7 +930,7 @@ class WP_Rewrite {
}
function get_month_permastruct() {
$structure = $this->get_date_permastruct($permalink_structure);
$structure = $this->get_date_permastruct($this->permalink_structure);
if (empty($structure)) {
return false;
@ -944,7 +944,7 @@ class WP_Rewrite {
}
function get_day_permastruct() {
return $this->get_date_permastruct($permalink_structure);
return $this->get_date_permastruct($this->permalink_structure);
}
function get_category_permastruct() {