
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@humanmade/remote-admin-bar
Advanced tools
Enables the WordPress admin bar for use on headless or decoupled sites .
Remote Admin BarEnables the WordPress admin bar for use on headless or decoupled sites |
|
| Proof of concept only at this point, use at your own risk. |
Requires PHP >= 7.3.
Install the plugin in the WordPress project and activate it like any other plugin.
On the client side, require the client side scripts by running
npm install @humanmade/remote-admin-bar --save-dev
In your client-side app, there are three basic functions exposed, getAdminBar(), which returns a promise that resolves with data required to render the admin bar, and render() and refresh(), which can be called with the resolution of this promise and either render it to the page or refresh an admin bar which has already been rendered on a SPA with updated contents based on the new route.
The getAdminBar function takes two arguments, the site URL of the site to query and an object containing context about the current view. This context argument is parsed just like public query variables in WordPress, so any parameter that can be passed through a URL query string will work here.
As an example, the following request will render an admin bar containing an edit link for post ID 1234:
import { getAdminBar, render } from '@humanmade/remote-admin-bar';
getAdminBar( 'https://yoursite.dev', { p: 1234 } ).then( render );
The development process follows the standard Human Made development process.
Here's a quick summary:
name-of-feature. One branch per feature/bug, please.The process of releasing a new version of this plugin is as follows:
package.json and plugin.php.0.0.7
glob-parent package to resolve npm dependency vulnerability warnings.FAQs
Enables the WordPress admin bar for use on headless or decoupled sites .
The npm package @humanmade/remote-admin-bar receives a total of 15 weekly downloads. As such, @humanmade/remote-admin-bar popularity was classified as not popular.
We found that @humanmade/remote-admin-bar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.