Plugin Directory

Changeset 1459218


Ignore:
Timestamp:
07/22/2016 07:59:28 PM (10 years ago)
Author:
clickfunnels.com
Message:

Don’t stream file includes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • clickfunnels/trunk/clickfunnels.php

    r1459216 r1459218  
    5656            );
    5757
    58             $posts = get_posts($query_args);
    59             $cf_page = current($posts);
     58            $the_posts = get_posts($query_args);
     59            $cf_page = current($the_posts);
    6060
    6161            if ($cf_page) {
     
    193193        global $_POST;
    194194
    195         if ($_POST['post_type'] != 'clickfunnels') {
     195        if (@$_POST['post_type'] != 'clickfunnels') {
    196196            return;
    197197        }
    198198
    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'];
    206206
    207207        if (isset($cf_slug)) {
     
    333333
    334334    public function show_meta_box( $post ) {
    335         ob_start();
    336335        include 'pages/edit.php';
    337         echo ob_get_clean();
    338336    }
    339337
Note: See TracChangeset for help on using the changeset viewer.