WP Manifestindependent plugin directory
manifest / admin / modern-login

Modern Login WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

A whitelabeled and modernized wp-login.php

★ 77stars
v1.0.7latest · 6 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/log1x/modern-login/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Here lives a simple mu-plugin to whitelabel and modernize wp-login.php. No admin panels, no bloat – just a simple filter to optionally customize the CSS properties with your color palette.

Screenshot

Requirements

Installation

Bedrock

Install via Composer:

$ composer require log1x/modern-login

Manual

Download the release .zip and install into wp-content/plugins.

Customization

To customize the color palette, simply pass an array containing one or more of the colors you would like to change to the login_color_palette filter:

add_filter('login_color_palette', function () {
    return [
        'brand' => '#0073aa',
        'trim' => '#181818',
        'trim-alt' => '#282828',
    ];
});

Text color will automatically be inverted to #fff or #111 determined by the relative luminance of the element's background color.

Changing the Logo

The logo uses the first letter of the login header text set by WordPress. You can customize this using the login_headertext filter:

/**
 * Change the WordPress login header to the blog name.
 *
 * @return string
 */
add_filter('login_headertext', function () {
    return get_bloginfo('name');
});

Development

Modern Login is built using TailwindCSS and compiled with Laravel Mix.

$ yarn

In order to ease development, Modern Login makes use of wp-env to quickly setup a WordPress instance with everything needed (this requires Docker).

$ npx wp-env start

In another terminal tab/window, you can start browser sync and webpack to watch for changes:

$ yarn start

You can test color values and other settings in tests/mu-plugins/mu.php.

Bug Reports

If you discover a bug in Modern Login, please open an issue.

Contributing

Contributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.

License

Modern Login is provided under the MIT License.

Releases

8 releases.

Tag
Published
v1.0.7 latest
Sep 15, 2020 6 years ago
Sep 11, 2020 6 years ago
Feb 7, 2020 6 years ago
Feb 7, 2020 6 years ago
Feb 7, 2020 6 years ago
Jan 25, 2020 6 years ago
Dec 15, 2019 6 years ago
Dec 14, 2019 6 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

A grade

Security

Modern Login 1.0.7 · audited by WP Registry

No security issues found.

Audited release
1.0.7
Findings
none
Worst severity
—
Content hash
393ad6d53e797a4c3beecead…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.