Fix permalink structure refs. Props to dougal. fixes #1643
git-svn-id: http://svn.automattic.com/wordpress/trunk@2834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2844d3a71c
commit
e72b47cd5f
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue