Version Description
- 04.09.2019 =
- Update : The deactivation feedback has been changed. Misleading buttons have been removed.
Download this release
Release Info
Developer | bestwebsoft |
Plugin | Facebook Button by BestWebSoft |
Version | 2.64 |
Comparing to | |
See all releases |
Code changes from version 2.63 to 2.64
- bws_menu/bws_menu.php +2 -2
- bws_menu/deactivation-form.php +33 -10
- bws_menu/product_list.php +2 -2
- facebook-button-plugin.php +1 -1
- readme.txt +9 -3
bws_menu/bws_menu.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Function for displaying BestWebSoft menu
|
4 |
-
* Version: 2.
|
5 |
*/
|
6 |
|
7 |
if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
|
@@ -739,4 +739,4 @@ if ( ! function_exists( 'bws_get_banner_array' ) ) {
|
|
739 |
array( 'cstmdmnpg_hide_banner_on_plugin_page', 'custom-admin-page/custom-admin-page.php', '1.0.0' )
|
740 |
);
|
741 |
}
|
742 |
-
}
|
1 |
<?php
|
2 |
/*
|
3 |
* Function for displaying BestWebSoft menu
|
4 |
+
* Version: 2.2.0
|
5 |
*/
|
6 |
|
7 |
if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
|
739 |
array( 'cstmdmnpg_hide_banner_on_plugin_page', 'custom-admin-page/custom-admin-page.php', '1.0.0' )
|
740 |
);
|
741 |
}
|
742 |
+
}
|
bws_menu/deactivation-form.php
CHANGED
@@ -123,13 +123,12 @@ if ( ! function_exists( 'bws_add_deactivation_feedback_dialog_box' ) ) {
|
|
123 |
+ ' <h2><?php _e( 'Quick Feedback', 'bestwebsoft' ); ?></h2>'
|
124 |
+ ' <div class="bws-modal-panel active"><p><?php _e( 'If you have a moment, please let us know why you are deactivating', 'bestwebsoft' ); ?>:</p><ul>' + <?php echo json_encode( $reasons_list_items_html ); ?> + '</ul>'
|
125 |
+ ' <label class="bws-modal-anonymous-label">'
|
126 |
-
+ ' <input type="checkbox"
|
127 |
+ ' <?php _e( 'Send website data and allow to contact me back', 'bestwebsoft' ); ?>'
|
128 |
+ ' </label>'
|
129 |
+ ' </div>'
|
130 |
+ ' </div>'
|
131 |
+ ' <div class="bws-modal-footer">'
|
132 |
-
+ ' <a href="#" class="button button-secondary bws-modal-button-close"><?php _e( 'Cancel', 'bestwebsoft' ); ?></a>'
|
133 |
+ ' <a href="#" class="button button-primary bws-modal-button-deactivate"></a>'
|
134 |
+ ' <div class="clear"></div>'
|
135 |
+ ' </div>'
|
@@ -180,11 +179,17 @@ if ( ! function_exists( 'bws_add_deactivation_feedback_dialog_box' ) ) {
|
|
180 |
return;
|
181 |
}
|
182 |
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
/* If reason is empty, add the error-message class to the message container to change the message color to red. */
|
184 |
-
if ( 0 === $userReason.val().trim().length ) {
|
185 |
$modal.find( '.message' ).addClass( 'error-message' );
|
186 |
BwsModalDisableDeactivateButton();
|
187 |
-
}
|
188 |
}, 150 );
|
189 |
});
|
190 |
|
@@ -211,9 +216,15 @@ if ( ! function_exists( 'bws_add_deactivation_feedback_dialog_box' ) ) {
|
|
211 |
$input = $selected_reason.find( 'textarea, input[type="text"]' ),
|
212 |
userReason = ( 0 !== $input.length ) ? $input.val().trim() : '';
|
213 |
|
214 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
return;
|
216 |
-
}
|
217 |
|
218 |
var is_anonymous = ( $anonymousFeedback.find( 'input' ).is( ':checked' ) ) ? 0 : 1;
|
219 |
|
@@ -259,7 +270,7 @@ if ( ! function_exists( 'bws_add_deactivation_feedback_dialog_box' ) ) {
|
|
259 |
|
260 |
$modal.find( '.bws-modal-reason-input' ).remove();
|
261 |
$modal.find( '.bws-modal-internal-message' ).hide();
|
262 |
-
$modal.find( '.bws-modal-button-deactivate' ).text( '<?php _e( 'Submit
|
263 |
|
264 |
BwsModalEnableDeactivateButton();
|
265 |
|
@@ -275,7 +286,13 @@ if ( ! function_exists( 'bws_add_deactivation_feedback_dialog_box' ) ) {
|
|
275 |
|
276 |
if ( BwsModalIsReasonSelected( 'OTHER' ) ) {
|
277 |
$modal.find( '.message' ).text( '<?php _e( 'Please tell us the reason so we can improve it.', 'bestwebsoft' ); ?>' ).show();
|
278 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
}
|
280 |
}
|
281 |
});
|
@@ -320,7 +337,13 @@ if ( ! function_exists( 'bws_add_deactivation_feedback_dialog_box' ) ) {
|
|
320 |
|
321 |
$modal.find( '.message' ).hide();
|
322 |
|
323 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
324 |
|
325 |
/* Hide, since by default there is no selected reason.*/
|
326 |
$anonymousFeedback.hide();
|
@@ -342,7 +365,7 @@ if ( ! function_exists( 'bws_add_deactivation_feedback_dialog_box' ) ) {
|
|
342 |
function BwsModalShowPanel() {
|
343 |
$modal.find( '.bws-modal-panel' ).addClass( 'active' );
|
344 |
/* Update the deactivate button's text */
|
345 |
-
$modal.find( '.bws-modal-button-deactivate' ).text( '<?php _e( 'Deactivate', 'bestwebsoft' ); ?>' );
|
346 |
}
|
347 |
})(jQuery);
|
348 |
</script>
|
123 |
+ ' <h2><?php _e( 'Quick Feedback', 'bestwebsoft' ); ?></h2>'
|
124 |
+ ' <div class="bws-modal-panel active"><p><?php _e( 'If you have a moment, please let us know why you are deactivating', 'bestwebsoft' ); ?>:</p><ul>' + <?php echo json_encode( $reasons_list_items_html ); ?> + '</ul>'
|
125 |
+ ' <label class="bws-modal-anonymous-label">'
|
126 |
+
+ ' <input type="checkbox" />'
|
127 |
+ ' <?php _e( 'Send website data and allow to contact me back', 'bestwebsoft' ); ?>'
|
128 |
+ ' </label>'
|
129 |
+ ' </div>'
|
130 |
+ ' </div>'
|
131 |
+ ' <div class="bws-modal-footer">'
|
|
|
132 |
+ ' <a href="#" class="button button-primary bws-modal-button-deactivate"></a>'
|
133 |
+ ' <div class="clear"></div>'
|
134 |
+ ' </div>'
|
179 |
return;
|
180 |
}
|
181 |
|
182 |
+
/**
|
183 |
+
*
|
184 |
+
* @todo Remove after 01.01.2020
|
185 |
+
* This code need to be removed after WordPress letter "[WordPress Plugin Directory] Notice: Captcha by BestWebSoft" from 04.09.2019 by kdo
|
186 |
+
*
|
187 |
+
*/
|
188 |
/* If reason is empty, add the error-message class to the message container to change the message color to red. */
|
189 |
+
/*if ( 0 === $userReason.val().trim().length ) {
|
190 |
$modal.find( '.message' ).addClass( 'error-message' );
|
191 |
BwsModalDisableDeactivateButton();
|
192 |
+
}*/
|
193 |
}, 150 );
|
194 |
});
|
195 |
|
216 |
$input = $selected_reason.find( 'textarea, input[type="text"]' ),
|
217 |
userReason = ( 0 !== $input.length ) ? $input.val().trim() : '';
|
218 |
|
219 |
+
/**
|
220 |
+
*
|
221 |
+
* @todo Remove after 01.01.2020
|
222 |
+
* This code need to be removed after WordPress letter "[WordPress Plugin Directory] Notice: Captcha by BestWebSoft" from 04.09.2019 by kdo
|
223 |
+
*
|
224 |
+
*/
|
225 |
+
/*if ( BwsModalIsReasonSelected( 'OTHER' ) && '' === userReason ) {
|
226 |
return;
|
227 |
+
}*/
|
228 |
|
229 |
var is_anonymous = ( $anonymousFeedback.find( 'input' ).is( ':checked' ) ) ? 0 : 1;
|
230 |
|
270 |
|
271 |
$modal.find( '.bws-modal-reason-input' ).remove();
|
272 |
$modal.find( '.bws-modal-internal-message' ).hide();
|
273 |
+
$modal.find( '.bws-modal-button-deactivate' ).text( '<?php _e( 'Submit and Deactivate', 'bestwebsoft' ); ?>' );
|
274 |
|
275 |
BwsModalEnableDeactivateButton();
|
276 |
|
286 |
|
287 |
if ( BwsModalIsReasonSelected( 'OTHER' ) ) {
|
288 |
$modal.find( '.message' ).text( '<?php _e( 'Please tell us the reason so we can improve it.', 'bestwebsoft' ); ?>' ).show();
|
289 |
+
/**
|
290 |
+
*
|
291 |
+
* @todo Remove after 01.01.2020
|
292 |
+
* This code need to be removed after WordPress letter "[WordPress Plugin Directory] Notice: Captcha by BestWebSoft" from 04.09.2019 by kdo
|
293 |
+
*
|
294 |
+
*/
|
295 |
+
//BwsModalDisableDeactivateButton();
|
296 |
}
|
297 |
}
|
298 |
});
|
337 |
|
338 |
$modal.find( '.message' ).hide();
|
339 |
|
340 |
+
/**
|
341 |
+
*
|
342 |
+
* @todo Remove after 01.01.2020
|
343 |
+
* This code need to be removed after WordPress letter "[WordPress Plugin Directory] Notice: Captcha by BestWebSoft" from 04.09.2019 by kdo
|
344 |
+
*
|
345 |
+
*/
|
346 |
+
//$anonymousFeedback.find( 'input' ).prop( 'checked', true );
|
347 |
|
348 |
/* Hide, since by default there is no selected reason.*/
|
349 |
$anonymousFeedback.hide();
|
365 |
function BwsModalShowPanel() {
|
366 |
$modal.find( '.bws-modal-panel' ).addClass( 'active' );
|
367 |
/* Update the deactivate button's text */
|
368 |
+
$modal.find( '.bws-modal-button-deactivate' ).text( '<?php _e( 'Skip and Deactivate', 'bestwebsoft' ); ?>' );
|
369 |
}
|
370 |
})(jQuery);
|
371 |
</script>
|
bws_menu/product_list.php
CHANGED
@@ -121,7 +121,7 @@ $bws_plugins = array(
|
|
121 |
),
|
122 |
'facebook-button-plugin/facebook-button-plugin.php' => array(
|
123 |
'category' => array( 'smm' ),
|
124 |
-
'name' => '
|
125 |
'description' => __( 'Add Facebook Follow, Like, and Share buttons to WordPress posts, pages, and widgets.', 'bestwebsoft' ),
|
126 |
'link' => 'https://bestwebsoft.com/products/wordpress/plugins/facebook-like-button/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
127 |
'settings' => 'admin.php?page=facebook-button-plugin.php',
|
@@ -508,4 +508,4 @@ $themes = array(
|
|
508 |
'slug' => 'unity',
|
509 |
'href' => 'https://bestwebsoft.com/products/wordpress/themes/unity-multipurpose-wordpress-theme/'
|
510 |
)
|
511 |
-
);
|
121 |
),
|
122 |
'facebook-button-plugin/facebook-button-plugin.php' => array(
|
123 |
'category' => array( 'smm' ),
|
124 |
+
'name' => 'Bestwebsoft Buttons for Facebook',
|
125 |
'description' => __( 'Add Facebook Follow, Like, and Share buttons to WordPress posts, pages, and widgets.', 'bestwebsoft' ),
|
126 |
'link' => 'https://bestwebsoft.com/products/wordpress/plugins/facebook-like-button/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
127 |
'settings' => 'admin.php?page=facebook-button-plugin.php',
|
508 |
'slug' => 'unity',
|
509 |
'href' => 'https://bestwebsoft.com/products/wordpress/themes/unity-multipurpose-wordpress-theme/'
|
510 |
)
|
511 |
+
);
|
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 |
*/
|
6 |
Author: BestWebSoft
|
7 |
Text Domain: facebook-button-plugin
|
8 |
Domain Path: /languages
|
9 |
+
Version: 2.64
|
10 |
Author URI: https://bestwebsoft.com/
|
11 |
License: GPLv2 or later
|
12 |
*/
|
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: 3.9
|
6 |
Tested up to: 5.2.2
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -22,7 +22,7 @@ https://www.youtube.com/watch?v=hGNQs-rF8b8
|
|
22 |
|
23 |
= Free Features =
|
24 |
|
25 |
-
* Add
|
26 |
* Like
|
27 |
* Share
|
28 |
* Follow
|
@@ -59,7 +59,7 @@ https://www.youtube.com/watch?v=hGNQs-rF8b8
|
|
59 |
> All features from Free version included plus:
|
60 |
>
|
61 |
> * Display buttons for Facebooks for certain pages and/or post types
|
62 |
-
> * Display the widget with the most liked posts
|
63 |
> * Сhange meta tags:
|
64 |
> * Image
|
65 |
> * Description
|
@@ -164,6 +164,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<https
|
|
164 |
|
165 |
== Changelog ==
|
166 |
|
|
|
|
|
|
|
167 |
= V2.63 - 08.08.2019 =
|
168 |
* Update : Plugin renamed.
|
169 |
|
@@ -417,6 +420,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<https
|
|
417 |
|
418 |
== Upgrade Notice ==
|
419 |
|
|
|
|
|
|
|
420 |
= V2.63 =
|
421 |
* The compatibility with new WordPress version updated.
|
422 |
|
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: 3.9
|
6 |
Tested up to: 5.2.2
|
7 |
+
Stable tag: 2.64
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
22 |
|
23 |
= Free Features =
|
24 |
|
25 |
+
* Add buttons for Facebook such as:
|
26 |
* Like
|
27 |
* Share
|
28 |
* Follow
|
59 |
> All features from Free version included plus:
|
60 |
>
|
61 |
> * Display buttons for Facebooks for certain pages and/or post types
|
62 |
+
> * Display the widget with the most liked posts
|
63 |
> * Сhange meta tags:
|
64 |
> * Image
|
65 |
> * Description
|
164 |
|
165 |
== Changelog ==
|
166 |
|
167 |
+
= V2.64 - 04.09.2019 =
|
168 |
+
* Update : The deactivation feedback has been changed. Misleading buttons have been removed.
|
169 |
+
|
170 |
= V2.63 - 08.08.2019 =
|
171 |
* Update : Plugin renamed.
|
172 |
|
420 |
|
421 |
== Upgrade Notice ==
|
422 |
|
423 |
+
= V2.64 =
|
424 |
+
* Usability improved.
|
425 |
+
|
426 |
= V2.63 =
|
427 |
* The compatibility with new WordPress version updated.
|
428 |
|