Repository navigation
Releases
Releases · MightyShare/mightyshare-wordpress-plugin
v1.4.0
- New: social share images are now pre-generated in the background when a post is published or updated. Previously the first crawler to request the image triggered the render, and a slow first render could make X/Twitter cache a blank card. The warm-up is queued via WP-Cron the moment you save — publishing never waits on it — and re-saving unchanged content resolves to the same signed URL, served from cache without a new render.
- Bug fix:
Mightyshare_Public_Functions::get_mightyshare_url( $post_id )now honors the$post_idargument outside the frontend loop (it previously always used the queried object), and returns an empty string instead of PHP warnings when no API key is configured. - Bug fix: feed renders no longer embed the page URL in the template values, so a post's feed and page now share a single cached render.
- Performance: meta box definitions (including the Google Fonts list) are no longer built on every frontend request.
- Template picker lists the standard templates first again — mesh templates are no longer the default for new installs.
- Security & hardening: sanitize admin
$_GET(page/tab/post) inputs, addwp_unslashto metabox saves, escape image URLs (esc_url), and replace incorrectesc_attrusage withesc_htmlfor text output. - Bug fix: removed nested function declarations inside the options class constructor that could cause a fatal error if the class was instantiated more than once. Also fixed the
mightshare_metaboxestypo. - Bug fix: corrected
MIGHTYSHARE_VERSIONconstant which was out of sync with the plugin header (broke admin asset cache busting). - Bug fix: replaced bare
echoof API key validation errors withadd_settings_error()so failures render in the standard settings UI. - Performance: per-request caching of plugin options and active-plugins list (SEO plugin detection no longer re-reads
wp_options7+ times per request). - Added
uninstall.php— plugin settings are removed when the plugin is deleted (per-post meta is preserved for re-installs). - Compatibility: bumped "Requires at least" to WordPress 6.0; tested up to WordPress 7.0.
- i18n: load text domain from
/languages(Domain Path) oninit.
v1.3.21
v1.3.20
v1.3.19
v1.3.18
1.3.17
v1.3.16
v1.3.15
v1.3.14
1.3.13
- WordPress 6.5 compatibility.
- Frontend PHP function added for developers to use.