Skip to content

Commit

Permalink
Merge pull request #52 from Yoast/JRF/CS/function-name-consistency
Browse files Browse the repository at this point in the history
CS: function naming consistency
  • Loading branch information
Joost de Valk authored Mar 13, 2018
2 parents fdadd5d + 074f4e9 commit df8bda8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/facades/wordpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function whip_wp_check_versions( $requirements ) {

// Prevent duplicate notices across multiple implementing plugins.
if ( ! has_action( 'whip_register_hooks' ) ) {
add_action( 'whip_register_hooks', array( $presenter, 'register_hooks' ) );
add_action( 'whip_register_hooks', array( $presenter, 'registerHooks' ) );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/presenters/Whip_WPMessagePresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function __construct( Whip_Message $message, Whip_MessageDismisser $dismi
*
* This is a separate function so you can control when the hooks are registered.
*/
public function register_hooks() {
public function registerHooks() {
add_action( 'admin_notices', array( $this, 'renderMessage' ) );
}

Expand Down

0 comments on commit df8bda8

Please sign in to comment.