$message=__('Some items that would normally be shown here are waiting to be processed. These items are hidden until processing completes.','bulk-actions-cron-offload');
}
}
Main::render_admin_notice($type,$message);
}
/**
* Provide post-redirect success message
*
...
...
@@ -101,6 +73,15 @@ class Custom_Action {
return__('The requested processing is already pending for the chosen posts.','bulk-actions-cron-offload');
}
/**
* Provide message when posts are hidden pending processing
return__('Some items that would normally be shown here are waiting to be processed. These items are hidden until processing completes.','bulk-actions-cron-offload');
}
/**
* When an edit is pending for a given post type, hide those posts in the admin
$message=__('Some items that would normally be shown here are waiting to be edited. These items are hidden until they are processed.','bulk-actions-cron-offload');
}
}
Main::render_admin_notice($type,$message);
}
/**
* Provide post-redirect success message
*
...
...
@@ -121,6 +93,15 @@ class Edit {
return__('The requested edits are already pending for the chosen posts.','bulk-actions-cron-offload');
}
/**
* Provide notice when posts are hidden pending edits
return__('Some items that would normally be shown here are waiting to be edited. These items are hidden until they are processed.','bulk-actions-cron-offload');
}
/**
* When an edit is pending for a given post type, hide those posts in the admin