Spice Box - Version 0.3

Version Description

  • Disable spicepress theme feedback popup form for security reasons.
Download this release

Release Info

Developer spicethemes
Plugin Icon wp plugin Spice Box
Version 0.3
Comparing to
See all releases

Code changes from version 0.2.9 to 0.3

Files changed (3) hide show
  1. feedback-mail.php +1 -1
  2. readme.txt +5 -1
  3. spicebox.php +5 -5
feedback-mail.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  if( isset($_POST["Resason"]) || isset($_POST["TextReason"])) {
4
  $HtmlText ='';
5
- $pass = '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'; // not the key, but the token
6
 
7
  $url = 'https://api.sendgrid.com/';
8
 
2
 
3
  if( isset($_POST["Resason"]) || isset($_POST["TextReason"])) {
4
  $HtmlText ='';
5
+ $pass = '#'; // Add your key
6
 
7
  $url = 'https://api.sendgrid.com/';
8
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: spicethemes
3
  Tags: widget, admin, widgets
4
  Requires at least: 3.3+
5
  Tested up to: 4.9.5
6
- Stable tag: 0.2.9
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -63,3 +63,7 @@ This plugin create repeater controls in the customizer settings allowing you to
63
  = 0.2.9 =
64
 
65
  * Created theme inner pages.
 
 
 
 
3
  Tags: widget, admin, widgets
4
  Requires at least: 3.3+
5
  Tested up to: 4.9.5
6
+ Stable tag: 0.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
63
  = 0.2.9 =
64
 
65
  * Created theme inner pages.
66
+
67
+ = 0.3 =
68
+
69
+ * Disable spicepress theme feedback popup form for security reasons.
spicebox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: SpiceBox
4
  Plugin URI:
5
  Description: Enhances SpiceThemes with extra functionality.
6
- Version: 0.2.9
7
  Author: Spicethemes
8
  Author URI: https://github.com
9
  Text Domain: spicebox
@@ -11,13 +11,13 @@ Text Domain: spicebox
11
  define( 'SPICEB_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
12
  define( 'SPICEB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
13
 
14
- function spiceb_spicepress_feedback_scripts() {
15
  wp_register_script('spiceb-custom-script', SPICEB_PLUGIN_URL. '/inc/js/custom-js.js',array('jquery','wp-color-picker'),'1.1', true);
16
  wp_enqueue_script('spiceb-custom-script');
17
  wp_enqueue_style('spiceb_style',SPICEB_PLUGIN_URL.'inc/css/feedback-popup.css');
18
  }
19
  add_action( 'admin_enqueue_scripts', 'spiceb_spicepress_feedback_scripts' );
20
-
21
  function spiceb_activate() {
22
  $theme = wp_get_theme(); // gets the current theme
23
  if ( 'SpicePress' == $theme->name || 'Rockers' == $theme->name || 'Content' == $theme->name || 'Certify' == $theme->name || 'Stacy' == $theme->name || 'SpicePress Child Theme' == $theme->name){
@@ -60,7 +60,7 @@ $item_details_page = get_option('item_details_page');
60
  }
61
 
62
  // User Feedback popup code
63
- if ('SpicePress' == $theme->name || 'Rockers' == $theme->name || 'Content' == $theme->name || 'Certify' == $theme->name || 'Stacy' == $theme->name || 'SpicePress Child Theme' == $theme->name)
64
  {
65
  add_action( 'switch_theme', 'spicepresstheme_deactivate_message' );
66
  function spicepresstheme_deactivate_message()
@@ -71,5 +71,5 @@ add_action( 'switch_theme', 'spicepresstheme_deactivate_message' );
71
  }
72
 
73
  }
74
- }
75
  ?>
3
  Plugin Name: SpiceBox
4
  Plugin URI:
5
  Description: Enhances SpiceThemes with extra functionality.
6
+ Version: 0.3
7
  Author: Spicethemes
8
  Author URI: https://github.com
9
  Text Domain: spicebox
11
  define( 'SPICEB_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
12
  define( 'SPICEB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
13
 
14
+ /*function spiceb_spicepress_feedback_scripts() {
15
  wp_register_script('spiceb-custom-script', SPICEB_PLUGIN_URL. '/inc/js/custom-js.js',array('jquery','wp-color-picker'),'1.1', true);
16
  wp_enqueue_script('spiceb-custom-script');
17
  wp_enqueue_style('spiceb_style',SPICEB_PLUGIN_URL.'inc/css/feedback-popup.css');
18
  }
19
  add_action( 'admin_enqueue_scripts', 'spiceb_spicepress_feedback_scripts' );
20
+ */
21
  function spiceb_activate() {
22
  $theme = wp_get_theme(); // gets the current theme
23
  if ( 'SpicePress' == $theme->name || 'Rockers' == $theme->name || 'Content' == $theme->name || 'Certify' == $theme->name || 'Stacy' == $theme->name || 'SpicePress Child Theme' == $theme->name){
60
  }
61
 
62
  // User Feedback popup code
63
+ /*if ('SpicePress' == $theme->name || 'Rockers' == $theme->name || 'Content' == $theme->name || 'Certify' == $theme->name || 'Stacy' == $theme->name || 'SpicePress Child Theme' == $theme->name)
64
  {
65
  add_action( 'switch_theme', 'spicepresstheme_deactivate_message' );
66
  function spicepresstheme_deactivate_message()
71
  }
72
 
73
  }
74
+ }*/
75
  ?>