[wp-trac] [WordPress Trac] #17115: Publishing an empty post results in success
WordPress Trac
noreply at wordpress.org
Wed Jan 1 22:30:13 UTC 2014
#17115: Publishing an empty post results in success
----------------------------+------------------------------
Reporter: kawauso | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------------------
Comment (by henrywright):
Replying to [comment:15 nerrad]:
> I saw that code but it appears that if title, content, and excerpt are
all empty this bailout guard is NOT happening. Instead posts ARE getting
saved to the db.
I think the problem is they are ''never'' all empty. If you try removing
everything in the content and hit save, you'll see some whitespace
persists (even though you thought you removed all characters).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17115#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list