Skip to content

Commit

Permalink
do a second cleaning of the meta data after the user manipulates it
Browse files Browse the repository at this point in the history
  • Loading branch information
farinspace committed Jun 29, 2011
1 parent 29e78dd commit 7ab60af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion WPAlchemy/MetaBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @copyright Copyright (c) 2009, Dimas Begunoff, http://farinspace.com
* @license http://en.wikipedia.org/wiki/MIT_License The MIT License
* @package WPAlchemy
* @version 1.4.11
* @version 1.4.12
* @link http://github.com/farinspace/wpalchemy
* @link http://farinspace.com
*/
Expand Down Expand Up @@ -2170,6 +2170,8 @@ function _save($post_id)
* @since 1.3.4
*/
if (FALSE === $new_data) return $post_id;

WPAlchemy_MetaBox::clean($new_data);
}

// get current fields, use $real_post_id (checked for in both modes)
Expand Down

0 comments on commit 7ab60af

Please sign in to comment.