[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 09:39:23 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 DD32):
Just a quick thought: just using $_GET['revision'] could cause a undefined
index warning, also means its calling for the revision title regardless..
It could be added to an if(isset($_GET['revision'])) or similar?
--
Ticket URL: <http://trac.wordpress.org/ticket/7437#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list