[wp-trac] [WordPress Trac] #19914: wp-app.php assumes elements exist
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 28 13:33:51 UTC 2012
#19914: wp-app.php assumes elements exist
--------------------------+-----------------------------
Reporter: rmccue | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: AtomPub | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
First bug found by Gorilla, yay!
So, submitting a very sparse entry gives errors.
Submitted document:
{{{
<?xml version="1.0" encoding="utf-8"?>
<entry>
<title>From a Gorilla!</title>
<id>tag:ryanmccue.info,2012:016540021841</id>
<summary type="text">Summary from a
<strong>&lt;Gorilla&gt;</strong> at
2012-01-28T23:30:20+10:00</summary>
</entry>
}}}
Gives the following errors:
{{{
Notice: Trying to get property of non-object in wp-app.php on line 403
Warning: Invalid argument supplied for foreach() in wp-app.php on line
403
Notice: Trying to get property of non-object in wp-app.php on line 426
Notice: Trying to get property of non-object in wp-app.php on line 427
Notice: Trying to get property of non-object in wp-app.php on line 428
Notice: Trying to get property of non-object in wp-app.php on line 429
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19914>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list