Make WordPress Core


Ignore:
Timestamp:
04/05/2019 04:59:34 PM (3 years ago)
Author:
flixos90
Message:

Administration: Improve user experience and clarify when in recovery mode.

This changeset introduces several changes around usability when recovery mode is active:

  • Display a notice in the admin clarifying that the user is in recovery mode.
  • Use a highlight color for the admin bar link to exit recovery mode.
  • Exit recovery mode automatically when logging out.
  • Include a recovery mode indicator in the title tag.

Props aandrewdixon, azaozz, dhanukanuwan, flixos90, henrywright, karmatosed, mapk, melchoyce, spacedmonkey, TimothyBlynJacobs, tinkerbelly.
See #46608.

File:
1 edited

Legend:

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

    r44973 r45117  
    121121add_action( 'admin_notices', 'paused_themes_notice', 5 );
    122122add_action( 'admin_notices', 'maintenance_nag', 10 );
     123add_action( 'admin_notices', 'wp_recovery_mode_nag', 1 );
    123124
    124125add_filter( 'update_footer', 'core_update_footer' );
Note: See TracChangeset for help on using the changeset viewer.