mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Update/Install: Provide basic back-compat styling for the .update-message
CSS class in the plugins list table.
This change restores only the margin and padding styles for the `.update-message` class when used by plugins in the context of adding arbitrary rows to the list table. The inline-update colors and icon styles were not restored, expressly with a wide variety of plugin use-cases in mind. Merge of [38237] to the 4.6 branch. Props ovann86, rahulsprajapati, ocean90, DrewAPicture. Props helen for review. Fixes #37504. git-svn-id: https://develop.svn.wordpress.org/branches/4.6@38238 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bce06728a4
commit
a977def616
@ -1308,6 +1308,10 @@ div.error {
|
||||
padding: 1px 12px;
|
||||
}
|
||||
|
||||
div[class="update-message"] { /* back-compat for pre-4.6 */
|
||||
padding: 0.5em 12px 0.5em 0;
|
||||
}
|
||||
|
||||
.notice p,
|
||||
.notice-title,
|
||||
div.updated p,
|
||||
|
@ -1350,7 +1350,8 @@ ul.cat-checklist {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.plugins .plugin-update-tr .notice {
|
||||
.plugins .plugin-update-tr .notice,
|
||||
.plugins .plugin-update-tr div[class="update-message"] { /* back-compat for pre-4.6 */
|
||||
margin: 5px 20px 15px 40px;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user