Skip to content

v1.4.0

Latest

Choose a tag to compare

@someguy9 someguy9 released this 12 Jul 19:48
  • 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_id argument 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, add wp_unslash to metabox saves, escape image URLs (esc_url), and replace incorrect esc_attr usage with esc_html for 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_metaboxes typo.
  • Bug fix: corrected MIGHTYSHARE_VERSION constant which was out of sync with the plugin header (broke admin asset cache busting).
  • Bug fix: replaced bare echo of API key validation errors with add_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_options 7+ 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) on init.