MyBrain Utilities
This plugin is a collection of various utilities, used by My Brain for different websites. We released this to the WordPress Plugin repository as we think it is also useful to others.
HTAccess_Keeper
Checks, backs up and restores your .htaccess and wp-config.php files. Makes a backup when files are modified and restores when a 0 bytes file has been detected. An e-mail will be sent to the Administration Email Address, whenever a damaged file has been restored. Originally developed because some plugins keep (re)writing to these two files and sometimes leave them damaged as empty file. That broke the complete website, but /index.php was still being executed, allowing this plugin to restore the damaged file.
Keep_me_logged_in
Stay logged in longer. WordPress will keep you logged in for 48 hours. If you’ve clicked the « Remember Me » checkbox at login, you get remembered for 14 days. This option keeps your login active longer than the standard WordPress Login Cookie time-out. You may need to login again after you change the time-out value.
Console_Warning
This plugin adds a warning in the browser console log to any visitor, to only continue if they understand the code and trust the source. Disable this option at your own risk.
Clean_Head
Option to cleanup some default WordPress HEAD entries. Keeps your HTML a little cleaner; remove the links to the rss-feeds and other lines.
Openstreetmap/Leaflet Shortcode
Adds a simple OpenStreetMap/Leaflet Shortcode to be used in your content/contact-page. Inludes a standard marker and optional information popup.
Copyright
Copyright (C) 1999-2025 My Brain
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
MyBrain Utilities uses the following third-party resources:
WordPress plugin boilerplate generator, WPPB by Enrique Chavez License: GPLv2 Source: https://wppb.me/
OpenStreetMap, by the OpenStreetMap Foundation (OSMF) License: Open Data Commons Open Database License (ODbL) Source: https://www.openstreetmap.org
Leaflet, created by Volodymyr Agafonkin License: MIT, BSD 2 clause Source: https://leafletjs.com/
