WordPress.org

Make WordPress Core

Ticket #31241: 31241.3.diff

File 31241.3.diff, 587 bytes (added by mzak, 5 years ago)

Updated to comply with coding standards

  • wp-admin/edit-tags.php

     
    306306</h2>
    307307
    308308<?php if ( $message ) : ?>
    309 <div id="message" class="updated"><p><?php echo $message; ?></p></div>
     309<div id="message" class="<?php if ( 4 == $msg || 5 == $msg ) echo 'error'; else echo 'updated'; ?>"><p><?php echo $message; ?></p></div>
    310310<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']);
    311311endif; ?>
    312312<div id="ajax-response"></div>