diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-09-10 18:26:30 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-09-10 18:26:30 +0000 |
commit | b658e546840b8f23e2a1e413f6510104d73ea91f (patch) | |
tree | 1cd6bbbda247b5ae6cfff42f2cea731b4d8b667f /wp-admin/admin-functions.php | |
parent | 305d7e7228e097a26a98abdb45eb8283df7d5603 (diff) | |
download | wordpress-mu-b658e546840b8f23e2a1e413f6510104d73ea91f.tar.gz wordpress-mu-b658e546840b8f23e2a1e413f6510104d73ea91f.tar.xz wordpress-mu-b658e546840b8f23e2a1e413f6510104d73ea91f.zip |
Sync with WP 2.2.3
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1051 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/admin-functions.php')
-rw-r--r-- | wp-admin/admin-functions.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 37daf60..cb53fd3 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -105,6 +105,8 @@ function wp_write_post() { $_POST['post_date'] = sprintf( "%04d-%02d-%02d %02d:%02d:%02d", $aa, $mm, $jj, $hh, $mn, $ss ); $_POST['post_date_gmt'] = get_gmt_from_date( $_POST['post_date'] ); } + + unset($_POST['no_filter']); // Create the post. $post_ID = wp_insert_post( $_POST ); @@ -283,6 +285,8 @@ function edit_post() { delete_meta( $key ); } + unset($_POST['no_filter']); + add_meta( $post_ID ); wp_update_post( $_POST ); @@ -2381,4 +2385,4 @@ The Webmaster"); } add_action('update_option_new_admin_email', 'update_option_new_admin_email', 10, 2); -?>
\ No newline at end of file +?> |