Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fixes from StyleCI #646

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions include/Core/Base/Mixin/Renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ abstract class Renderer extends Fetcher {
* Render post status including custom post status.
*
* @param string $post_type The post type for which the post status should be displayed.
* @param mixed $class
*/
protected function render_post_status( $post_type = 'post', $class = 'validate' ) {
$post_statuses = $this->get_post_statuses();
Expand Down
6 changes: 3 additions & 3 deletions include/Core/Pages/Modules/DeletePagesByStatusModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ protected function initialize() {
$this->cron_hook = 'do-bulk-delete-pages-by-status';
$this->scheduler_url = 'https://bulkwp.com/addons/scheduler-for-deleting-pages-by-status/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow&utm_content=bd-sp';
$this->messages = array(
'box_label' => __( 'By Page Status', 'bulk-delete' ),
'scheduled' => __( 'The selected pages are scheduled for deletion', 'bulk-delete' ),
'cron_label' => __( 'Delete Pages By status', 'bulk-delete' ),
'box_label' => __( 'By Page Status', 'bulk-delete' ),
'scheduled' => __( 'The selected pages are scheduled for deletion', 'bulk-delete' ),
'cron_label' => __( 'Delete Pages By status', 'bulk-delete' ),
'confirm_deletion' => __( 'Are you sure you want to delete all the pages from the selected post status?', 'bulk-delete' ),
'confirm_scheduled' => __( 'Are you sure you want to schedule deletion for all the pages from the selected post status?', 'bulk-delete' ),
'validation_error' => __( 'Please select at least one post status from which pages should be deleted', 'bulk-delete' ),
Expand Down