Unset no_filter. Props xknown. fixes #4720
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@6018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a48ea12857
commit
c845b0a1d8
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue