[wp-trac] [WordPress Trac] #32228: "Page updated" notification should fade as soon as another change is made.
WordPress Trac
noreply at wordpress.org
Mon Dec 7 16:09:38 UTC 2015
#32228: "Page updated" notification should fade as soon as another change is made.
-------------------------------------------------+-------------------------
Reporter: nthnldtk | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Editor | Review
Severity: normal | Version:
Keywords: ux-feedback good-first-bug needs- | Resolution:
patch | Focuses:
| administration
-------------------------------------------------+-------------------------
Comment (by iambriansreed):
This patch uses the jquery plugin timeago (https://github.com/rmm5t
/jquery-timeago). The plugin already has translation support its just a
matter of bringing that code in.
Would it makes sense to have a built in shortcode like:
`[timeago date="2015-12-05T13:11:59Z"]` or `[timeago date="1449504353"]`
So when custom post types update the `post_updated_messages` they can add
these in effortlessly.
Potentially we could make lots of admin notices time relevant with this
shortcode as well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32228#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list