Make WordPress Core


Ignore:
Timestamp:
09/10/2015 09:28:18 PM (9 years ago)
Author:
wonderboymusic
Message:

Move comment_footer_die() from wp-admin/comment.php to wp-admin/includes/comment.php.

See #33813.

File:
1 edited

Legend:

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

    r33774 r34019  
    3232    elseif ( 'trash' == $_GET['dt'] )
    3333        $action = 'trash';
    34 }
    35 
    36 /**
    37  * Display error message at bottom of comments.
    38  *
    39  * @param string $msg Error Message. Assumed to contain HTML and be sanitized.
    40  */
    41 function comment_footer_die( $msg ) {
    42     echo "<div class='wrap'><p>$msg</p></div>";
    43     include( ABSPATH . 'wp-admin/admin-footer.php' );
    44     die;
    4534}
    4635
Note: See TracChangeset for help on using the changeset viewer.