$versionComparison ) { $checker->addRequirement( Whip_VersionRequirement::fromCompareString( $component, $versionComparison ) ); } $checker->check(); if ( ! $checker->hasMessages() ) { return; } $presenter = new Whip_WPMessagePresenter( $checker->getMostRecentMessage() ); $presenter->register_hooks(); } }