Plugin Directory

Changeset 1803986


Ignore:
Timestamp:
01/16/2018 07:14:28 PM (8 years ago)
Author:
Vicomi
Message:

Fix bug

Location:
voting-platform-feelbacks/trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • voting-platform-feelbacks/trunk/readme.txt

    r1803617 r1803986  
    66Requires at least: 2.8 or higher
    77Tested up to: 4.9.1
    8 Stable tag: 2.01
     8Stable tag: 2.02
    99
    1010WHAT'S YOUR REACTION? With Feelback Reactions your audience can express how they are feeling about your content.
     
    166166== Changelog ==
    167167
    168 = 2.01 =
     168= 2.02 =
    169169* Moved plugin location links to the admin sidebar
    170170* Created a settings sub page in addition to the plugin dashboard sub page
     
    183183* Fix Registration
    184184
    185 = 1.42 =
    186 * Tested for version 4.8.2
    187 
    188 
    189185== Upgrade Notice ==
    190186
    191 = 2.01 =
     187= 2.02 =
    192188* Moved plugin location links to the admin sidebar
    193189* Created a settings sub page in addition to the plugin dashboard sub page
     
    206202* Fix Registration
    207203
    208 = 1.42 =
    209 * Tested for version 4.8.2
    210 
    211204== For more Info ==
    212205
  • voting-platform-feelbacks/trunk/vicomi-feelbacks.php

    r1803617 r1803986  
    55Description: Feelbacks is a new voting engagement widget that allows users to express their feelings about your content
    66Author: Vicomi <support@vicomi.com>
    7 Version: 2.01
     7Version: 2.02
    88Author URI: http://vicomi.com/
    99*/
    1010
    1111require_once(dirname(__FILE__) . '/lib/vc-api.php');
    12 define('VICOMI_FEELBACKS_V', '2.01');
     12define('VICOMI_FEELBACKS_V', '2.02');
    1313include_once(dirname(__FILE__) . '/settings-page.php');
    1414
     
    205205         $vicomi_checkboxes_selected = get_option('vicomi_checkboxes',false);
    206206     }else{
    207         $vicomi_checkboxes_selected = array('page','post','product'); /* default values like we set in the settings page */
     207        $vicomi_checkboxes_selected = array('page','post'); /* default values like we set in the settings page */
    208208     }
    209209     
     
    237237            $show_vicomoki_fellbacks = true;
    238238        }
    239         if(in_array('product',$vicomi_checkboxes_selected) && (is_product()) && (!$exclude_this_page)){
    240             $show_vicomoki_fellbacks = true;
    241         }
     239        // if(in_array('product',$vicomi_checkboxes_selected) && (is_product()) && (!$exclude_this_page)){
     240        // $show_vicomoki_fellbacks = true;
     241        // }
    242242
    243243        $curent_post_type = get_post_type();
    244         $basic_cpt_array = ['post','page','archive','product','attachment'];
     244        $basic_cpt_array = ['post','page','archive','attachment'];
    245245        if(in_array($curent_post_type,$vicomi_checkboxes_selected) && !in_array($curent_post_type,$basic_cpt_array) && (!$exclude_this_page)){
    246246            $show_vicomoki_fellbacks = true;
Note: See TracChangeset for help on using the changeset viewer.