Skip to content

Commit

Permalink
Merge pull request #158 from Yoast/JRF/remove-deprecated-functionality
Browse files Browse the repository at this point in the history
Whip_WPMessagePresenter: remove deprecated method
  • Loading branch information
enricobattocchi authored Dec 22, 2023
2 parents 71a47ac + 071cd4b commit 4e2e773
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 4e2e773

Please sign in to comment.