Show the rebranded version in the admin footer, (dashboard) when it is activated, or automatically, if it is in the mu-plugins directory.
This WordPress plugin expand, secure, enhance, core code on /wp-admin/includes/update.php
Development for this plugin takes place at GitHub and Travis CI. GlotPress Translations Compatible.
Approved in the repository of the plugins directory on 2017-12-25
this plugin use Semantic Versioning MAJOR.MINOR.PATCH
The PHP and SQL “alert system” of this plugin, compatible with Serve Happy / Site Health specifications, is based (at a glance) on the well-known red, orange, green, of “traffic light” method, so that any type of user is able to immediately identify, by means of a “visual color” warning, the necessary notices, even without having any specific technical preparation.
The final purpose of this “conceptual” plugin is to demostrate that is possible, whit a simple re-coding, and a good idea, to standardize, uniformizing, improve, requalifying, some aspects of WordPress that are put in the oblivion.
Expand
Necessary
- Show version (rebranded) in admin Update Footer area.
- Centralized dashboard messages for all declared installations.
- Centralized development / deployments for declared installations.
- Same code work with all declared versions of WP
- Same code work with all declared versions of PHP
- Same code work with all declared versions of SQL
- Same code work from WP 2.3+ to 5.1+ ~ 5.2-alpha
- Support Single / Multiuser (MU) / Multisite (MS) releases.
- Compatible with mu-plugins directory.
- Work in mu-plugins directory.
- Ready to the Famous 5 Minute Installation.
- Work with first step installation setup.
- NEW – Site Health / Serve Happy (specifications) compliant.
- NEW – System Overview of PHP / MySQL / MariaDB version used.
- NEW – Show System Overview in admin Footer Text area.
- NEW – System Overview show obsolete PHP versions.
- NEW – System Overview show obsolete SQL versions.
- FUTURE – Database Overview of resources usage (in development).
- FUTURE – Memory Overview of resources usage (in development).
- FUTURE – System Overview in Admin Bar / Toolbar (in development).
- FUTURE – System Overview recommendations (in development).
- FUTURE – Recommendations in Hello Dolly style (in development).
- FUTURE – System Overview control panel settings (in development).
Enhance
Includes
- Visual color messages for: development, upgrade, latest, previous.
- Visual color messages: deprecated, acceptable, supported, current.
- Visual color messages for: legacy, oldest, old, WordPress state.
- Visual color messages for: slow, fast, PHP and SQL state.
- Visual color messages for: high, medium, low, database usage state.
- Visual color messages for: high, medium, low, memory usage state.
- Introduces black, blue, green color concept not included in core.
- Introduces previous version concept not included in core.
- Introduces previous development concept not included in core.
- Concept of the previous version is for users of WP 4.9+
- Concept of the previous development is for developers of WP 4.9+
- Checking PHP / SQL / WP requirements before plugin activation.
- Compatibility with GlotPress translations.
- Translation files .mo are included in distro package.
- Automatic loading of included translation files when activated.
- Translation files work with online and offline installations.
Secure
Provides
- Disabled for all users except admins, ability to visualize version.
- Disabled version visualization for all users except admins.
- Only roles that manage options or core can update WordPress.
- Corrected the missing user role code for core updates.
- Corrected the missing user role code for development updates.
- Secured the user roles with capability can update WordPress.
- Only manage_options capability roles (WP 2.3+ to 2.9+).
- Only update_core capability roles (WP 3.0+ to 5.1+ ~ 5.2-alpha).
- System Overview obfuscated for non manage_options capability.
- System Overview obfuscated for non update_core capability.
Table of classifications
WordPress
- Legacy version 2.3+ to 2.6+ – red color highlighted
- Oldest version 2.7+ to 2.9+ – red color highlighted
- Old version 3.0+ to 3.6+ – red color highlighted
- Supported version 3.7+ to 4.8+ – orange color highlighted
- Latest previous version 4.9+ – blue color highlighted
- Latest available version 5.0+ – black color highlighted
- Latest available version 5.1+ – green color highlighted
- Development version 5.2-alpha – orange color highlighted
PHP
- 5.2+ slow – deprecated version red color highlighted
- 5.3+ slow – deprecated version red color highlighted
- 5.4+ slow – deprecated version red color highlighted
- 5.5+ slow – deprecated version red color highlighted
- 5.6+ slow – acceptable version orange color highlighted
- 7.0+ fast – end-of-life version red color highlighted
- 7.1+ fast – supported version black color highlighted
- 7.2+ fast – previous version blue color highlighted
- 7.3+ fast – current version green color highlighted
- 7.4+ fast – development version orange color highlighted
(PHP end-of-life cycle)
MySQL
- 5.0+ oldest version red color highlighted — MyISAM
- 5.1+ old version red color highlighted — MyISAM
- 5.5+ acceptable version orange color highlighted — InnoDB
- 5.6+ previous version blue color highlighted — InnoDB
- 5.7+ current version green color highlighted — Percona
- 8.0+ development version orange color highlighted — Percona
MariaDB
- 5.5+ acceptable version orange color highlighted — XtraDB
- 10.0+ acceptable version orange color highlighted — XtraDB
- 10.1+ supported version black color highlighted — InnoDB
- 10.2+ previous version blue color highlighted — InnoDB
- 10.3+ current version green color highlighted — InnoDB
- 10.4+ development version orange color highlighted — InnoDB
Memory
- 75% high memory usage – red color highlighted
- 50% medium memory usage – orange color highlighted
- 25% low memory usage – green color highlighted
(in development)
Tips
A neat trick, is to put this single file admin-footer-version-rebranded.php (not its parent directory) in the /wp-content/mu-plugins/ directory (create it if not exists) so you won’t even have to enable it, and will be loaded by default, also, since first step installation of WordPress setup!
Also, for translation functionality, put all files of the single languages (admin-footer-version-rebranded-en_US.mo for example) that you need (not its parent directory) in the /wp-content/mu-plugins/ directory (create it if not exists) and will be loaded by default, they also, since first step installation of WordPress setup!
Note that mu-plugins functionality is available since WP 2.8+ or greater and is not present in WP 2.7+ or previous.
About it
The code of this plugin is not written with a PHP framework, but manually, with a simple PHP editor compatible UTF-8 without BOM, and Unix LF. To avoid code corruption, do not edit it with WordPress embedded editor, or with any specifications incompatible editor. This author is exonerated from any responsibility or damage (directly or indirectly) caused and due to the use of this bad practice.
super light secure and fast plugin easy on server resources
About me
Admin Footer Version (rebranded) is developed by Luciano Croce, 13-years “officially” WordPress Plugins & Themes Developer Senior, Co-Author of the plugin Classic Editor, polyglot (based on English, French, Spanish, German, Portuguese, Italian, Ligurian), GTE en_GB & en_CA & en_ZA & LIJ, PTE and translator for Plugins & Themes in more languages, PTE for Italian WordPress.org & Plugins & Themes Directory, Local Manager of Ligurian Language Community for WP LIJ, Validator English (UK) for WordPress.com, book author of TRUE DOS (the dark side of its history from the dark side of its users) Code Tweaker & Bug Hunter, Security Mechanic & WPMU Lover, Freelancer & Volunteer.
this is my best very useful and safe conceptual plugin of ever
Translation
Available in 25 langs 4 formal/informal variants, and others in becoming.
Translated by Luciano Croce in: Australian, Belgian FR, Brazilian, Canadian EN, Canadian FR, Catalan, Chilean, Colombian, English UK, French, German, Italian, Ligurian, New Zealander, Peruvian, Portuguese, Spanish, Swiss DE, Venezuelan.
Translated by Dan Caragea in Romanian.
Translated by Knut Sparhell in Norwegian.
All contributions are appreciated and credited!
Translators, to test strings and partial translations use the plugin Force Update Translations.
Acknowledgements
Thanks for corrections, suggestions, translation approvals to:
Team
- Català / Catalan – València / Valencia — ca
- Deutsch (Schweiz) / German (Switzerland) — de_CH
- Deutsch / German — de_DE
- English (Australia) — en_AU
- English (Canada) — en_CA
- English (UK) — en_GB
- English (New Zealand) — en_NZ
- English (South Africa) — en_ZA
- Español de Argentina / Spanish (Argentina) — es_AR
- Español de Chile / Spanish (Chile) — es_CL
- Español de Colombia / Spanish (Colombia) — es_CO
- Español de Costa Rica / Spanish (Costa Rica) — es_CR
- Español / Spanish (Spain) — es_ES
- Español de Guatemala / Spanish (Guatemala) — es_GT
- Español de México / Spanish (Mexico) — es_MX
- Español de Perú / Spanish (Peru) — es_PE
- Español de Venezuela / Spanish (Venezuela) — es_VE
- Français de Belgique / French (Belgium) — fr_BE
- Français du Canada / French (Canada) — fr_CA
- Français / French (France) — fr_FR
- Nederlands (België) / Dutch (Belgium) — nl_BE
- Nederlands / Dutch — nl_NL
- Norsk bokmål / Norwegian (Bokmål) — nb_NO
- Polski / Polish — pl_PL
- Português do Brasil / Portuguese (Brazil) — pt_BR
- Português / Portuguese (Portugal) — pt_PT
- Română / Romanian — ro_RO
- Русский / Russian — ru_RU
- Svenska / Swedish — sv_SE
- Zenéize / Ligurian (Genoese) — lij
This is the list of team that have helped me in language translations.
People
This is the list of people that have helped me in language translations.
Credits
This plugin incorporates a little code portion of the WordPress files update.php and hello.php that is copyrighted by Automattic and released under the terms of GPLv2 or later license. This little code portion was modified and redistributed under the same terms of GPLv2 or later WordPress license, so that could be patched and extended, to meet the necessary requirements for its functions.
Privacy
This plugin does not collect or store any user related data or personally identifying information, does not set any cookies, and it does not connect to any third-party websites. It only uses functionality that is available in WordPress. In those terms, it does not affect your website users privacy in any way.
GDPR
This plugin does not collect or store any user related data or personally identifying information, but does not do anything to make your site less/more GDPR compliant. I have done my best to ensure that is 100% GDPR compliant, but I can’t guarantee anything. To determine if your site is 100% GDPR compliant, please consult a lawyer.