Post locks:

- Show 'Saving revision...' while autosaving after a post has been taken over. Change to 'Your latest changes were saved as a revision.' when autosave completes.
- Make sure a user exists before using $user->display_name.
- Add 'post_lock_text' action for extending the message text.

git-svn-id: https://develop.svn.wordpress.org/trunk@24042 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2013-04-22 03:08:51 +00:00
parent db96892205
commit 008336ee9c
5 changed files with 37 additions and 13 deletions

View File

@@ -3399,6 +3399,7 @@ td.plugin-title p {
width: 450px;
margin-left: -225px;
background: #fff;
line-height: 1.5;
z-index: 1000005;
}
@@ -3425,14 +3426,22 @@ td.plugin-title p {
#notification-dialog .post-locked-avatar {
float: left;
margin-right: 20px;
margin: 0 20px 20px 0;
}
#notification-dialog .currently-editing {
margin-bottom: 20px;
#notification-dialog .wp-tab-first {
outline: 0;
}
#notification-dialog .locked-saving img {
float: left;
margin-right: 3px;
}
#notification-dialog-wrap.saving .locked-saving,
#notification-dialog-wrap.saved .locked-saved {
display: inline;
}
/*------------------------------------------------------------------------------
11.1 - Custom Fields