mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
5932ee4425
commit
d89ba0be47
@ -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
Block a user