=== Webdeyeral Emergency Kit ===
Contributors: webdeyeral
Tags: recovery, emergency, white screen, fatal error, debug log
Requires at least: 5.6
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.7.20
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A password-protected emergency recovery page that works even when your site is down.

== Description ==

Webdeyeral Emergency Kit creates a password-protected recovery page with a random name in your site's root folder. The page runs without loading WordPress, so you can repair the site after a white screen, a fatal error or when you cannot log in to the admin.

* Shows the last 50 errors, finds the plugin or theme behind them and deactivates it with one click.
* Turns plugins off and restores the previous list.
* Switches the theme.
* Resets the administrator password, creates a new administrator account and repairs roles (Pro).
* Compares core files with WordPress.org and repairs them.
* Turns off a stuck maintenance mode and resets the .htaccess file.
* A wizard that finds the plugin breaking the site step by step (Find Faulty Plugin).
* Turns error logging (WP_DEBUG) on and off with one click and raises the memory limit.
* Disables the cache and clears the cache folder and transients.
* Shows the cause of a database connection error and checks and repairs tables.
* Cleans settings and tables left in the database by deleted plugins.
* Records every action; most actions can be undone with one click.
* Deletes itself after the chosen time from the first login.
* Adds the recovery address to the email WordPress sends when the site crashes.
* Detects and blocks folder listing in the browser (Index of /).
* Advanced: edits the options table.

The plugin is translation-ready: English is the source language and a Turkish (tr_TR) translation is included. The recovery page uses the language of the site.

The recovery page writes helper files with a .php extension that cannot be read from the browser (action history and backups) to the wp-content folder. While crash notification is on, a small file (wd112-bildirim.php) is added to the mu-plugins folder. All of them are removed when the plugin is deleted.

== External services ==

At each step, the "Find Faulty Plugin" wizard sends a request only to your own site address that you entered.

The "Webdeyeral Plugins" panel at the bottom of the settings page reads the current product list from https://webdeyeral.com/wp-json/webdeyeral/v1/urunler at most once every 12 hours. No site data is sent with the request (as with every web request, your server's IP address and WordPress's standard user agent are visible). If webdeyeral.com cannot be reached, the list bundled with the plugin is shown. To turn it off: add_filter( 'webdeyeral_urunler_remote', '__return_false' ); Privacy policy: https://webdeyeral.com/gizlilik-politikamiz/

The "Send Feedback" form on the settings page sends an email to bilgi@webdeyeral.net through the site's own email sending (wp_mail) only when you press the Send button. The email contains your message, your email address, the site address and the WordPress, PHP and plugin versions. Privacy policy: https://webdeyeral.com/gizlilik-politikamiz/

The core file scan and repair connect to WordPress.org only when you press the button on the recovery page: api.wordpress.org (checksum list) and downloads.wordpress.org (WordPress package). No personal data is sent from your site; only the WordPress version and language are sent. https://wordpress.org/about/privacy/

== Changelog ==

= 1.7.20 =
* The plugin is now translation-ready: English is the source language and a Turkish (tr_TR) translation is included, so the admin screens and the recovery page follow the site language (Loco Translate compatible). On the recovery page, deletion can now also be confirmed by typing DELETE.

= 1.7.19 =
* Store-based brand: when the license was bought on wporigin.com, the plugin shows the WPOrigin brand and WPO product names (Plugins list, left menu, toolbar, plugin pages, All Products, shop and product links, support email). Licenses from webdeyeral.com keep their current brand. With no license on the site, a Turkish site keeps it too and any other language shows WPOrigin.

= 1.7.18 =
* A Webdeyeral menu was added to the left admin menu: all installed Webdeyeral plugins are now listed in one menu, alphabetically and with icons, instead of under Tools, Appearance, Media or WooCommerce. Pro and Agency licenses show a green Pro / Agency label 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) pages. Old page addresses redirect to the new place.

= 1.7.17 =
* The Agency Feedback form was renewed: topic choice (Bug Report, Suggestion, Question), three guiding fields for bugs (What You Did, What You Expected, What Happened), automatic selection of the related screen and an optional screenshot. The optional "Add Technical Details" box adds versions, server limits, the active theme and plugins, settings with secret fields removed and this plugin's last error lines; "What will be sent?" shows the full text before sending. Passwords, keys, the full license key, customer data and IP addresses are never sent. The privacy consent text was renewed with the purpose, retention period and a Privacy Policy link.

= 1.7.16 =
* Renewed settings screen: full width, cards in two columns on wide screens, easier to read text.
* Font size buttons in the top bar (A− / 100% / A+); the size you choose is remembered.
* Settings search in the left menu, groups and a green dot next to enabled features.
* The panel opens on the section you were last on.
* About Us section; a one-line link instead of the large plugins panel at the bottom of every page.
* Pro: yellow License button and Pro / Agency badge in the top bar; the crash notification setting saves without a page reload and warns about unsaved changes.
* Pro: the plugins row at the bottom of each section can be closed.
* Agency: the Feedback form moved from the right column to its own section in the left menu; the form and the information sent are side by side.

= 1.7.15 =
* The plugin panel and recovery page moved to the new Webdeyeral design language: cards with header strips, neatly aligned fields and pink primary buttons.
* The recovery page's left menu and the section cards on the Welcome page have icons.
* The recovery page creation form has two columns; the Save button is at the bottom right of the card.
* Action buttons in tables are simpler, and warning and info boxes are easier to read.

= 1.7.14 =
* Maintenance Mode became a separate page in the recovery page's left menu.
* Memory Limit and PHP Limits became separate pages under Overview in the left menu.
* PHP Limits can now be used in the free version too.
* If the file upload limit is 2 MB or less, a warning shows that installing the Pro version or other plugins may fail.
* The Action History page was renamed Undo Actions.
* Pro features show a green Pro label in their titles.
* The Site Addresses section was removed.

= 1.7.13 =
* The feedback form now appears only while an Agency license is active; its label became Agency.

= 1.7.12 =
* The WP Emergency Kit Agency license now covers 500 sites (new licenses). Sites already registered on a license stay registered.

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

= 1.7.10 =
* New admin panel layout: sections are now on the left in a vertical menu, each with an icon and name; the selected section opens on the right. The menu and the product row at the top stay in place while scrolling, and License is always at the end of the menu. Section boxes get a light shadow on hover.

= 1.7.9 =
* A green Pro label was added next to the feedback form's title to show that the form is Pro only.

= 1.7.8 =
* The feedback form now appears only while a Pro license is active; the form's description was renewed.
* If a site has more than one Webdeyeral plugin, the Webdeyeral Plugins panel is shown in its newest version; an older plugin cannot bring back the old look.

= 1.7.7 =
* The Webdeyeral Plugins panel was renewed: dark background, two columns; each product with its image, name, description and product link. Images are hidden on phones.

= 1.7.6 =
* The free plugin was renamed Webdeyeral Emergency Kit (the Pro version stays WP Emergency Kit Pro). Your settings and recovery page are kept.

= 1.7.5 =
* The red Emergency link in the toolbar moved under the pink "Webdeyeral" menu together with the other Webdeyeral plugins and was renamed WP Emergency Kit.
* The Webdeyeral Plugins panel shows all four products (including WP Disable Helper).

= 1.7.4 =
* Pro now works on its own: it carries all features of the free WP Emergency Kit plugin and turns it off automatically when activated. Your settings and recovery page are kept.
* If this plugin is deleted while WP Emergency Kit Pro is installed, your recovery page and settings are kept.
* The Pro license is now in its own License tab in the top menu.
* Notices from other plugins no longer appear inside this page either.
* The slogan next to the name was removed.

= 1.7.3 =
* In the Plugins list, a "Go Pro" link appears when Pro is not installed.

= 1.7.2 =
* If another plugin with the same name appears on WordPress.org later, its update will not be installed in place of this plugin.

= 1.7.1 =
* Notices from other plugins no longer appear on the plugin's page; the page stays clean and easy to read.

= 1.7.0 =
* The plugin's folder and file name became wp-emergency-kit to match the product name. Your settings and recovery page are kept.
* The red 112 link in the toolbar was renamed Emergency.

= 1.6.4 =
* The settings page was renewed: the same dark header bar and tabs as the other Webdeyeral plugins (Recovery Page, Email And Notification, What's Inside).
* A Send Feedback form was added to the right column; your message goes straight to the Webdeyeral team.

= 1.6.3 =
* The plugin was renamed "WP Emergency Kit". Your settings and existing recovery page keep working as before.

= 1.6.2 =
* The plugin was renamed "Emergency Kit" (formerly 112 Hızır Acil). Your existing recovery page and settings keep working as before.
* An Agency license for 1000 sites was added next to Emergency Kit Pro.

= 1.6.1 =
* In the Webdeyeral Plugins panel, the comments, updates, notices and classic editor plugins were merged into one plugin: Disabler.

= 1.6.0 =
* A "Webdeyeral Plugins" panel was added at the bottom of the settings page: Our Products and Coming Soon. The list is kept up to date from webdeyeral.com.

= 1.5.2 =
* Resetting the administrator password and repairing roles also moved to 112 Hızır Acil Pro. The whole Users and Roles section now comes with Pro.

= 1.5.1 =
* Creating a new administrator account moved to 112 Hızır Acil Pro. Resetting the administrator password and repairing roles stay in the free version.

= 1.5.0 =
* 112 Hızır Acil Pro: the Find Faulty Plugin wizard, undoing actions, core file scan and repair, database repair and cleanup, PHP limits, cache tools, debug mode, folder protection, crash notification, test email and choosing the recovery page lifetime moved to the Pro version. The free version keeps the basics of recovery: turning off plugins and the theme, error log, administrator password, site address, .htaccess reset, turning off a stuck maintenance mode, memory limit and SMTP status.
* Pro sections are shown with an intro card in the free version; Pro is marked in the menu and on the Welcome page.
* When the Pro license ends, the recovery page is rewritten with the same address and password but without the Pro sections.

= 1.4.1 =
* The "Redirect Folders To Home Page" feature was removed; on some sites it caused a "too many redirects" (ERR_TOO_MANY_REDIRECTS) error. If redirect files placed in folders by the old version are found, Server Settings shows a warning and they can be removed with one click. Folder listing is still turned off with the .htaccess method.

= 1.4.0 =
* PHP Limits: the Server Settings page shows the upload size, post size, memory, execution time, input time and input count limits. The "Improve PHP Limits" button raises values below the recommended ones (128M, 128M, 256M, 3000, 1000, 2000); this fixes demo import problems in premium themes. Settings are written to .user.ini or .htaccess depending on the server type; if the site fails the change is undone right away, and it can be undone from Action History.
* Email Sending (SMTP): the Overview page and the plugin settings show whether SMTP is active (WP Mail SMTP, FluentSMTP, Post SMTP, Easy WP SMTP and others). If it is not active, a warning says form messages and notifications may not arrive. A test email can be sent from the plugin settings.
* The Welcome page was updated for the new features; it shows a warning if SMTP is off.
* The plugin was renamed "112 Hızır Acil"; next to the name it shows "Yetiş ya Muhammed (sav), yetiş ya Ali (as)".

= 1.3.0 =
* Welcome page: the first page in the menu and the page that opens after login. It explains the plugin's purpose and benefits, where to start for each problem and what each section can do; clicking a section card opens that page.

= 1.2.5 =
* The Log Out and version buttons at the top have the same height, width and corner radius. On phones the buttons move below the title and do not overflow the screen.

= 1.2.4 =
* The Log Out and version number buttons at the top now have a black background.

= 1.2.3 =
* The left menu starts level with the content at the top of the page and sticks to the top of the screen when scrolling down.

= 1.2.2 =
* When creating a recovery page, the "Generate Random Password" button creates a strong 16-character password; the password can be shown and copied with one click. You can still type your own password.

= 1.2.1 =
* The left menu stays fixed and vertically centered on screen while the page scrolls. On phones the menu stays at the top as before.

= 1.2.0 =
* Prevent folder listing: checks whether uploads and folders without an index file are listed in the browser ("Index of /"). Listing is turned off with .htaccess (Apache, LiteSpeed) or by adding an index.php to the folders that sends visitors to the home page (any server).
* After an .htaccess change the site is checked automatically; if the server does not allow the setting and the site fails, the change is undone right away.

= 1.1.0 =
* Find Faulty Plugin: a wizard that finds the plugin breaking the site in a few steps by turning plugins off and on in groups. The site is also checked automatically at each step.
* Error Logging: WP_DEBUG and WP_DEBUG_LOG are turned on and off with one click from the Error Log page. Errors are not shown to visitors.
* Memory Limit: for the "Allowed memory size" error, the WordPress memory limit is set to 256M with one click.
* Cache: object-cache.php and advanced-cache.php are disabled, and the cache folder and transients are cleared.
* Database page: shows the cause of a connection error and the fix; tables are checked and repaired.
* Settings and tables left in the database by deleted plugins and themes are listed; the selected ones are backed up and cleaned.
* Action History: every action on the recovery page is recorded, and most can be undone with one click.
* Automatic deletion: the recovery page deletes itself after the chosen time from the first login (24 hours by default).
* Crash notification: the recovery page address is added to the email WordPress sends when the site has a fatal error.
* Changelog: the version number shows at the top; clicking it opens this list.
* The menu order was arranged; the "Server Files" tab was renamed "Server Settings". Advanced database settings moved to the Database page.
* wp-config.php is backed up before changes; if the new content fails the syntax check, the file is not touched.

= 1.0.4 =
* The "Remove Script" tab was renamed "Delete This File" and its description was simplified.
* Deletion can be confirmed by typing SIL, SİL or sil.

= 1.0.3 =
* The plugin was renamed "112 Acil Yardım".
* The Options tab was removed from the menu; it opens from the "Advanced: Database Settings" section, which has a warning.

= 1.0.2 =
* Active plugins are sorted alphabetically.
* Edit and Delete are shown side by side as icons in Options.
* The red header at the top is shown at content width.

= 1.0.1 =
* The plugin was renamed "112 Acil".

= 1.0.0 =
* First release: password-protected emergency recovery page; tools for plugins, theme, users, site address, core files, maintenance mode, .htaccess and the error log.

