borgenfalkskott/bs-wp-reset

A reset plugin to make WordPress tight.

Fund package maintenance!
borgenfalkskott
Patreon

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:wordpress-muplugin

v1.1.2 2021-08-12 21:36 UTC

This package is auto-updated.

Last update: 2021-10-12 23:30:56 UTC


README

A reset plugin to make WordPress tight.

What does this mu-plugin do?

Disabling:

  • File editing
  • Wp version in meta
  • XML-RPC
  • RSS meta
  • Admin bar
  • jQuery
  • Wp Emojis

Login page

  • Wp logo links to start page
  • Wp logo alt text
  • Login error message is more secure

Install

Composer

composer require borgenfalkskott/bs-wp-reset

Bedrock

Simply add it to app/mu-plugins/ to have Bedrock autoload it.

Vanilla WordPress

If you are not using Bedrock, simply add an autoloader file in wp-content/mu-plugins/ like this, to have WordPress run this plugin:

// autoloader.php:

<?php
  /**
   * WordPress Mu Plugin Autoloader
   */
  require_once __DIR__ . '/bs-wp-reset/bs-wp-reset.php';
?>

What is a mu-plugin?

Nowadays it stands for "must use plugin", meaning that it is activated automatically by just adding it to the /wp-content/mu-plugins folder.

Single file mu-plugins that sits directly inside the mu-plugins folder, are loaded automatically by WordPress.

For mu-plugins that live inside a subfolder, they need to be autoloaded like the example above or by using something like Bedrock.

Read more about mu-plugins here.

Support our work

⭐️ Star this repo on GitHub.

⭐️ Star this package on Packagist.

❤️ Buy me a coffee.