mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 07:07:38 +02:00
Return correct edit link. Props josephscott. fixes #9147 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
219ce056c2
commit
c55d125063
@ -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