Version Description
- 17.02.2020 =
- Bugfix : Problem with showing Like button was fixed.
Download this release
Release Info
Developer | bestwebsoft |
Plugin | Facebook Button by BestWebSoft |
Version | 2.66 |
Comparing to | |
See all releases |
Code changes from version 2.65 to 2.66
- bws_menu/bws_menu.php +1 -2
- bws_menu/product_list.php +7 -0
- facebook-button-plugin.php +8 -7
- readme.txt +8 -2
bws_menu/bws_menu.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Function for displaying BestWebSoft menu
|
4 |
-
* Version: 2.2.
|
5 |
*/
|
6 |
|
7 |
if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
|
@@ -693,7 +693,6 @@ if ( ! function_exists( 'bws_get_banner_array' ) ) {
|
|
693 |
array( 'fcbkbttn_hide_banner_on_plugin_page', 'facebook-button-plugin/facebook-button-plugin.php', '2.29' ),
|
694 |
array( 'twttr_hide_banner_on_plugin_page', 'twitter-plugin/twitter.php', '2.34' ),
|
695 |
array( 'pdfprnt_hide_banner_on_plugin_page', 'pdf-print/pdf-print.php', '1.7.1' ),
|
696 |
-
array( 'gglplsn_hide_banner_on_plugin_page', 'google-one/google-plus-one.php', '1.1.4' ),
|
697 |
array( 'gglstmp_hide_banner_on_plugin_page', 'google-sitemap-plugin/google-sitemap-plugin.php', '2.8.4' ),
|
698 |
array( 'cntctfrmpr_for_ctfrmtdb_hide_banner_on_plugin_page', 'contact-form-pro/contact_form_pro.php', '1.14' ),
|
699 |
array( 'cntctfrm_hide_banner_on_plugin_page', 'contact-form-plugin/contact_form.php', '3.47' ),
|
1 |
<?php
|
2 |
/*
|
3 |
* Function for displaying BestWebSoft menu
|
4 |
+
* Version: 2.2.7
|
5 |
*/
|
6 |
|
7 |
if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
|
693 |
array( 'fcbkbttn_hide_banner_on_plugin_page', 'facebook-button-plugin/facebook-button-plugin.php', '2.29' ),
|
694 |
array( 'twttr_hide_banner_on_plugin_page', 'twitter-plugin/twitter.php', '2.34' ),
|
695 |
array( 'pdfprnt_hide_banner_on_plugin_page', 'pdf-print/pdf-print.php', '1.7.1' ),
|
|
|
696 |
array( 'gglstmp_hide_banner_on_plugin_page', 'google-sitemap-plugin/google-sitemap-plugin.php', '2.8.4' ),
|
697 |
array( 'cntctfrmpr_for_ctfrmtdb_hide_banner_on_plugin_page', 'contact-form-pro/contact_form_pro.php', '1.14' ),
|
698 |
array( 'cntctfrm_hide_banner_on_plugin_page', 'contact-form-plugin/contact_form.php', '3.47' ),
|
bws_menu/product_list.php
CHANGED
@@ -48,6 +48,13 @@ $bws_plugins = array(
|
|
48 |
'icon' => '//ps.w.org/car-rental/assets/icon-128x128.png',
|
49 |
'install_url' => 'https://bestwebsoft.com/products/wordpress/plugins/car-rental-v2/'
|
50 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
'contact-form-plugin/contact_form.php' => array(
|
52 |
'category' => array( 'marketing', 'recommended' ),
|
53 |
'name' => 'Contact Form',
|
48 |
'icon' => '//ps.w.org/car-rental/assets/icon-128x128.png',
|
49 |
'install_url' => 'https://bestwebsoft.com/products/wordpress/plugins/car-rental-v2/'
|
50 |
),
|
51 |
+
'columns-bws/columns-bws.php' => array(
|
52 |
+
'category' => array( 'content' ),
|
53 |
+
'name' => 'Columns',
|
54 |
+
'description' => __( 'Add columns with custom content to WordPress website pages, posts, widgets, etc.', 'bestwebsoft' ),
|
55 |
+
'link' => 'https://bestwebsoft.com/products/wordpress/plugins/columns/?k=6d2cddc059a04e4d528cec14de47fb1e&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
56 |
+
'settings' => 'admin.php?page=columns-settings.php'
|
57 |
+
),
|
58 |
'contact-form-plugin/contact_form.php' => array(
|
59 |
'category' => array( 'marketing', 'recommended' ),
|
60 |
'name' => 'Contact Form',
|
facebook-button-plugin.php
CHANGED
@@ -6,7 +6,7 @@ Description: Add Facebook Like, Share and Profile buttons to WordPress posts, pa
|
|
6 |
Author: BestWebSoft
|
7 |
Text Domain: facebook-button-plugin
|
8 |
Domain Path: /languages
|
9 |
-
Version: 2.
|
10 |
Author URI: https://bestwebsoft.com/
|
11 |
License: GPLv2 or later
|
12 |
*/
|
@@ -315,6 +315,7 @@ if ( ! function_exists( 'fcbkbttn_button' ) ) {
|
|
315 |
$button .= '></fb:like></div>';
|
316 |
}
|
317 |
}
|
|
|
318 |
if ( ! empty( $fcbkbttn_options['share'] ) && empty( $location_share ) ) {
|
319 |
$button .= '<div class="fb-share-button ' . $if_large . ' " data-href="' . $permalink_post . '" data-type="' . $fcbkbttn_options['layout_share_option'] . '" data-size="' . $fcbkbttn_options['size'] . '"></div>';
|
320 |
}
|
@@ -575,9 +576,9 @@ if ( ! function_exists( 'fcbkbttn_footer_script' ) ) {
|
|
575 |
fjs.parentNode.insertBefore( js, fjs );
|
576 |
}( document, 'script', 'facebook-jssdk' ) );";
|
577 |
|
578 |
-
wp_register_script( '
|
579 |
-
wp_enqueue_script( '
|
580 |
-
wp_add_inline_script( '
|
581 |
}
|
582 |
}
|
583 |
}
|
@@ -596,7 +597,7 @@ if ( ! function_exists( 'fcbkbttn_enqueue_scripts' ) ) {
|
|
596 |
bws_enqueue_settings_scripts();
|
597 |
bws_plugins_include_codemirror();
|
598 |
wp_enqueue_script( 'fcbkbttn_script', plugins_url( 'js/admin-script.js', __FILE__ ), array( 'jquery' ) );
|
599 |
-
|
600 |
wp_localize_script( 'fcbkbttn_script', 'fcbkbttn_var',
|
601 |
array(
|
602 |
'wp_media_title' => __( 'Insert Media', 'facebook-button-plugin' ),
|
@@ -606,8 +607,8 @@ if ( ! function_exists( 'fcbkbttn_enqueue_scripts' ) ) {
|
|
606 |
wp_enqueue_style( 'fcbkbttn_stylesheet', plugins_url( 'css/style.css', __FILE__ ) );
|
607 |
} elseif ( ! is_admin() ) {
|
608 |
wp_enqueue_style( 'fcbkbttn_stylesheet', plugins_url( 'css/style.css', __FILE__ ) );
|
609 |
-
|
610 |
-
|
611 |
}
|
612 |
}
|
613 |
|
6 |
Author: BestWebSoft
|
7 |
Text Domain: facebook-button-plugin
|
8 |
Domain Path: /languages
|
9 |
+
Version: 2.66
|
10 |
Author URI: https://bestwebsoft.com/
|
11 |
License: GPLv2 or later
|
12 |
*/
|
315 |
$button .= '></fb:like></div>';
|
316 |
}
|
317 |
}
|
318 |
+
|
319 |
if ( ! empty( $fcbkbttn_options['share'] ) && empty( $location_share ) ) {
|
320 |
$button .= '<div class="fb-share-button ' . $if_large . ' " data-href="' . $permalink_post . '" data-type="' . $fcbkbttn_options['layout_share_option'] . '" data-size="' . $fcbkbttn_options['size'] . '"></div>';
|
321 |
}
|
576 |
fjs.parentNode.insertBefore( js, fjs );
|
577 |
}( document, 'script', 'facebook-jssdk' ) );";
|
578 |
|
579 |
+
wp_register_script( 'fcbkbttn_footer_script', '' );
|
580 |
+
wp_enqueue_script( 'fcbkbttn_footer_script' );
|
581 |
+
wp_add_inline_script( 'fcbkbttn_footer_script', sprintf( $script ) );
|
582 |
}
|
583 |
}
|
584 |
}
|
597 |
bws_enqueue_settings_scripts();
|
598 |
bws_plugins_include_codemirror();
|
599 |
wp_enqueue_script( 'fcbkbttn_script', plugins_url( 'js/admin-script.js', __FILE__ ), array( 'jquery' ) );
|
600 |
+
wp_enqueue_media();
|
601 |
wp_localize_script( 'fcbkbttn_script', 'fcbkbttn_var',
|
602 |
array(
|
603 |
'wp_media_title' => __( 'Insert Media', 'facebook-button-plugin' ),
|
607 |
wp_enqueue_style( 'fcbkbttn_stylesheet', plugins_url( 'css/style.css', __FILE__ ) );
|
608 |
} elseif ( ! is_admin() ) {
|
609 |
wp_enqueue_style( 'fcbkbttn_stylesheet', plugins_url( 'css/style.css', __FILE__ ) );
|
610 |
+
wp_enqueue_script( 'fcbkbttn_script', plugins_url( 'js/script.js', __FILE__ ), array( 'jquery' ) );
|
611 |
+
}
|
612 |
}
|
613 |
}
|
614 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://bestwebsoft.com/donate/
|
|
4 |
Tags: facebook buttons, share, like, add share button, social buttons, facebook, facebook button icon, follow, follow button, like button, share button, facebook plugin
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.3.2
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -163,7 +163,10 @@ Please make sure that the problem hasn't been discussed yet on our forum (<https
|
|
163 |
|
164 |
== Changelog ==
|
165 |
|
166 |
-
= V2.
|
|
|
|
|
|
|
167 |
* Update : Plugin was renamed.
|
168 |
* Update : We updated all functionality for wordpress 5.3.2.
|
169 |
* Update : BWS plugins section is updated.
|
@@ -424,6 +427,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<https
|
|
424 |
|
425 |
== Upgrade Notice ==
|
426 |
|
|
|
|
|
|
|
427 |
= V2.65 =
|
428 |
* The compatibility with new WordPress version updated.
|
429 |
|
4 |
Tags: facebook buttons, share, like, add share button, social buttons, facebook, facebook button icon, follow, follow button, like button, share button, facebook plugin
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.3.2
|
7 |
+
Stable tag: 2.66
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
163 |
|
164 |
== Changelog ==
|
165 |
|
166 |
+
= V2.66 - 17.02.2020 =
|
167 |
+
* Bugfix : Problem with showing Like button was fixed.
|
168 |
+
|
169 |
+
= V2.65 - 15.01.2020 =
|
170 |
* Update : Plugin was renamed.
|
171 |
* Update : We updated all functionality for wordpress 5.3.2.
|
172 |
* Update : BWS plugins section is updated.
|
427 |
|
428 |
== Upgrade Notice ==
|
429 |
|
430 |
+
= V2.66 =
|
431 |
+
* Bugs fixed.
|
432 |
+
|
433 |
= V2.65 =
|
434 |
* The compatibility with new WordPress version updated.
|
435 |
|