[wp-trac] [WordPress Trac] #5753: Upgrade Complete Continue > "You attempted to edit a post that doesn't exist. Perhaps it was deleted?"

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 2 16:31:41 GMT 2008


#5753: Upgrade Complete Continue > "You attempted to edit a post that doesn't
exist. Perhaps it was deleted?"
-----------------------+----------------------------------------------------
 Reporter:  lloydbudd  |       Owner:  anonymous
     Type:  defect     |      Status:  new      
 Priority:  lowest     |   Milestone:  2.6      
Component:  General    |     Version:           
 Severity:  trivial    |    Keywords:           
-----------------------+----------------------------------------------------
 Upgrade Complete Continue > "You attempted to edit a post that doesn't
 exist. Perhaps it was deleted?"

 ENV: WP trunk r6705 (2.4-bleeding)

 Editing a post, and then Upgrade WordPress: link is
 http://localhost/wp/trunk/wp-admin/upgrade.php?step=1&backto=/wp/trunk/wp-
 admin/post.php?action=edit&post=44

 upgrade.php:

 {{{
         if ( empty( $_GET['backto'] ) )
                 $backto = __get_option('home') . '/';
         else
                 $backto = clean_url(stripslashes($_GET['backto']));
 }}}

 So {{{$_GET['backto']}}} is only {{{/wp/trunk/wp-
 admin/post.php?action=edit}}} [[br]] {{{$_GET['post']}}} would be needed
 to return to the post.

 ADDITIONAL DETAILS

 Severity set to trivial, this bug just makes us look less than pros ;-)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5753>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list