=== Lnk.Bio === Contributors: lnkbio Donate link: https://lnk.bio/ Tags: linkinbio,automation,lnkbio Requires at least: 5.0 Tested up to: 7.0 Stable tag: 0.3.3 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Auto-publish a new Lnk on your Lnk.Bio page everytime you publish a new WordPress blog post. == Screenshots == 1. Plugin admin page == Changelog == = 0.3.3 = * Compatibility: tested up to WordPress 7.0 = 0.3.2 = * Added: opt-in debug logging — when `WP_DEBUG` is enabled, the plugin writes structured log lines (`[Lnk.Bio] …`) to PHP's error log, covering API requests/responses, publish-hook decisions, and Mass Sync state transitions. Credentials are redacted automatically. * Improved: credentials (ID and Secret) are now trimmed of whitespace on save (fixes failures caused by invisible characters introduced during paste) * Compatibility: replaced PHP sessions with per-user transients for the Mass Sync progress (fixes conflicts with page/object caching and complies with plugin guidelines) * BugFix: the WordPress Category filter on Mass Sync was being ignored (used non-existent `category` query var instead of `cat`) * SecFix: hardened admin/AJAX handlers — nonce checked before capability, ABSPATH guards added, escape on group options output * Compatibility: PHP 8.x safety — defensive null/object checks on API responses, removed reads on potentially-null objects * Improved: replaced `json_encode` with `wp_json_encode`, removed deprecated `sizeof()`, added asset versioning, ignore revisions/autosaves on publish hook * Raised minimum PHP to 7.4 (7.2 is past EOL) = 0.3.1 = * BugFix: fixed error on category "all" selection * SecFix: improved checks on logged user permissions * Improved: migrated last call from wp_curl to wp_remote_post * Improved: migrated to wp_send_json_success / wp_send_json_error * Improved: admin now show errors on test for further debugging = 0.3 = * Added filter by Category to only publish certain posts on Lnk.Bio * Added filter by Max Date to only start Mass publish from a certain date onwards = 0.2.4 = * Improved previous fix for lighter code = 0.2.3 = * Fix incompatibility with Discourse WP Plugin and Classic Editor = 0.2.2 = * Small bugfix after major 0.2 release for Group selection = 0.2.1 = * Small bugfix after major 0.2 release for Group selection = 0.2 = * Added Group selection, tested for 6.3 = 0.1.1 = * Bugfix - some installations were unable to upload the image correctly = 0.1.0 = * Added function to mass-sync all existing WP posts = 0.0.4 = * Added fix for cases where the $meta_value is null (undocumented) = 0.0.3 = * Removed sync on updated post_meta. Only adding new posts will result in Lnk.Bio SYNC = 0.0.2 = * Initial public release == Upgrade Notice == None