Black Friday: 30% OFF on all plans, applied automatically at checkout View plans
Log in Cart

Social Warfare Pro Changelog

Every recorded version, newest first, with what changed in each one.

Latest 4.5.6 · Mar 13, 202515 versionsSince Dec 2020

2025 · 2 versions

  1. 4.5.6

    Latest
    1 new1 security2 changes
    New
    • Added Dependabot for automated dependency updates.
    Security
    • Security Improvement: Integrated CodeQL scanning for JavaScript/TypeScript vulnerabilities.
    Changes
    • Renamed internal classes for consistency.
    • Upgraded @wordpress/scripts to ^30.12.0 for improved Gutenberg compatibility.
  2. 4.5.5

    1 improvement4 changes
    Improved
    • Enhanced file upload UI with real-time progress bars and better error handling.
    Changes
    • Replaced `strip_tags` with `wp_strip_all_tags` and added `esc_html` for improved security.
    • Refactored JavaScript for better performance and maintainability.
    • Deleted unused JavaScript modules and outdated CSS classes.
    • Ensured compatibility with the latest WordPress version.

2024 · 6 versions

  1. 4.4.6.3

    2 improvements
    Improved
    • Changed the visibility of `$key` property from `private` to `public` to allow external access and manipulation, enhancing the flexibility for class interactions.
    • Changed the visibility of `$user_options` property from `private` to `public`, enabling direct access to user options pulled from the database. This adjustment aims to streamline processes that require external manipulation of user options.
  2. 4.4.6.2

    1 new1 improvement1 change
    New
    • Added regex pattern to remove special characters from attribute values after initial sanitization
    Improved
    • Enhanced `sanitize_attributes` method in SWP_Buttons_Panel_Shortcode class
    Changes
    • Implemented stricter attribute sanitization in SWP_Buttons_Panel_Shortcode class to enhance security and mitigate the risk of cross-site scripting (XSS) attacks through shortcode attributes. This update introduces a more rigorous sanitization process for all attributes passed through the shortcode handling mechanism. The `sanitize_attributes` method now applies basic sanitization using `sanitize_text_field`, followed by a secondary sanitization step using a regex pattern to remove any remaining special characters that could be used in malicious injections.
  3. 4.4.6.1

    2 improvements1 change
    Improved
    • Updated autoloader class names, improving naming conventions and autoload efficiency for better performance and maintainability. Issue #903
    • Improved the initialization of the SWPSidebarSection component by incorporating `props.visibility` handling, allowing for dynamic visibility control and more flexible component usage.
    Changes
    • Refactored the image display in the meta box template and associated JavaScript file, enhancing the UI/UX and fixing display issues for a more intuitive interface.
  4. 4.4.6

    1 improvement6 changes
    Improved
    • Optimized the `record_share_counts` method to eliminate redundant database updates, now incorporating checks against existing data for efficiency.
    Changes
    • Introduced a caching mechanism for analytics data, significantly reducing database load and enhancing page load speeds. Further details at
    • Deployed transient caching for social share counts, effectively minimizing database query frequency and its performance impact.
    • Implemented strategic database query optimizations, including indexing recommendations, to accelerate query processing.
    • Strengthened error handling and validation in the analytics update workflow, safeguarding data accuracy and integrity.
    • Refactored analytics data management to bolster maintainability and alignment with WordPress coding standards.
    • Addressed the post-preview anomaly in Social Warfare Pro, rectifying the 'undefined' URL or page not found error, as documented at
  5. 4.4.5.1

    1 improvement
    Improved
    • Update SWP_Pro_Analytics_Database.php
  6. 4.4.5

    1 new2 improvements2 changes
    New
    • Added checks to prevent storage of redundant data and duplicate entries in the analytics table.
    Improved
    • Improved performance in `SWP_Pro_Analytics_Database` with efficient data insertion and update logic using `INSERT ON DUPLICATE KEY UPDATE`.
    • Enhanced `setup_database` with automatic updates based on database versioning and optimized table structure with necessary indexes for better performance.
    Changes
    • Streamlined network fetching in `get_valid_networks` for reduced processing time and improved efficiency.
    • Addressed high database load issues by optimizing database operations and minimizing server resource usage.

2023 · 5 versions

  1. 4.4.4

    1 change
    Changes
    • Escaped output to prevent potential XSS vulnerabilities.
  2. 4.4.3

    1 new
    New
    • Added Mastodon
  3. 4.4.2

    1 change
    Changes
    • Replaced 'require_once' with 'require' to prevent conflicts with the Elementor plugin.
  4. 4.4.1

    1 new1 improvement
    New
    • Add default value for $alt parameter for classic_editor_add_pin_description method.
    Improved
    • Update Version number to 4.4.1.
  5. 4.4.0

    1 new4 removed6 changes
    New
    • Added capability and nonce checks to AJAX calls.
    Removed
    • Removed the Update Checker from Free into Pro only.
    • Removed cURL calls in leiu of WordPress built in calls.
    • Removed all branded logos from the header banner.
    • Removed the word WordPress from the beginning of the plugin name.
    Changes
    • This update provides a nice, robust audit of the plugin. It ensures that the
    • plugin remains in full compliance with the latest WordPress requirements for
    • inclusion in the WordPress repository.
    • Ensure user has permission to make AJAX calls.
    • Sanitize all inputs that come from outside sources.
    • Moved the CSS for jQuery UI to an internal asset.

2020 · 2 versions

  1. 4.3.0

    1 change
    Changes
    • This is a major update to the Facebook share checking functionality of the plugin.
  2. 4.2.1

    1 new3 fixes3 changes
    New
    • new lines of code, there were a few hiccups along the way. But we've spent the weekend
    Fixed
    • Fix for broken admin pages due to some JS errors on the analytics charts.
    • Fix for division by zero errors in the social optimizer PHP file.
    • Fix for a few other minor bugs and glitches.
    Changes
    • The 4.2 release was a major release that introduced a whole suite of social analytics
    • tools. As you might imagine with a release featuring that many new features, and
    • getting them all fixed right up and now here we are with 4.2.1.

Changelog published by the developer, in their original language.