Linux 软件免费装
Banner图

Togra Admin Enhancer

开发者 tograstudio
更新时间 2026年10月6日 21:16
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

security login admin maintenance-mode temporary-login

下载

1.0.0 1.1.1

详情介绍:

Togra Admin Enhancer collects the small changes most sites end up making — disabling comments, hiding the login URL, trimming the dashboard, dropping a tracking tag into the page head — into a single settings screen. Each switch shows what your site does right now and what will change if you turn it on, so you can see the consequence before saving. Every feature ships switched off; enable only what you need. Content & Editing Login & Branding Temporary Logins Hand a developer, a support agent or a client their own way in, without creating a password or sharing yours. Temporary accounts cannot sign in with a password, cannot reset one, and cannot add users, delete users, or open the plugin and theme editors — so one cannot quietly outlive its expiry date. Cleanup & Security Advanced Header and Footer Code Import / Export The exported file deliberately leaves out the site password, so it is safe to store beside your other configuration files. Users & Updates There is also a paid add-on Everything above is in this plugin, free, with no account and no trial. A separate add-on, Togra Admin Enhancer Pro, installs beside it and adds code snippets, per-role targeting for the switches above, use limits and an activity trail for temporary logins, IP rules on the login form, and automatic update control. It is sold at tograstudio.com and is not required for anything on this page to work.

安装:

  1. Upload the plugin folder to /wp-content/plugins/, or install it through Plugins > Add New.
  2. Activate the plugin through the Plugins screen.
  3. Open Togra Enhancer in the admin menu and switch on the features you want.
  4. Press Save Settings.
Two features add their own screen once switched on: Temporary Logins appears under Togra Enhancer, and Export Users appears under Tools. If you change the login URL slug, note the new address before saving. Once it is on, wp-admin no longer offers a login page.

升级注意事项:

1.1.1 Fixes a bug that stripped backslashes from imported settings. If you have ever imported a settings file, check any header, footer or maintenance text it restored. Also adds extension points for add-ons; nothing else changes. 1.0.0 First release.

常见问题:

Does the plugin run on the front-end?

Yes, when a front-end feature is switched on. Maintenance mode, header/footer code, the custom login URL and the external-link handling all run on the public site. Everything else is admin-only, and every feature is off until you enable it.

Who can add header and footer code?

Only users who hold unfiltered_html, the capability WordPress itself requires before someone may save raw markup. On a single site that means administrators; on multisite, only network administrators. The settings screen additionally requires manage_options. Whatever you put there is printed on the public site exactly as you typed it, which is the point of the field, so treat it as you would any code you add to your theme.

How safe is a temporary login link?

The link carries a 64-character token generated from PHP's cryptographic random source, so guessing one is not realistic. It is still a live credential: anyone holding the link is signed in as that account, so send it the way you would send a password. The token is consumed on arrival and the browser is redirected immediately, which keeps it out of the address bar, the browser history and the Referer header of the next request. An invalid token is ignored silently — the page loads as if nothing was passed — so the URL cannot be used to probe for valid ones.

What can a temporary account do?

Whatever its role allows, minus the things that would let it outlive its expiry date. It cannot sign in with a password, reset a password, create a user, delete a user, or open the plugin and theme editors. Choose the lowest role that still lets the person do the job; Editor is usually enough.

What happens when a temporary login expires?

The account stops working immediately. If someone is signed in with it at the time, they are logged out on their next page load. The account stays in your users list so you can see it and extend it if you want; revoking deletes it outright.

Does the plugin interfere with WordPress updates?

No. It does not bundle an update checker, does not contact any server of its own, and does not touch how WordPress decides what to update or when. Updates behave exactly as they would with the plugin deactivated.

What is written to the activity log?

The actions worth being able to account for later: settings imported, the audit log cleared, a temporary login created, changed or revoked. Each entry records what happened, who did it and when. The last 100 are kept and older ones drop off, so the log cannot grow without limit. It lives in a single option and is removed when you uninstall the plugin.

Is the settings export safe to share?

Yes. It carries your switches and text fields, but not the site password: that is stored as a hash and is left out of the file, so an export cannot hand anyone the way past your password protection. Importing a file never changes the site password either — it is only ever set by typing it in.

Does it change my database?

Settings live in a single option. Some features also store post meta or user meta: an external permalink, a menu item's new-tab flag, a disabled-account flag, a replaced media file, and the last login timestamp. Temporary logins create real user accounts, marked with their own meta. Uninstalling the plugin removes all of it, including any temporary accounts still present.

What happens if I forget my custom login URL?

Rename or delete the plugin folder over FTP or your host's file manager. WordPress deactivates the plugin and wp-login.php works again.

Can I use it on multisite?

The plugin activates per site and each site keeps its own settings. It has not been tested as a network-wide activation.

How are SVG uploads made safe?

Every SVG is cleaned before it is stored, and again after WordPress attaches it. The cleaning runs enshrined/svg-sanitize 1.0.0, which is bundled with this plugin under the GPL, followed by a second pass of the plugin's own checks. That second pass is deliberate. Several plugins bundle the same library under the same class name, so on a site running more than one of them the copy that answers first is not necessarily this one, and its version and settings may differ. The plugin's own checks therefore run over the result either way: scripts, event handlers and javascript: URLs are removed, references have to stay inside the document rather than fetch something remote, and url() values are checked in attributes and inside <style> blocks alike. If the library cannot be loaded at all, a DOM-based fallback in the plugin does the whole job on its own.

Will the login design work with my theme?

Yes. The login page is served by WordPress, not by your theme, so the design looks the same whichever theme you run. It restyles what WordPress already outputs rather than replacing the form, so password managers, two-factor plugins and the show/hide password button carry on working. Pick your two colours and the plugin works out the rest: hover shades, focus rings, and whether the text outside the card needs to be light or dark for the background you chose.

Is maintenance mode good for SEO?

It answers with a 503 status, which tells search engines the outage is temporary rather than permanent. Setting a countdown target also sends a Retry-After header so crawlers know when to come back.

更新日志:

1.1.1 1.0.0