Version Description
=
- Security bug fixed.
Download this release
Release Info
| Developer | wpdevart |
| Plugin | |
| Version | 2.5.3 |
| Comparing to | |
| See all releases | |
Code changes from version 2.5.2 to 2.5.3
- facebook-comment.php +1 -1
- includes/admin_menu.php +7 -6
- includes/library.php +1 -1
- readme.txt +6 -2
facebook-comment.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
* Plugin URI: https://wpdevart.com/wordpress-facebook-comments-plugin
|
| 5 |
* Author URI: https://wpdevart.com
|
| 6 |
* Description: Social (Facebook) comments plugin will help you to display Facebook Comments box on your website. You can use Facebook Comments on your pages/posts.
|
| 7 |
-
* Version: 2.5.
|
| 8 |
* Author: wpdevart
|
| 9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
| 10 |
*/
|
| 4 |
* Plugin URI: https://wpdevart.com/wordpress-facebook-comments-plugin
|
| 5 |
* Author URI: https://wpdevart.com
|
| 6 |
* Description: Social (Facebook) comments plugin will help you to display Facebook Comments box on your website. You can use Facebook Comments on your pages/posts.
|
| 7 |
+
* Version: 2.5.3
|
| 8 |
* Author: wpdevart
|
| 9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
| 10 |
*/
|
includes/admin_menu.php
CHANGED
|
@@ -82,10 +82,10 @@ class wpdevart_comment_admin_menu{
|
|
| 82 |
public function create_menu(){
|
| 83 |
global $submenu;
|
| 84 |
$sub_men_cap=str_replace( ' ', '-', $this->menu_name);
|
| 85 |
-
$main_page = add_menu_page( $this->menu_name, $this->menu_name, 'manage_options', str_replace( ' ', '-', $this->menu_name), array($this, 'main_menu_function')
|
| 86 |
-
$page_wpdevart_comment = add_submenu_page($this->menu_name, $this->menu_name, $this->menu_name, 'manage_options', str_replace( ' ', '-', $this->menu_name), array($this, 'main_menu_function'));
|
| 87 |
-
$page_wpdevart_comment = add_submenu_page( str_replace( ' ', '-', $this->menu_name), 'Featured Plugins', 'Featured Plugins', 'manage_options', 'wpdevart-comment-featured-plugins', array($this, 'featured_plugins'));
|
| 88 |
-
$page_hire = add_submenu_page( str_replace( ' ', '-', $this->menu_name), 'Hire an Expert', '<span style="color:#00ff66" >Hire an Expert</span>', 'manage_options', 'wpdevart-comment-hire-expert', array($this, 'hire_expert'));
|
| 89 |
|
| 90 |
add_action('admin_print_styles-' .$main_page, array($this,'menu_requeried_scripts'));
|
| 91 |
add_action('admin_print_styles-' .$page_wpdevart_comment, array($this,'menu_requeried_scripts'));
|
|
@@ -108,7 +108,8 @@ class wpdevart_comment_admin_menu{
|
|
| 108 |
public function menu_requeried_scripts(){
|
| 109 |
wp_enqueue_script('wp-color-picker');
|
| 110 |
wp_enqueue_style( 'wp-color-picker' );
|
| 111 |
-
wp_enqueue_script( 'comment-box-admin-script' );
|
|
|
|
| 112 |
wp_enqueue_style('comment-box-admin-style');
|
| 113 |
}
|
| 114 |
|
|
@@ -161,7 +162,7 @@ class wpdevart_comment_admin_menu{
|
|
| 161 |
var wpdevart_comment_ajaxurl="<?php echo admin_url( 'admin-ajax.php'); ?>";
|
| 162 |
var wpdevart_comment_plugin_url="<?php echo esc_url($this->plugin_url); ?>";
|
| 163 |
var wpdevart_comment_parametrs_sucsses_saved="<?php echo esc_html($this->text_parametrs['parametrs_sucsses_saved']); ?>";
|
| 164 |
-
var wpdevart_comment_all_parametrs = <?php echo json_encode($this->databese_parametrs);
|
| 165 |
</script>
|
| 166 |
<div class="wpdevart_plugins_header div-for-clear">
|
| 167 |
<div class="wpdevart_plugins_get_pro div-for-clear">
|
| 82 |
public function create_menu(){
|
| 83 |
global $submenu;
|
| 84 |
$sub_men_cap=str_replace( ' ', '-', $this->menu_name);
|
| 85 |
+
$main_page = add_menu_page( esc_attr($this->menu_name), esc_attr($this->menu_name), 'manage_options', esc_attr(str_replace( ' ', '-', $this->menu_name)), array($this, 'main_menu_function'),esc_url($this->plugin_url.'images/facebook_menu_icon.png'));
|
| 86 |
+
$page_wpdevart_comment = add_submenu_page(esc_attr($this->menu_name), esc_attr($this->menu_name), esc_attr($this->menu_name), 'manage_options', esc_attr(str_replace( ' ', '-', $this->menu_name)), array($this, 'main_menu_function'));
|
| 87 |
+
$page_wpdevart_comment = add_submenu_page( esc_attr(str_replace( ' ', '-', $this->menu_name)), 'Featured Plugins', 'Featured Plugins', 'manage_options', 'wpdevart-comment-featured-plugins', array($this, 'featured_plugins'));
|
| 88 |
+
$page_hire = add_submenu_page( esc_attr(str_replace( ' ', '-', $this->menu_name)), 'Hire an Expert', '<span style="color:#00ff66" >Hire an Expert</span>', 'manage_options', 'wpdevart-comment-hire-expert', array($this, 'hire_expert'));
|
| 89 |
|
| 90 |
add_action('admin_print_styles-' .$main_page, array($this,'menu_requeried_scripts'));
|
| 91 |
add_action('admin_print_styles-' .$page_wpdevart_comment, array($this,'menu_requeried_scripts'));
|
| 108 |
public function menu_requeried_scripts(){
|
| 109 |
wp_enqueue_script('wp-color-picker');
|
| 110 |
wp_enqueue_style( 'wp-color-picker' );
|
| 111 |
+
wp_enqueue_script( 'comment-box-admin-script' );
|
| 112 |
+
wp_localize_script('comment-box-admin-script','wpdevart_comment_all_parametrs',$this->databese_parametrs);
|
| 113 |
wp_enqueue_style('comment-box-admin-style');
|
| 114 |
}
|
| 115 |
|
| 162 |
var wpdevart_comment_ajaxurl="<?php echo admin_url( 'admin-ajax.php'); ?>";
|
| 163 |
var wpdevart_comment_plugin_url="<?php echo esc_url($this->plugin_url); ?>";
|
| 164 |
var wpdevart_comment_parametrs_sucsses_saved="<?php echo esc_html($this->text_parametrs['parametrs_sucsses_saved']); ?>";
|
| 165 |
+
//var wpdevart_comment_all_parametrs = <?php /* echo json_encode($this->databese_parametrs); */?>;
|
| 166 |
</script>
|
| 167 |
<div class="wpdevart_plugins_header div-for-clear">
|
| 168 |
<div class="wpdevart_plugins_get_pro div-for-clear">
|
includes/library.php
CHANGED
|
@@ -64,7 +64,7 @@ $output_code.='<div id="'.esc_attr($params['iframe_id']).'" style="width:'.( (st
|
|
| 64 |
|
| 65 |
public static function generete_animation_select($select_id='',$curent_effect='none'){
|
| 66 |
?>
|
| 67 |
-
<select class="pro_select" id="<?php echo $select_id; ?>" name="<?php echo $select_id; ?>">
|
| 68 |
<option <?php selected('none',$curent_effect); ?> value="none">none</option>
|
| 69 |
<option <?php selected('random',$curent_effect); ?> value="random">random</option>
|
| 70 |
<optgroup label="Attention Seekers">
|
| 64 |
|
| 65 |
public static function generete_animation_select($select_id='',$curent_effect='none'){
|
| 66 |
?>
|
| 67 |
+
<select class="pro_select" id="<?php echo esc_attr($select_id); ?>" name="<?php echo esc_attr($select_id); ?>">
|
| 68 |
<option <?php selected('none',$curent_effect); ?> value="none">none</option>
|
| 69 |
<option <?php selected('random',$curent_effect); ?> value="random">random</option>
|
| 70 |
<optgroup label="Attention Seekers">
|
readme.txt
CHANGED
|
@@ -2,8 +2,8 @@
|
|
| 2 |
Contributors: wpdevart
|
| 3 |
Tags: Facebook, facebook comments, social comments, comments, wordpress comments
|
| 4 |
Requires at least: 2.9
|
| 5 |
-
Tested up to:
|
| 6 |
-
Stable tag: 2.5.
|
| 7 |
License: GPLv3
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
| 9 |
|
|
@@ -104,6 +104,10 @@ Yes, If you are logged in(Fb account) then you will see the moderate options for
|
|
| 104 |
|
| 105 |
== Changelog ==
|
| 106 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
= 2.5.2 ==
|
| 108 |
|
| 109 |
* Security bug fixed.
|
| 2 |
Contributors: wpdevart
|
| 3 |
Tags: Facebook, facebook comments, social comments, comments, wordpress comments
|
| 4 |
Requires at least: 2.9
|
| 5 |
+
Tested up to: 6.0
|
| 6 |
+
Stable tag: 2.5.3
|
| 7 |
License: GPLv3
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
| 9 |
|
| 104 |
|
| 105 |
== Changelog ==
|
| 106 |
|
| 107 |
+
= 2.5.3 ==
|
| 108 |
+
|
| 109 |
+
* Security bug fixed.
|
| 110 |
+
|
| 111 |
= 2.5.2 ==
|
| 112 |
|
| 113 |
* Security bug fixed.
|
