Bloat Remover
Contributors: lotgrafix
Tags: bloat, performance, speed, cleanup, disable-emojis, disable-comments, xml-rpc
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Speed up your site by disabling emojis, embeds, Dashicons, jQuery Migrate, XML-RPC, comments, and Gutenberg styles with simple toggles.
== Description ==
Bloat Remover speeds up your WordPress website by disabling emojis, embeds, Dashicons, jQuery Migrate, XML-RPC, comments, Gutenberg styles, and other unused core features. WordPress loads numerous default scripts, styles, feeds, and APIs that many modern websites never use. Clean up your HTML head, restrict the REST API and feeds, and improve page speed and loading times from one simple dashboard, with no custom code.
== Features ==
📦 Assets & Styles
– Disable Hints: Removes WordPress resource hints (`wp_resource_hints`) such as DNS Prefetch and Preconnect from HTML head.
– Disable Dashicons: Stops loading the Dashicons icon font on the front-end for visitors while keeping it active in the admin area.
– Disable SVG Filters: Removes default Gutenberg SVG filters, custom CSS properties, and Duotone rendering markup.
– Disable Global Styles: Removes inline global styles generated by theme.json.
– Hide Resource Version: Strips version query strings (`?ver=`) from CSS and JavaScript files.
🧹 Head Cleanup
– Disable REST API Links: Removes REST API discovery link tags from HTML head and HTTP header links.
– Disable RSS Links: Removes RSS, Atom, and extra comment feed tags from HTML head (feed URLs remain accessible unless turned off in APIs & Feeds).
– Disable Shortlink: Removes WordPress shortlink tags and HTTP headers.
– Disable Emoji: Prevents emoji detection scripts, styles, and related resource hints from loading.
– Disable RSD: Disables Really Simple Discovery (RSD) links used by legacy publishing tools.
– Hide Generator: Removes the WordPress version generator tag from HTML head and RSS/Atom feeds.
🧩 Components & Features
– Disable Embeds: Disables oEmbed API endpoints, discovery links, and front-end scripts to prevent external embeds and redirect embed requests to 404.
– Disable jQuery Migrate: Removes the jQuery Migrate compatibility script from front-end dependencies.
– Disable Speculation Rules: Removes browser speculation and prerender rules from HTML head and footer.
– Hide Jetpack Admin Bar: Prevents Jetpack from loading front-end admin bar CSS and JavaScript.
🔒 APIs & Feeds
– Disable Feeds: Completely disables RSS, Atom, and comment feed URLs (returns a 403 Forbidden response).
– Disable Pingbacks: Disables incoming pingbacks, removes the X-Pingback HTTP header, and stops self-pingbacks on internal links.
– Disable REST API: Restricts public REST API access for unauthenticated/guest users (returns a 403 Forbidden response).
– Disable XML-RPC: Completely blocks XML-RPC authentication and requests.
💬 Comments
– Disable Comments on Posts: Removes comment forms, trackbacks, and comment meta boxes from standard posts.
– Disable Comments on Pages: Removes comment forms, trackbacks, and comment meta boxes from static pages.
– Disable Comments on Media: Removes comment support and meta boxes from attachment pages.
– Disable Comments on Admin Bar: Removes the comments bubble and menu node from the WordPress top admin bar.
🧱 Gutenberg & Editor
– Disable Gutenberg: Disables the block editor for posts and pages, restoring the Classic Editor interface.
– Disable Block Library Styles: Unloads front-end CSS stylesheets for WordPress block library and global inline styles.
– Disable Widget Blocks: Disables the block-based widget editor and restores the classic widgets interface.
– Disable Core Patterns: Disables default WordPress core block patterns from the editor.
== Installation ==
1. Upload the plugin files to the `/wp-content/plugins/lotgrafix-bloatremover` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the ‘Plugins’ screen in WordPress.
3. Navigate to **LOT Grafix → Bloat Remover** in your WordPress dashboard to configure features.
4. Enable the desired features and click “Save Changes”.
== Frequently Asked Questions ==
= Does Bloat Remover alter my theme or database files? =
No. Bloat Remover hooks into standard WordPress filters and actions dynamically. Disabling or uninstalling the plugin instantly restores all default WordPress behaviors.
= Will disabling the REST API break my forms or plugins? =
It can. “Disable REST API” blocks public REST requests from logged-out visitors, which some contact form plugins, page builders, and headless setups rely on. Enable it only after testing your site, and leave it off if you are unsure.
= Will disabling features break my site? =
Some themes or plugins may depend on specific default scripts (like jQuery Migrate, Dashicons, or Gutenberg styles). We recommend enabling options one by one and testing your site to ensure proper functionality.
= Can I keep the REST API working while disabling discovery links? =
Yes. Disabling “REST API Links” only cleans up your HTML head tags without blocking REST API requests used by plugins or web applications.
= Does it work with cache and optimization plugins? =
Yes. Bloat Remover cleans up the source code before page caching occurs, making it a perfect companion for caching plugins and CDN setups.
== External services ==
This plugin includes the LOT Grafix dashboard, which connects to an external service to display the list of other LOT Grafix plugins.
= LOT Grafix Plugin List =
– Service: https://wp-plugins.lotgrafix.workers.dev (hosted on Cloudflare Workers, operated by LOT Grafix, Inc.)
– Purpose: retrieves the list of available LOT Grafix plugins shown on the LOT Grafix admin page.
– Data sent: no personal or user data is sent. As with any HTTP request, the server receives your site’s IP address and the standard WordPress User-Agent, which includes your site URL.
– When: only when an administrator opens the LOT Grafix admin page and the cached list (1 hour) has expired.
– Terms of Service: https://lotgrafix.com/terms-of-service/
– Privacy Policy: https://lotgrafix.com/privacy-policy/
– Hosting provider (Cloudflare) Terms: https://www.cloudflare.com/website-terms/
– Hosting provider (Cloudflare) Privacy: https://www.cloudflare.com/privacypolicy/
== Screenshots ==
1. Bloat Remover main dashboard interface
2. Control panel for Assets, Styles, and Head Cleanup
3. API, Gutenberg, and Comments control panel
== Changelog ==
= 1.0.0 =
– Initial release
– Modular cleanup system for WordPress Core features
– Independent toggle controls for Assets, Styles, Head HTML, APIs, Gutenberg, and Comments
– Lightweight execution with zero database clutter
== Upgrade Notice ==
= 1.0.0 =
Initial stable release.


