Support » Requests and Feedback » Request: Action notification bar fade out / close button

  • Currently, after performing an action in the admin area, a notification bar appears at the top of the screen informing that the action was either successful or has failed. For example: “Settings saved.” “Post draft updated. Preview post” “Post updated. View post” etcetera.

    The message appears in code in a div with an ID of “message” and a class of “updated fade”:
    <div id="message" class="updated fade"><p>Settings saved.</p></div>

    This message persists until you either navigate away or perform another action. The persistence is unnecessary, and in my opinion can create a usability issue if the same action is performed twice in a row, leading to confusion (“is this a new message, or the old one?”).

    I would like to see this notification either disappear after an appropriate length of time, or to include a ‘close’ button or link (eg. “X” or “close”).

    After the bar’s message has been delivered it serves no purpose, and need not take up screen space. Until this behavior is modified, I welcome any hacks, code, or plugins anyone can share to get rid of this hindrance.

Viewing 1 replies (of 1 total)
  • Thread Starter jstnryan

    (@jstnryan)

    For anyone curious, in the mean time, I’ve resorted to manually editing all of the appropriate files in /wp-admin/ adding the following to the div tag:
    onclick="jQuery('div#message').css('display','none');"

Viewing 1 replies (of 1 total)
  • The topic ‘Request: Action notification bar fade out / close button’ is closed to new replies.