Changeset 34019
- Timestamp:
- 09/10/2015 09:28:18 PM (10 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r33774 r34019 32 32 elseif ( 'trash' == $_GET['dt'] ) 33 33 $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;45 34 } 46 35 -
trunk/src/wp-admin/includes/comment.php
r33963 r34019 172 172 wp_enqueue_script( 'jquery-table-hotkeys' ); 173 173 } 174 175 /** 176 * Display error message at bottom of comments. 177 * 178 * @param string $msg Error Message. Assumed to contain HTML and be sanitized. 179 */ 180 function comment_footer_die( $msg ) { 181 echo "<div class='wrap'><p>$msg</p></div>"; 182 include( ABSPATH . 'wp-admin/admin-footer.php' ); 183 die; 184 }
Note: See TracChangeset
for help on using the changeset viewer.