Pantheon HUD

Leírás

This plugin provides situational awareness of the Pantheon plaform from within your WordPress dashboard. It’s helpful to be reminded what environment you’re in, as well as providing quick links to get back to Pantheon’s dashboard, or to interface with your WordPress installation via the command line.

Pantheon HUD is in early stages of development. We want your feedback! Create a Github issue with questions, feature requests, or bug reports.

Képernyőmentések

  • Pantheon HUD is present in the WordPress toolbar. On hover, it displays environmental details and helpful links.

Telepítés

Installation is vanilla. The plugin should have no ill effect when the site is running locally or if you move your site off the Pantheon platform. It knows how to nerf itself in other environments.

By default, the Pantheon HUD appears for logged-in users with the manage_options capability. You can instead restrict it to specific users with the pantheon_hud_current_user_can_view filter:

add_filter( 'pantheon_hud_current_user_can_view', function(){
    $current_user = wp_get_current_user();
    if ( $current_user && in_array( $current_user->user_login, array( 'myuserlogin' ) ) ) {
        return true;
    }
    return false;
});

Vélemények

1 vélemény olvasása

Közreműködők és fejlesztők

“Pantheon HUD” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:

Közreműködők

“Pantheon HUD” fordítása a saját nyelvünkre.

Érdekeltek vagyunk a fejlesztésben?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Változási napló

0.2.1 (September 9, 2019)

  • Uses inline style system to add admin bar styles to page [#44].

0.2.0 (July 8, 2019)

  • Refactors API calls to use new API endpoints [#35].

0.1.4 (July 18, 2018)

  • Restores the CSS for the logo image, while retaining inline attrs [#26].

0.1.3 (July 6, 2018)

  • Defines image dimensions inline instead of via CSS [#23].

0.1.2 (June 8, 2017)

  • Renders styles in admin_head instead of admin_footer.

0.1.1 (February 27, 2017)

  • Updates terminus stub command to use new syntax.

0.1.0 (January 22, 2016)

  • Initial release / MVP functionality.
  • Environment badge and basic container stats.
  • Quick WP-CLI copy/paste.
  • Links to other envs and to Pantheon dash.