Skip to content

Commit

Permalink
Whip_WPMessagePresenter: remove deprecated method
Browse files Browse the repository at this point in the history
.. as the next release will be a major.
  • Loading branch information
jrfnl committed Dec 22, 2023
1 parent 71a47ac commit 071cd4b
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/presenters/Whip_WPMessagePresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,6 @@ public function registerHooks() {
add_action( 'admin_notices', array( $this, 'renderMessage' ) );
}

/**
* Registers hooks to WordPress.
*
* @deprecated 1.2.0 Use the Whip_WPMessagePresenter::registerHooks() method instead.
* @codeCoverageIgnore
*
* @return void
*
* @phpcs:disable Generic.NamingConventions.CamelCapsFunctionName
*/
public function register_hooks() {
// phpcs:enable
self::registerHooks();
}

/**
* Renders the messages present in the global to notices.
*
Expand Down

0 comments on commit 071cd4b

Please sign in to comment.