WP Manifestindependent plugin directory
manifest / utilities / dm-base

DM Base

Base functionality, helpers and modifications to WordPress for Delicious Media projects.

by Delicious Media Limited · github.com/deliciousmedia/dm-base · website

2stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/deliciousmedia/dm-base/archive/refs/heads/master.zip

Also on Packagist as deliciousmedia/dm-base:

composer require deliciousmedia/dm-base

From the readme

DM Base Base functionality, helpers and modifications to WordPress for Delicious Media projects. Changes to WordPress. - Disables comment/trackback functionality (Toggle with DMDISABLECOMMENTS; default true). - Disables builtin search functionality (Toggle with DMDISABLESEARCH; default false). - Disables output of emoji styles/scripts (Toggle with DMDISABLEEMOJIS; default true) ☹️. - Disables RSS feeds (Toggle with DMDISABLERSS; default true). - Prevents anonymous access to the REST API (Toggle with DMDISABLERESTANON; default true). By filtering dmallowedanonymousrestnamespaces individual namespaces can be whitelisted. - Modifies plugin install screen to show our recommended plugins first (Toggle with DMMODIFYPLUGINSSCREEN; default true). - Removes XMLRPC functionality; X-Pingback headers; tidies up wphead(); - Prevents enumeration of usernames via ?author=n query strings, helpful for tickybox PCI audits (toggled with DMPREVENTUSERENUM; default true). - Enables the use of real GUIDS (toggled with DMUSEREALGUIDS; default false). Additional functionality - Tracks last login times for users accounts (Toggle with DMLASTLOGIN; defaults to true). - Adds logging, fatal error handler.

Read the full README on GitHub →