Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion classes/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function admin_init() {
}

public function admin_menu() {
$hook = add_management_page( 'Admin Color Schemer', 'Admin Colors', 'manage_options', 'admin-color-schemer', array( $this, 'admin_page' ) );
$hook = add_management_page( 'Admin Color Schemer', __( 'Admin Colors', 'admin-color-schemer' ), 'manage_options', 'admin-color-schemer', array( $this, 'admin_page' ) );
add_action( 'load-' . $hook, array( $this, 'load' ) );
}

Expand Down
2 changes: 1 addition & 1 deletion templates/admin-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

</table>

<p class="show-advanced"><a href="#" class="hide-if-no-js">Show advanced options</a></p>
<p class="show-advanced"><a href="#" class="hide-if-no-js"><?php esc_html_e( 'Show advanced options', 'admin-color-schemer' ); ?></a></p>

<p>
<?php submit_button( __('Save and Use', 'admin-color-schemer' ), 'primary', 'submit', false ); ?>
Expand Down