Skip to content

1.10.0 - Add front-end cleanup tweaks (emoji, dashicons, oEmbed, RSD/shortlink/generator/RSS/REST metadata)

Choose a tag to compare

@josh-emBold josh-emBold released this 20 Aug 15:19
· 5 commits to master since this release
ec884b3

What's Changed

Adds seven new toggles for trimming unnecessary front-end output. All are configurable via the Settings page or a wp-config.php constant, and all default to enabled except oEmbed, which defaults to disabled (off) to avoid surprising existing sites that rely on auto-embeds.

  • Disable WP Emoji — removes the built-in emoji detection script/styles, TinyMCE emoji plugin, and emoji DNS-prefetch hint. (EMBOLD_DISABLE_WP_EMOJI)
  • Disable Dashicons — dequeues Dashicons on the front end for logged-out visitors only; unaffected for logged-in users. (EMBOLD_DISABLE_DASHICONS)
  • Disable RSD Link — removes the Really Simple Discovery <link> tag from <head>. (EMBOLD_DISABLE_RSD_LINK)
  • Disable Shortlink — removes the shortlink <link> tag from <head>. (EMBOLD_DISABLE_SHORTLINK)
  • Disable Generator Tag — removes the WordPress version generator meta tag from <head> and from RSS/Atom feed output. (EMBOLD_DISABLE_GENERATOR_TAG)
  • Disable RSS Links — removes the RSS/Atom feed discovery <link> tags from <head> (does not disable the feeds themselves). (EMBOLD_DISABLE_RSS_LINKS)
  • Disable WP REST Metadata — removes the REST API discovery <link> tag and matching Link: HTTP header (does not disable the REST API itself). (EMBOLD_DISABLE_REST_METADATA)
  • Disable oEmbed (off by default) — disables automatic embedding of pasted URLs (YouTube, Twitter/X, etc.) in post content, along with the associated discovery links, REST routes, and TinyMCE plugin.

Full Changelog: 1.9.0...1.10.0