Return correct edit link. Props josephscott. fixes #9147
git-svn-id: https://develop.svn.wordpress.org/trunk@10651 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
dcbe2f432d
commit
73d1177638
@ -1067,6 +1067,8 @@ EOD;
|
||||
log_app('function',"get_feed($page, '$post_type')");
|
||||
ob_start();
|
||||
|
||||
$this->ENTRY_PATH = $post_type;
|
||||
|
||||
if(!isset($page)) {
|
||||
$page = 1;
|
||||
}
|
||||
@ -1136,6 +1138,7 @@ EOD;
|
||||
$varname = 'p';
|
||||
break;
|
||||
case 'attachment':
|
||||
$this->ENTRY_PATH = 'attachment';
|
||||
$varname = 'attachment_id';
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user