From c55d125063f143bc344500e7eb1143cf18fc84ed Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 26 Feb 2009 00:04:11 +0000 Subject: [PATCH] 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 --- wp-app.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-app.php b/wp-app.php index 15d924abb0..a8966acc3b 100644 --- a/wp-app.php +++ b/wp-app.php @@ -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; }