[wp-trac] [WordPress Trac] #11504: PHP notices when publishing with QuickPress
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 25 10:17:14 UTC 2009
#11504: PHP notices when publishing with QuickPress
------------------------------+---------------------------------------------
Reporter: caesarsgrunt | Owner: westi
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 3.0
Component: Warnings/Notices | Version: 2.9
Severity: normal | Keywords: has-patch needs-testing
------------------------------+---------------------------------------------
Comment(by nacin):
Ok.
QuickPress will never pass $user_ID, but setting it to null is not
correct. Root of the problem: it should instead set it to
$GLOBALS['user_ID'], or pass it via POST to begin with.
Patching.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11504#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list