| @@ 1175-1179 (lines=5) @@ | ||
| 1172 | 	        { | |
| 1173 | $v['label']=''; | |
| 1174 | } | |
| 1175 | if(!empty($v['description'])) | |
| 1176 | 	        { | |
| 1177 | $desc=wp_strip_all_tags($v['description']); | |
| 1178 | 	            $posdata=array('post_excerpt'=>$desc); | |
| 1179 | } | |
| 1180 | if(!empty($v['section'])) | |
| 1181 | 	        { | |
| 1182 | $desc=wp_strip_all_tags($v['section']); | |
| @@ 1180-1184 (lines=5) @@ | ||
| 1177 | $desc=wp_strip_all_tags($v['description']); | |
| 1178 | 	            $posdata=array('post_excerpt'=>$desc); | |
| 1179 | } | |
| 1180 | if(!empty($v['section'])) | |
| 1181 | 	        { | |
| 1182 | $desc=wp_strip_all_tags($v['section']); | |
| 1183 | 	            $posdata=array('post_excerpt'=>$desc); | |
| 1184 | } | |
| 1185 | ||
| 1186 | $attachID=NULL; | |
| 1187 | //Resizor - add option to setting if required | |