Return correct edit link. Props josephscott. fixes #9147
git-svn-id: http://svn.automattic.com/wordpress/trunk@10651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b193b920bf
commit
db7632bbf0
|
@ -1067,6 +1067,8 @@ EOD;
|
||||||
log_app('function',"get_feed($page, '$post_type')");
|
log_app('function',"get_feed($page, '$post_type')");
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|
||||||
|
$this->ENTRY_PATH = $post_type;
|
||||||
|
|
||||||
if(!isset($page)) {
|
if(!isset($page)) {
|
||||||
$page = 1;
|
$page = 1;
|
||||||
}
|
}
|
||||||
|
@ -1136,6 +1138,7 @@ EOD;
|
||||||
$varname = 'p';
|
$varname = 'p';
|
||||||
break;
|
break;
|
||||||
case 'attachment':
|
case 'attachment':
|
||||||
|
$this->ENTRY_PATH = 'attachment';
|
||||||
$varname = 'attachment_id';
|
$varname = 'attachment_id';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue