[wp-trac] [WordPress Trac] #17115: Publishing an empty post results in success
WordPress Trac
noreply at wordpress.org
Wed Jan 28 21:13:09 UTC 2015
#17115: Publishing an empty post results in success
------------------------------------+------------------------------
Reporter: kawauso | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: administration
------------------------------------+------------------------------
Comment (by adamsilverstein):
In [attachment:17115.4.diff]:
* Disable all buttons in the Publish metabox when the post-new.php page is
loaded
* Add callback on change/keyup for editor, title and excerpt, re-enabling
publish buttons, and unhooking callbacks
* Fix requires JS, no-js users get old behaviour
Buttons disabled on TinyMCE init:
[[Image(http://f.cl.ly/items/3y443O1z3U0c0e0G0z3K/Add_New_Post__sadasd__WordPress_2015-01-28_14-09-24.jpg)]]
Buttons re-enabled after any changes:
[[Image(http://f.cl.ly/items/0n430g3u3k0G3v3D0d1k/Add_New_Post__sadasd__WordPress_2015-01-28_14-11-34.jpg)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17115#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list