Skip to content

Commit

Permalink
Fix phpcs error in other files
Browse files Browse the repository at this point in the history
  • Loading branch information
girishpanchal30 committed Jul 11, 2024
1 parent 00b4192 commit b72cdc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions includes/admin/class-rop-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1268,8 +1268,8 @@ public function check_cron_status() {
* @access public
*/
public function rop_wp_cron_notice() {
//TODO - we need to rework this as the constant is not saying that cron is not working only that the default scheduling is, the user can still use server cron instead.
return;
// TODO - we need to rework this as the constant is not saying that cron is not working only that the default scheduling is, the user can still use server cron instead.
return;
if ( ! defined( 'DISABLE_WP_CRON' ) ) {
return;
}
Expand Down
1 change: 0 additions & 1 deletion includes/class-rop.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ private function define_admin_hooks() {
$this->loader->add_action( 'admin_notices', $plugin_admin, 'rop_cron_event_status_notice' );
$this->loader->add_action( 'admin_notices', $plugin_admin_notices, 'rop_revive_network_nag_delayed' );


$this->loader->add_action( 'admin_init', $plugin_admin, 'rop_dismiss_linkedin_api_v2_notice' );
$this->loader->add_action( 'admin_notices', $plugin_admin, 'rop_linkedin_api_v2_notice' );
$this->loader->add_action( 'admin_notices', $plugin_admin, 'bitly_shortener_upgrade_notice' );
Expand Down

0 comments on commit b72cdc8

Please sign in to comment.