Skip to content

Commit

Permalink
Merge pull request #919 from warfare-plugins/staging
Browse files Browse the repository at this point in the history
Staging 4.5.1
  • Loading branch information
goqflash authored Aug 2, 2024
2 parents 6d689e9 + 772ed13 commit b8d4549
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 30 deletions.
2 changes: 1 addition & 1 deletion lib/Social_Warfare_Addon.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public function check_for_updates() {
*/
public function register_plugin() {
// Check to ensure that license key was passed into the function
if ( ! empty( $_POST['license_key'] ) && isset( $_POST['nonce'] ) && wp_verify_nonce( sanitize_text_field( $_POST['nonce'] ), 'license_key_nonce' ) ) :
if ( ! empty( $_POST['license_key'] ) && isset( $_POST['security'] ) && wp_verify_nonce(sanitize_text_field( $_POST['security'] ), 'swp_plugin_registration' ) ) :

// Grab the license key so we can use it below
if (isset($_POST['name_key'])) {
Expand Down
2 changes: 1 addition & 1 deletion lib/options/SWP_Options_Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ protected function init_advanced_tab() {
->set_description( 'If you want to try Social Warfare blocks with Gutenberg, turn this on. <b>Tested with: WP Core 4.9, WP Core 5.1</b>. <em><br/>We are keeping up the best we can, but Gutenberg development is very rapid and can break our blocks overnight. <br/>If this happens, please turn this setting OFF. Your shortcodes will stay in place.</em>' );
// ->set_information_link( 'https://warfareplugins.com/support/using-shortcodes-and-php-snippets/' );

$gutenberg_switch = new SWP_Option_Toggle( esc_html__( 'Enable Gutenberg Blocks' ), 'gutenberg_switch' );
$gutenberg_switch = new SWP_Option_Toggle( esc_html__( 'Enable Gutenberg Blocks', 'social-warfare' ), 'gutenberg_switch' );
$gutenberg_switch->set_default( true )
->set_size( 'sw-col-300' );

Expand Down
2 changes: 1 addition & 1 deletion lib/options/SWP_Registration_Tab_Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ protected function is_registered_HTML() {

<div class="sw-grid sw-col-300">
<a href="#" class="unregister-plugin button sw-navy-button" swp-addon="<?php echo $this->key; ?>" swp-item-id="<?php echo $this->product_id; ?>">
<?php esc_htmlesc_html_e( 'Unregister Plugin', 'social-warfare' ); ?>
<?php esc_html_e( 'Unregister Plugin', 'social-warfare' ); ?>
</a>
</div>
<div class="sw-grid sw-col-300 sw-fit"></div>
Expand Down
74 changes: 49 additions & 25 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: holas84, webinator, warfareplugins, cdegraff1, goqflash, andbalash
Tags: sharing buttons, social media share, floating share buttons, facebook share, linkedin share, pin it, pinterest save, mix button, tweet button, twitter share, click to tweet, social sharing buttons, social share, social sharing, social media sharing, wordpress social sharing plugin, social sharing plugin, share buttons, share counts
Requires at least: 4.5.0
Tested up to: 6.6
Stable tag: 4.5.0
Stable tag: 4.5.1
Requires PHP: 5.6
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -138,30 +138,54 @@ It is without question that Social Warfare is the most powerful social sharing p

This plugin uses APIs from the following third-party services for sharing content. Please review their terms and privacy policies:

- **Facebook**
- [Service Link](https://www.facebook.com)
- [Terms of Service](https://www.facebook.com/terms.php)
- [Privacy Policy](https://www.facebook.com/policy.php)

- **Twitter**
- [Service Link](https://www.twitter.com)
- [Terms of Service](https://twitter.com/en/tos)
- [Privacy Policy](https://twitter.com/en/privacy)

- **Pinterest**
- [Service Link](https://www.pinterest.com)
- [Terms of Service](https://policy.pinterest.com/terms-of-service)
- [Privacy Policy](https://policy.pinterest.com/privacy-policy)

- **LinkedIn**
- [Service Link](https://www.linkedin.com)
- [Terms of Service](https://www.linkedin.com/legal/user-agreement)
- [Privacy Policy](https://www.linkedin.com/legal/privacy-policy)

- **Mix**
- [Service Link](https://www.mix.com)
- [Terms of Service](https://mix.com/terms)
- [Privacy Policy](https://mix.com/privacy)
**Bitly**

Why and When We Use Bitly API:
This plugin uses the Bitly API to shorten URLs for shared content. When a user enables the "URL Shortening" option in the plugin settings, the plugin will make requests to the Bitly API to generate shortened URLs.

Data Sent to Bitly:
- URLs to be shortened
- Authentication data (Bitly Access Token)

Impact on User Data:
When using the Bitly API, URLs that users wish to shorten will be sent to Bitly's servers. Users should be aware that the data is transmitted to Bitly, and they should review Bitly's privacy policy to understand how their data is handled.

- [Bitly Service Link](https://bitly.com)
- [Bitly Terms of Service](https://bitly.com/pages/terms-of-service)
- [Bitly Privacy Policy](https://bitly.com/pages/privacy)

**Warfare Plugins**

Why and When We Use Warfare Plugins:
This plugin integrates with the Warfare Plugins API to manage addon license keys and verify the validity of user subscriptions. The API is used when users register or unregister their plugin license.

Data Sent to Warfare Plugins:
- License key
- Site URL
- Plugin version

Impact on User Data:
When using the Warfare Plugins API, the license key and site URL are sent to the Warfare Plugins server to verify the subscription status. Users should be aware that their license key and site URL are transmitted to the server, and they should review Warfare Plugins' privacy policy to understand how their data is handled.

- [Warfare Plugins Service Link](https://warfareplugins.com)
- [Warfare Plugins Privacy Policy](https://warfareplugins.com/privacy-policy)

**Pinterest**

Why and When We Use Pinterest:
This plugin integrates with the Pinterest API to allow users to share content directly to their Pinterest boards. When a user clicks the Pinterest share button, the plugin will generate a request to Pinterest's API to create a new pin.

Data Sent to Pinterest:
- URL of the content to be shared
- Description of the content (if provided)
- Image URL (if specified)

Impact on User Data:
When using the Pinterest API, the URLs, descriptions, and images that users wish to share will be sent to Pinterest's servers. Users should be aware that this data is transmitted to Pinterest, and they should review Pinterest's privacy policy to understand how their data is handled.

- [Pinterest Service Link](https://www.pinterest.com)
- [Pinterest Terms of Service](https://policy.pinterest.com/terms-of-service)
- [Pinterest Privacy Policy](https://policy.pinterest.com/privacy-policy)

== Installation ==

Expand Down
4 changes: 2 additions & 2 deletions social-warfare.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Social Warfare
* Plugin URI: https://warfareplugins.com
* Description: A plugin to maximize social shares and drive more traffic using the fastest and most intelligent share buttons on the market, calls to action via in-post click-to-tweets, popular posts widgets based on share popularity, link-shortening, Google Analytics and much, much more!
* Version: 4.5.0
* Version: 4.5.1
* Author: Warfare Plugins
* Author URI: https://warfareplugins.com
* License: GPL v2 or later
Expand All @@ -20,7 +20,7 @@
*
* @since 4.2.0 | 19 NOV 2020 | The str_replace() removes any linebreaks in the string.
*/
define( 'SWP_VERSION', '4.5.0' );
define( 'SWP_VERSION', '4.5.1' );
define( 'SWP_DEV_VERSION', '2024.04.05 MASTER' );
define( 'SWP_PLUGIN_FILE', __FILE__ );
define( 'SWP_PLUGIN_URL', str_replace( array( "\r", "\n" ), '', untrailingslashit( plugin_dir_url( __FILE__ ) ) ) );
Expand Down

0 comments on commit b8d4549

Please sign in to comment.