New menu UI. Props filosofo. see #12713

git-svn-id: https://develop.svn.wordpress.org/trunk@14248 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-04-27 01:05:58 +00:00
parent cb27ac1a30
commit 77be931ef4
20 changed files with 2278 additions and 1203 deletions
+2 -2
View File
@@ -2190,7 +2190,7 @@ function wp_insert_post($postarr = array(), $wp_error = false) {
$data = stripslashes_deep( $data );
$where = array( 'ID' => $post_ID );
if ($update) {
if ( $update ) {
do_action( 'pre_post_update', $post_ID );
if ( false === $wpdb->update( $wpdb->posts, $data, $where ) ) {
if ( $wp_error )
@@ -2265,7 +2265,7 @@ function wp_insert_post($postarr = array(), $wp_error = false) {
wp_transition_post_status($data['post_status'], $previous_status, $post);
if ( $update)
if ( $update )
do_action('edit_post', $post_ID, $post);
do_action('save_post', $post_ID, $post);