[wp-trac] [WordPress Trac] #18368: Add CSS Class Info to post_updated_messages array/filter
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 11 23:38:17 UTC 2011
#18368: Add CSS Class Info to post_updated_messages array/filter
------------------------------------+------------------------------
Reporter: cgrymala | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Warnings/Notices | Version: 3.2.1
Severity: minor | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+------------------------------
Comment (by cgrymala):
My thought behind this was that there are some plugins that make some
elements of a post (especially custom fields or taxonomies) required in
order to actually publish it. If those elements don't have values, they
won't let the post get published; it gets saved as a draft, instead.
In those instances (and there are probably others), the style of the
"message" is a bit deceiving; since the "This post was not published" type
of message is forced to have the same style as the "The post was published
successfully" type of message.
I understand that there are no instances (at least, yet) in the core that
would need to use this; but I just thought it would be a nice, simple way
to allow plugin authors to extend the way the messages are displayed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18368#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list