Make WordPress Core


Ignore:
Timestamp:
07/05/2020 11:55:14 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Administration: Bring the update nag in line with other admin notices.

In addition to more consistent display, this gives it a visible border on the About page.

Props desrosj, nikhilbhansi, afercia, SergeyBiryukov.
Fixes #50372.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/update.php

    r48202 r48316  
    319319        );
    320320    }
    321     echo "<div class='update-nag'>$msg</div>";
     321
     322    echo "<div class='update-nag notice notice-warning inline'>$msg</div>";
    322323}
    323324
     
    765766    }
    766767
    767     echo "<div class='update-nag'>$msg</div>";
     768    echo "<div class='update-nag notice notice-warning inline'>$msg</div>";
    768769}
    769770
Note: See TracChangeset for help on using the changeset viewer.