diff --git a/wp-content/wpalchemy/MetaBox.php b/wp-content/wpalchemy/MetaBox.php index 27bccdb..ac666a2 100755 --- a/wp-content/wpalchemy/MetaBox.php +++ b/wp-content/wpalchemy/MetaBox.php @@ -433,6 +433,7 @@ class WPAlchemy_MetaBox var $in_loop = FALSE; var $in_template = FALSE; var $group_tag; + var $loop_wrap; var $current_post_id; /** @@ -1988,18 +1989,19 @@ function get_the_select_state($n, $v = NULL) * @since 1.1 * @access public */ - function the_group_open($t = 'div') + function the_group_open($t = 'div', $loop_wrap = 'div') { - echo $this->get_the_group_open($t); + echo $this->get_the_group_open($t, $loop_wrap); } /** * @since 1.1 * @access public */ - function get_the_group_open($t = 'div') + function get_the_group_open($t = 'div', $loop_wrap = 'div') { $this->group_tag = $t; + $this->loop_wrap = $loop_wrap; $loop_open = NULL; @@ -2018,7 +2020,7 @@ function get_the_group_open($t = 'div') array_push($loop_open_classes, 'wpa_loop_limit-' . $this->_loop_data->limit); } - $loop_open = '