deliciousmedia/dm-base
最新稳定版本:1.4.1
Composer 安装命令:
composer require deliciousmedia/dm-base
包简介
Base functionality, helpers and modifications to WordPress for Delicious Media projects.
README 文档
README
Base functionality, helpers and modifications to WordPress for Delicious Media projects.
Changes to WordPress.
- Disables comment/trackback functionality (Toggle with
DM_DISABLE_COMMENTS; default true). - Disables builtin search functionality (Toggle with
DM_DISABLE_SEARCH; default false). - Disables output of emoji styles/scripts (Toggle with
DM_DISABLE_EMOJIS; default true) ☹️. - Disables RSS feeds (Toggle with
DM_DISABLE_RSS; default true). - Prevents anonymous access to the REST API (Toggle with
DM_DISABLE_REST_ANON; default true). By filteringdm_allowed_anonymous_restnamespacesindividual namespaces can be whitelisted. - Modifies plugin install screen to show our recommended plugins first (Toggle with
DM_MODIFY_PLUGINS_SCREEN; default true). - Removes XMLRPC functionality; X-Pingback headers; tidies up wp_head();
- Prevents enumeration of usernames via ?author=n query strings, helpful for tickybox PCI audits (toggled with
DM_PREVENT_USER_ENUM; default true). - Enables the use of real GUIDS (toggled with
DM_USE_REAL_GUIDS; default false).
Additional functionality
- Tracks last login times for users accounts (Toggle with
DM_LASTLOGIN; defaults to true). - Adds logging, fatal error handler.
- Adds an environment indicator to the admin bar.
- Adds dm_developer role.
- Ability to force enable/disable plugins by environment (or other arbitrary rules).
- Ability to sync ACF fields between environments.
Installation
Install via Composer (composer require deliciousmedia/dm-base), or just clone/copy the files to your mu-plugins folder.
Built by the team at Delicious Media, a specialist WordPress development agency based in Sheffield, UK.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2026-02-26