[wp-trac] Re: [WordPress Trac] #7437: When restoring a Page revision, a blank success message is shown

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 30 11:43:06 GMT 2008


#7437: When restoring a Page revision, a blank success message is shown
----------------------------+-----------------------------------------------
 Reporter:  Viper007Bond    |        Owner:  anonymous
     Type:  defect          |       Status:  closed   
 Priority:  high            |    Milestone:  2.6.1    
Component:  Administration  |      Version:  2.6      
 Severity:  normal          |   Resolution:  fixed    
 Keywords:  has-patch       |  
----------------------------+-----------------------------------------------
Comment (by Viper007Bond):

 Replying to [comment:7 DD32]:
 > My thought is that that page is loaded on urls that do not include
 ?revision=123 etc, which would cause it.

 Oh, right, that `wp_post_revision_title()` gets called on every single
 page load. We should wrap the whole thing in a `$_GET['message']`
 conditional.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7437#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list