diff options
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 +?> |