WordPress.org

Make WordPress Core

Changeset 38237


Ignore:
Timestamp:
08/09/2016 10:44:07 PM (5 years ago)
Author:
DrewAPicture
Message:

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.

Props ovann86, rahulsprajapati, ocean90, DrewAPicture.
Props helen for review.
See #37504.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r38185 r38237  
    13091309}
    13101310
     1311div[class="update-message"] { /* back-compat for pre-4.6 */
     1312    padding: 0.5em 12px 0.5em 0;
     1313}
     1314
    13111315.notice p,
    13121316.notice-title,
  • trunk/src/wp-admin/css/list-tables.css

    r37912 r38237  
    13511351}
    13521352
    1353 .plugins .plugin-update-tr .notice {
     1353.plugins .plugin-update-tr .notice,
     1354.plugins .plugin-update-tr div[class="update-message"] { /* back-compat for pre-4.6 */
    13541355    margin: 5px 20px 15px 40px;
    13551356}
Note: See TracChangeset for help on using the changeset viewer.