Ticket #10303: admin-message-core-wporg.diff
| File admin-message-core-wporg.diff, 2.0 KB (added by tott, 4 years ago) |
|---|
-
wp-admin/post.php
63 63 $location = add_query_arg( 'message', 4, get_edit_post_link( $post_ID, 'url' ) ); 64 64 } 65 65 66 do_action_ref_array( 'pre_post_redirect', array( $post_ID, $location ) ); 67 66 68 wp_redirect( $location ); 67 69 } 68 70 -
wp-admin/edit-page-form.php
404 404 <div id="notice" class="error"><p><?php echo $notice ?></p></div> 405 405 <?php endif; ?> 406 406 <?php if (isset($_GET['message'])) : ?> 407 <div id="message" class="updated fade">< p><?php echo $messages[$_GET['message']]; ?></p></div>407 <div id="message" class="updated fade"><?php echo apply_filters( 'page_admin_message', '<p>' . $messages[$_GET['message']] . '</p>' ); ?></div> 408 408 <?php endif; ?> 409 409 410 410 <?php -
wp-admin/edit-form-advanced.php
554 554 <div id="notice" class="error"><p><?php echo $notice ?></p></div> 555 555 <?php endif; ?> 556 556 <?php if (isset($_GET['message'])) : ?> 557 <div id="message" class="updated fade">< p><?php echo $messages[$_GET['message']]; ?></p></div>557 <div id="message" class="updated fade"><?php echo apply_filters( 'post_admin_message', '<p>' . $messages[$_GET['message']] . '</p>' ); ?></div> 558 558 <?php endif; ?> 559 559 <form name="post" action="post.php" method="post" id="post"> 560 560 <?php -
wp-admin/page.php
57 57 } else { 58 58 $location = add_query_arg( 'message', 1, get_edit_post_link( $page_ID, 'url' ) ); 59 59 } 60 61 do_action_ref_array( 'pre_page_redirect', array( $page_ID, $location ) ); 60 62 61 63 wp_redirect($location); 62 64 }
