From d89ba0be47705eb52bda9065e45b13835cc052bd Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 2 Sep 2005 17:08:39 +0000 Subject: [PATCH] Fix permalink structure refs. Props to dougal. fixes #1643 git-svn-id: https://develop.svn.wordpress.org/trunk@2834 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/classes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/classes.php b/wp-includes/classes.php index d02751478f..770f848110 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -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() {