=== Webdeyeral Disable Helper ===
Contributors: webdeyeral
Tags: disable comments, auto updates, classic editor, xml-rpc, performance
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.7.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Turn off the WordPress features you do not need from one screen. Every switch explains what it does and what you gain.

== Description ==

Webdeyeral Disable Helper puts the most wanted WordPress on/off switches on one clean screen. Each switch tells you, in plain words, what the feature is, what you gain by turning it off and what to keep in mind. Every feature is free; there is no Pro version.

**Comments**

* Disable comments and pingbacks everywhere (menu, toolbar, dashboard widget, feeds and REST routes included)
* Bulk delete all, approved, pending, spam or trashed comments and pingbacks

**Updates**

* Turn on automatic updates for WordPress, plugins, themes and translations in one click
* Disable the automatic update e-mails

**Admin & Editor**

* Hide admin notices and nags
* Classic editor and classic widgets
* Hide the front-end toolbar for everyone or for chosen roles

**Media**

* Allow SVG uploads for administrators, with every file cleaned of scripts and other risky parts while it is uploaded
* Allow WebP, AVIF and ICO uploads, even on servers that report these files wrongly
* Clean up file names of new uploads (lower case, no spaces or special characters)

**Content Protection**

* Disable right click on your content
* Disable text selection, copying and cutting (forms and input fields keep working)
* Stop images from being dragged out of the page
* Block printing and saving with Ctrl+P / Ctrl+S
* Block developer tool shortcuts (F12, Ctrl+Shift+I, Ctrl+Shift+J, Ctrl+Shift+C, Ctrl+U)
* Choose the roles that are not protected, where protection works (whole site, single content or chosen post types) and the warning message

These protections discourage ordinary visitors from copying your content. No website can fully stop a determined person, and search engines are not affected.

**Security**

* Disable XML-RPC
* Disable the REST API for visitors, with an allow list
* Disable author archives and user enumeration
* Hide the WordPress version
* Disable the theme and plugin file editor
* Disable application passwords

**Performance**

* Disable emojis, embeds (oEmbed), jQuery Migrate and front-end Dashicons
* Control Heartbeat: where it runs and how often
* Limit revisions and clean up old ones
* Disable RSS feeds, attachment pages, self pingbacks and site search

**Tools**

* One-click recommended settings
* Export and import settings between sites
* Reset everything

Nothing is deleted when a switch is turned on: turning it off again restores the default WordPress behaviour. Only the Delete Comments and Clean Up Revisions tools remove data, and they ask first.

== External services ==

This plugin does not contact any outside service on its own.

The "About Us" section of the settings screen shows a "Webdeyeral Plugins" panel with other plugins by the same author. The list ships inside the plugin; no request is made to show it. A site owner can opt in to the current list from webdeyeral.com with `add_filter( 'webdeyeral_urunler_remote', '__return_true' );`. Then the plugin reads https://webdeyeral.com/wp-json/webdeyeral/v1/urunler at most twice a day when an administrator opens the screen, with a plain GET request that sends no site or user data. Privacy policy: https://webdeyeral.com/gizlilik-politikamiz/

The optional feedback form in the "Feedback" section is used only when you write a message, tick the consent box and press Send. It sends your message, your e-mail address, the site address and the WordPress, PHP and plugin versions to bilgi@webdeyeral.net through your site's own e-mail setup (wp_mail). Nothing is sent otherwise. Privacy policy: https://webdeyeral.com/gizlilik-politikamiz/

== Screenshots ==

1. Updates tab: every switch says what it does, what you gain and what to keep in mind.
2. Security tab.
3. Tools: recommended settings, deleting comments, cleaning up revisions, export and import.

== Installation ==

1. Upload the plugin and activate it.
2. Open Webdeyeral → WP Disable Helper and turn on the switches you want, or apply the recommended settings from its Tools tab.

== Frequently Asked Questions ==

= Will turning a switch on delete anything? =

No. Switches only change how WordPress behaves. Turn a switch off and WordPress works as before.

= Is there a paid version? =

No. Every feature is in this plugin.

== Changelog ==

= 1.7.1 =
* New Webdeyeral menu in the left admin menu: all installed Webdeyeral plugins are listed in one menu, in alphabetical order and with icons, instead of under Tools, Appearance, Media or WooCommerce. Pro and Agency licenses show a green Pro / Agency pill next to the name. The menu also has All Products (all our products, installed or not) and Settings (hide the Webdeyeral shortcut in the toolbar). Old page addresses redirect to the new place.

= 1.7.0 =
* New panel layout: full width, up to 4 columns of switches on wide screens, easier-to-read text.
* Text size buttons (A− / 100% / A+) in the top bar, remembered per user.
* Settings search in the side menu; grouped menu with green dots for sections that have a switch on.
* Sticky save bar: settings are saved without reloading, with a "Saved" message and a warning before leaving with unsaved changes.
* The panel opens on the section you had open last.
* New About Us section with our other plugins; a one-line link replaces the large plugins panel under each section.
* The feedback form has its own "Feedback" section in the side menu, next to a card that lists what is sent.
* Switches that are on are now green.

= 1.6.2 =
* New look for every screen: cards with a header, two-column switch grid, compact toggles, summary cards (switches on, can be turned on, already managed elsewhere, pending clean-ups) and clearer buttons.
* Tools are laid out side by side; recommended switches that are already on are marked green.

= 1.6.1 =
* The Protection tab shows how many of its switches are still off, like the other tabs.

= 1.6.0 =
* New Protection tab: disable right click, text selection and copying, image dragging, printing and saving, and developer tool shortcuts. Choose exempt roles, where protection works and the warning message.

= 1.5.19 =
* The feedback form sends only what its consent text lists.
* Styles are added with wp_add_inline_style() instead of style tags.
* Translations come from translate.wordpress.org; the bundled Turkish files were removed.
* Plugin URI fixed.

= 1.5.18 =
* Improved: the settings screen moved from its own item in the left admin menu to Tools → WP Disable Helper. Old page addresses keep working.

= 1.5.17 =
* New: Media section with Allow SVG Uploads (every SVG is cleaned while it is uploaded, administrators only), Allow WebP Uploads, Allow AVIF and ICO Uploads and Clean Up File Names.
* New: Changelog screen, opened by clicking the version number in the header.
* Fix: no more "translation loaded too early" notice in the error log on WordPress 6.7 and later.

= 1.5.16 =
* The WP Disable Helper label in the Webdeyeral toolbar menu now has white text.

= 1.5.15 =
* The "View Product" links in the Webdeyeral Plugins panel are now yellow, so they are easier to read.

= 1.5.14 =
* New admin layout: the sections are now in a vertical menu on the left, each with its icon, name and yellow improvement bubble, and the chosen section opens on the right. The menu and the product bar on top stay in place while the page scrolls. Section boxes get a soft shadow on hover.

= 1.5.13 =
* New description text for the feedback form.
* When several Webdeyeral plugins are installed, the Webdeyeral Plugins panel always uses the newest copy, so an outdated plugin can no longer bring back the old look.

= 1.5.12 =
* The Webdeyeral Plugins panel has a new look: dark background, two columns, each product with its image, name, description and product link. Images are hidden on phones.

= 1.5.11 =
* New: a green WP Disable Helper link under a shared pink "Webdeyeral" toolbar menu, which lists the active Webdeyeral plugins.
* The Webdeyeral Plugins panel lists all four products, WP Disable Helper included.

= 1.5.10 =
* Deleting the plugin no longer removes your settings while another copy of this plugin is still installed.

= 1.5.9 =
* The notice on the Plugins screen now says "the free version of this plugin" instead of "the earlier copy".

= 1.5.8 =
* The "earlier copy was turned off" message now appears only on the Plugins screen and this plugin's own pages, and can be closed with "Hide this message".

= 1.5.7 =
* The message about the turned-off earlier copy is now translated into Turkish.

= 1.5.6 =
* Comment counting and bulk delete queries are now written out in full with prepared statements.

= 1.5.5 =
* Comment counting and bulk delete queries now use prepared statements.

= 1.5.4 =
* The admin menu item is now called "Disable Helper", so it fits on one line.

= 1.5.3 =
* Removed: the Disable Core Updates and Disable Theme Updates switches. WordPress, plugins, themes and translations now always update as WordPress normally handles them.

= 1.5.2 =
* Removed: the Disable Plugin Updates and Disable Translation Updates switches. Plugin and translation updates now always work as WordPress normally handles them.
* Removed: an unneeded emoji DNS prefetch filter (emoji loading is still switched off).

= 1.5.1 =
* The Webdeyeral Plugins panel lists only released plugins.

= 1.5.0 =
* First release on WordPress.org, under the name Webdeyeral Disable Helper and the folder "webdeyeral-disable-helper".
* Updates now come from WordPress.org. Copies installed earlier from webdeyeral.com ("webdeyeral-wp-disabler", "wp-disabler", "wp-disable-helper") are turned off automatically and your settings are kept.
* The Webdeyeral Plugins panel uses the list that ships with the plugin and makes no outside request by default.

= 1.4.0 =
* New name: WP Disable Helper (folder "wp-disable-helper").

= 1.3.0 =
* Fix: WordPress.org has an unrelated plugin in a "wp-disabler" folder, and WordPress offered its version as an update. The plugin now tells WordPress (Update URI) that it is not from WordPress.org, so it is never replaced by that plugin.

= 1.2.0 =
* The plugin folder, main file and text domain are now "wp-disabler". When you install it over the old "webdeyeral-wp-disabler" copy, the old copy is turned off automatically and your settings are kept.

= 1.1.0 =
* New: "Turn On All Automatic Updates" at the top of the Updates tab, with a Webdeyeral recommendation.
* New: "Already Managed" warning when another plugin or wp-config.php already does a switch's job, with a tip when that plugin can be removed.
* New: yellow bubbles on tabs showing how many improvements are left.
* Change: "Hide Admin Notices" now also hides notices on the Plugins and Updates screens.
* Change: nothing is active by default.
* Turkish wording: every on/off item is now called "özellik".

= 1.0.0 =
* First release.
