Changelog

1.4.5 (2020-08-13)
* Fix: Per-Post Status Settings: Improved meta box styling for WordPress 5.5
* Fix: Repost: Ensure enabled days and times are based on WordPress configured timezone, not UTC / server timezone
* Fix: Logs: Clear Log: Contextualized confirmation message based on whether the Log is being cleared at Post or Plugin level

1.4.4 (2020-08-06)=
* Added: Status: Short URL option. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/status-settings/#status-text–tags

1.4.3 (2020-07-09)
* Added: Settings: Logs: Added Pending Log Level, for status(es) due to be sent when Use WP Cron enabled in Plugin’s Settings. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/log-settings/#log-level
* Fix: Publish: Correctly add pending entry to Log when Use WP Cron enabled in Plugin’s Settings

1.4.2 (2020-06-25)
* Fix: Bulk Publish: Use Custom Field Value as Date instead of today’s date when Custom Time (based on Custom Field / Post Meta Value) is selected on a status
* Fix: Bulk Publish: The Events Calendar and Events Manager Plugins: Use Event’s Start or End Date instead of today’s date when The Events Calendar: Relative to Event Start (or End) Date is selected on a status

1.4.1 (2020-06-18)
* Added: Settings: General Settings: Enable Test Mode. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/general-settings/#enable-test-mode
* Added: Logs: Confirmation when clicking Clear Log button
* Added: Import: Support for Zipped JSON file
* Added: Export: Export as JSON, Zipped
* Added: Settings: Logs: Option to choose specific Log Levels. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/log-settings/#log-level
* Fix: Logs: Set Clear Log button to red
* Fix: Bulk Publish: Only display selected Posts in Bulk Publish process when selected from the Posts or Pages Bulk Actions

1.4.0 (2020-06-11)
* Fix: Status: Pinterest and Instagram: Ensure Featured or Additional Image is used if ‘No Image’ selected on Status, as an image is always required for Pinterest and Instagram

1.3.9 (2020-06-04)
* Added: Settings: General Settings: Disable Fallback to Content if Excerpt Empty. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/general-settings/#disable-fallback-to-content-if-excerpt-empty-
* Fix: Import & Export: Include Custom Tags, Disable Excerpt Fallback, Hide Meta Box by Roles, Log, Override, Proxy and Text to Image Settings
* Fix: Status: Text to Image: Could not load Media Library class error
* Fix: Status: Text to Image: Removed Use Text to Image, Linked to Post, as this isn’t an option available in SocialPilot
* Fix: Status: Additional Images: Ensure additional images are sent to SocialPilot if defined
* Fix: Error message “SSL certificate problem: certificate has expired” due to SocialPilot not renewing SSL certificate on restapi.socialpilot.co

1.3.8 (2020-05-28)
* Added: Settings: General Settings: Use Proxy option. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/general-settings/#use-proxy-
* Fix: Status: Text to Image: Honor Text Font setting when not using Custom Font
* Fix: Status: Yoast SEO: Only register Title and Description replacements if using Yoast 14.x or higher
* Removed: Repost: Show error message if Repost Settings are defined and DISABLE_WP_CRON prevents WordPress CRON tasks (including Reposting) from running

1.3.7 (2020-05-21)
* Added: Status: Text to Image. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/text-to-image-settings/
* Added: Settings: Log Settings: Log Level option. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/log-settings/#log-level
* Fix: Log: Honor Enabled Setting, ensuring logging does not take place if not enabled

1.3.6 (2020-05-07)
* Added: Compatibility with new REST API
* Added: Status: Insert Tags: Added option to output Taxonomy Terms as Hashtags, retaining case. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/status-settings/#status-text–tags
* Fix: Status: Improved error message when Instagram or Pinterest posting fails due to no image detected when running on a non-public domain
* Fix: Status: Taxonomy Tags: Remove non-alphanumeric characters to avoid breaking tag links
* Fix: Status: Yoast SEO Title and Description not correctly replaced when using Yoast 14.x or higher

1.3.5 (2020-04-30)
* Added: Repost: Show error message if Repost Settings are defined and DISABLE_WP_CRON prevents WordPress CRON tasks (including Reposting) from running
* Added: Repost: Test Repost Cron option and improved logging to wp-content/debug.log when enabled. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/repost-settings/#debugging
* Fix: Status: Don’t attempt to restrict Profiles or assign Author data to a status if the Post’s Author no longer exists as a WordPress User
* Fix: Status: Enabling/Disabling Bulk Publish on Defaults or Social Media Profile wouldn’t update green tick in tab UI
* Fix: CSS: Renamed option class to wpzinc-option to avoid CSS conflicts with third party Plugins
* Fix: Log: Set Test Mode entries Result Test, ensuring filtering by Result Test works

1.3.4 (2020-04-23)
* Fix: Log: Unknown column ‘status’ in ‘where clause’ for query when clearing pending status log entries
* Fix: Elementor: Removed unused tooltip classes to prevent Menu and Element Icons from not displaying

1.3.3 (2020-04-16)
* Added: Licensing: Verbose error message when unable to connect to Licensing API
* Fix: Licensing: Don’t repetitively check the validity of a license that’s invalid or exceeds the number of sites permitted, unless we’re on the Licensing screen
* Fix: Dashboard > Updates: Show link to Changelog on View version details link

1.3.2 (2020-04-09)
* Fix: Status: Manual Override: Don’t save Post-specific settings for non-public Post Types
* Fix: Status: Don’t send status(es) to SocialPilot for non-public Post Types containing Post-level Status Settings copied from a public Post
* Fix: Status: More verbose error message when a status is too long for the target social network

1.3.1 (2020-03-26)
* Added: WP-CLI: Bulk Publish: Support for search parameters displayed at WP to SocialPilot Pro > Bulk Publish. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/wp-cli/#bulk-publish
* Fix: Activation: Prevent DB character set / collation errors on table creation by using WordPress’ native get_charset_collate()
* Fix: Bulk Publish: Show error messages when Posts could not be found based on the given criteria
* Fix: Repost: Remove duplicate Reposting by not attempting to retry for a given Post that successfully schedules with one profile but fails with others

1.3.0 (2020-03-19)
* Fix: Status: Better method to remove double/triple spaces in text whilst retaining newlines/breaklines and unicode/accented characters

1.2.9 (2020-03-12)
* Added: Schedule statuses relative to Events Manager Plugin’s Event’s start or end date/time. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/status-settings/#status-text–scheduling
* Added: Insert Tags for Events Manager Plugin’s Event data. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/status-settings/#status-text–tags–events-manager

1.2.8 (2020-02-27)
* Added: Repost: Option to define days and hours to run Repost action. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/repost-settings/
* Fix: Status: Better method to remove double/triple spaces in text whilst retaining newlines/breaklines

1.2.7 (2020-02-20)
* Fix: Status: Conditions: Return Usernames based on search, not all / no results

1.2.6 (2020-02-20)
* Fix: Status: Better method to remove double/triple spaces in text, to avoid some installations where single spaces would be removed in a status
* Fix: Settings: Removed disabled CSS class on tabs, as not used and avoids potential conflicts with third party Plugins
* Fix: Repost: Return eligible Posts for reposting when Minimum and Maximum Post Age are both set to zero
* Fix: WP-CLI: Bulk Publish: Remove deprecated call to WP_To_Social_Pro_Log::build_log_output_array()

1.2.5 (2020-02-13)
* Added: Status: Conditions: Conditionally send status based on Post Title, Excerpt and/or Content. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/status-settings/#status–conditions–post
* Added: Forms: Accessibility: Replaced Titles with

1.2.4 (2020-02-06)
* Added: Status: Conditions: Custom Fields: NOT EXISTS Comparison Operator. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/status-settings/#status–conditions–custom-fields
* Added: Status: Conditions: Updated UI, adding all Conditions to a single table
* Fix: Repost: Allow zero for Minimum and Maximum Post Age, as stated in the setting description

1.2.3 (2020-01-16)
* Added: General Settings: Option to force trailing forwardslash on {url}. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/general-settings/#force-trailing-forwardslash
* Fix: Strip query parameters (added by e.g. Jetpack) from images before sending status to prevent errors
* Fix: Post: Featured and Additional Images: CSS issue prevented adding Featured/Additional Images

1.2.2 (2019-12-19)
* Added: Status: Scheduling: Custom Time (Relative Format): Today/Tomorrow options. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/status-settings/#status-text–scheduling
* Fix: Repost: Ensure Custom Time offset is based on when the Repost event is run, not the Post’s last modified date
* Fix: WP-CLI: PHP Fatal error: Uncaught Error: Call to undefined method WP_To_Social_Pro_Log::build_log_output_array()

1.2.1 (2019-12-13)
* Fix: Settings: Display confirmation notice that settings have saved

1.2.0 (2019-12-05)
* Fix: Call to undefined method WP_To_Social_Pro_Log::clear_pending_log()

1.1.9 (2019-11-21)
* Fix: Licensing: Obscure License Key if valid

1.1.8 (2019-11-14)
* Added: Licensing: Clear WordPress options cache when updating or deleting license validity information, to prevent aggressive third party caching solutions from storing stale data.

1.1.7 (2019-11-07)
* Added: Log: If DB_CHARSET empty or not defined in wp-config.php, use utf8mb4 for Log table.

1.1.6 (2019-10-24)
* Added: Status: Scheduling: Custom Time (Relative Format) option. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/status-settings/#status-text–scheduling
* Added: Settings: Log Settings: Log settings moved to new tab in UI. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/log-settings/
* Added: Settings: Log Settings: Option to display / hide Log on individual Posts. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/log-settings/
* Added: Settings: Log Settings: Number of days to preserve Logs before automatic deletion. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/log-settings/
* Added: Log: Option to filter Logs by Request Sent Date. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/log-settings/#filtering-logs
* Added: Log: Provide solutions to common issues
* Added: Instagram and Pinterest: Attempt to use image in Post’s Content when no Featured Image or Additional Images specified (as both networks require an image for a status)
* Fix: Status: Conditions: Custom Fields: Add Meta / Custom Field Condition button was not working
* Fix: Per-Post Settings: Ensure JS loaded for Meta Boxes to function correctly on Custom Post Types
* Fix: Don’t attempt to run upgrade routines between Plugin versions more than once

1.1.5 (2019-10-18)
* Fix: Activation: WP to SocialPilot Pro: Error: Could not load Plugin class log

1.1.4 (2019-10-17)
* Added: Log: New Log screen with filters and searching to view Status Logs across all Posts for all actions (Publish, Update, Repost, Bulk Publish). See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/logs/
* Added: Log: Improved messages explaining why a Post is not sent to SocialPilot
* Added: Log: Use separate database table for storing Plugin Status Logs instead of Post Meta, for performance
* Fix: Conditionally load JS, for performance
* Fix: Licensing: Don’t show license expired notice on Plugins screen, for performance

1.1.3 (2019-10-03)
* Added: Status: Conditions: Send if Post matches specified Author(s). See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/status-settings/#status–conditions–authors
* Added: Licensing: Show licensing server response on HTTP or server error
* Fix: Licensing: Updated endpoint URL
* Fix: Licensing: Use options cache instead of transients to reduce license key and update failures

1.1.2 (2019-08-31)
* Fix: Status: Tags: Ensure Syntax for Word and Character Limited Content and Excerpt Tags is correct

1.1.1 (2019-08-29)
* Added: Status: Tags: Content and Excerpt Tag options with Word or Character Limits
* Fix: Status: Removed loading of unused tags.js dependency for performance

1.1.0 (2019-08-15)
* Fix: Status: SocialPilot API error which would occur when a profile has been disconnected from SocialPilot

1.0.9 (2019-07-25)
* Added: Publish: More verbose error message when duplicate statuses are detected, detailing the Post Type, Profile and Action containing duplicate statuses.
* Added: Gutenberg: Better detection to check if Gutenberg is enabled
* Added: Gutenberg: Better detection to check if Post Content contains Gutenberg Block Markup
* Fix: Status: Custom Time (based on Custom Field / Post Meta Value): Ensure “Before Custom Field Value” subtracts days, hours and minutes
* Fix: Status: Custom Time (based on Custom Field / Post Meta Value): Convert timestamp to date/time if custom field value is a timestamp
* Fix: Status: {content} would return blank on WordPress 5.1.x or older

1.0.8 (2019-07-18)
* Added: Support for Status and Featured Image Meta Boxes to display on Envira Galleries when Envira Standalone Addon is also active
* Fix: Bulk Publishing: Search / Filter by Taxonomy was not working
* Fix: Status: Manual Override: Taxonomy Conditions were not populating when creating/editing a Post, Page or Custom Post Type

1.0.7 (2019-06-22)
* Fix: Uncaught ReferenceError: autosize is not defined

1.0.6 (2019-06-20)
* Added: Status: Option to limit the number of words or characters output on a Template Tag. See Docs: https://www.wpzinc.com/documentation/wordpress-to-socialpilot-pro/status-settings/
* Added: Status: Textarea will automatically expand based on the length of the status text. Fixes issues for some iOS devices where textarea scrolling would not work
* Fix: Status: {content} and {excerpt} tags always return the full content / excerpt, which can then be limited using the above word / character limits
* Fix: Publish: Add checks to prevent duplicate statuses being sent when a Page Builder (Elementor) fires wp_update_post multiple times when publishing

1.0.5 (2019-06-06)
* Fix: Status: Strip additional unwanted newlines produced by Gutenberg when using {content}
* Fix: Status: Convert
and
in Post Content to newlines when using {content}
* Fix: Status: Trim Post Content when using {content}

1.0.4 (2019-05-30)
* Fix: Notice: Undefined variable: conditions_met
* Fix: Log: Don’t wrongly log that status(es) exist but conditions not met when an action has no statuses in the first place

1.0.3 (2019-05-25)
* Fix: Repost: Ensure limit is honored

1.0.2 (2019-05-23)
* Added: Status: Criteria: Dates: Option to require Post’s published date be within defined start and end dates for a status to be sent

1.0.1 (2019-05-16)
* Added: Settings: Display notice if the SocialPilot account does not have any social media profiles attached to it
* Fix: Publish: Display errors and log if authentication fails, or profiles cannot be fetched

1.0.0 (2019-05-09)
* First release