Changeset 1459218
- Timestamp:
- 07/22/2016 07:59:28 PM (10 years ago)
- File:
-
- 1 edited
-
clickfunnels/trunk/clickfunnels.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
clickfunnels/trunk/clickfunnels.php
r1459216 r1459218 56 56 ); 57 57 58 $ posts = get_posts($query_args);59 $cf_page = current($ posts);58 $the_posts = get_posts($query_args); 59 $cf_page = current($the_posts); 60 60 61 61 if ($cf_page) { … … 193 193 global $_POST; 194 194 195 if ( $_POST['post_type'] != 'clickfunnels') {195 if (@$_POST['post_type'] != 'clickfunnels') { 196 196 return; 197 197 } 198 198 199 $cf_slug = $_POST['cf_slug'];200 $cf_page_type = $_POST['cf_page_type'];201 $cf_step_id = $_POST['cf_step_id'];202 $cf_step_name = $_POST['cf_step_name'];203 $cf_funnel_id = $_POST['cf_funnel_id'];204 $cf_funnel_name = $_POST['cf_funnel_name'];205 $cf_step_url = $_POST['cf_step_url'];199 $cf_slug = @$_POST['cf_slug']; 200 $cf_page_type = @$_POST['cf_page_type']; 201 $cf_step_id = @$_POST['cf_step_id']; 202 $cf_step_name = @$_POST['cf_step_name']; 203 $cf_funnel_id = @$_POST['cf_funnel_id']; 204 $cf_funnel_name = @$_POST['cf_funnel_name']; 205 $cf_step_url = @$_POST['cf_step_url']; 206 206 207 207 if (isset($cf_slug)) { … … 333 333 334 334 public function show_meta_box( $post ) { 335 ob_start();336 335 include 'pages/edit.php'; 337 echo ob_get_clean();338 336 } 339 337
Note: See TracChangeset
for help on using the changeset viewer.