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 #154

Merged
merged 1 commit into from
Nov 25, 2017
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 bulk-delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* Check readme file for full release notes.
*
* @version 5.5.7
*
* @author Sudar
*
* @package BulkDelete
Expand Down
8 changes: 5 additions & 3 deletions include/ui/form.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ function bd_render_submit_button( $action ) {
*
* @since 5.5
*
* @param string $slug The slug to be used in field names.
* @param string $slug The slug to be used in field names.
* @param array $dropdown_args {
* Optional. An array of arguments.
* Optional. An array of arguments.
*
* @type bool $is_multi_value_select Setting `true` renders a multi-value select box. Default `false`.
* @type bool $is_select_all_options Setting `true` renders a multi-value select box
Expand All @@ -195,7 +195,7 @@ function bd_render_post_type_dropdown( $slug, $dropdown_args = array() ) {
?>
<tr class="post-type-dropdown" id="smbd_<?php echo esc_attr( $slug ); ?>-post-type-dropdown">
<td scope="row" >
<?php _e( 'You may select/de-select post types listed below.', 'bulk-delete' ); // WPCS: XSS ok. ?>
<?php _e( 'You may select/de-select post types listed below.', 'bulk-delete' ); // WPCS: XSS ok.?>
<br/><br/>
<select class="select2" name="smbd_<?php echo esc_attr( $slug ); ?>_post_type<?php if ( $dropdown_args['is_multi_value_select'] ) : ?>[]<?php endif; ?>" id="smbd_<?php echo esc_attr( $slug ); ?>_post_type"
<?php if ( $dropdown_args['is_multi_value_select'] ) : ?> multiple="multiple" <?php endif; ?>
Expand Down Expand Up @@ -225,6 +225,7 @@ function bd_render_post_status_filter( $slug, $selected = 'publish' ) {
* List of post statuses that should be excluded from post status filter.
*
* @since 5.6.0
*
* @param array $post_statuses List of post statuses.
*/
$exclude_post_statuses = apply_filters( 'bd_exclude_post_statuses', array( 'inherit', 'trash', 'auto-draft' ) );
Expand All @@ -237,6 +238,7 @@ function bd_render_post_status_filter( $slug, $selected = 'publish' ) {
* List of post statuses that are displayed in the post status filter.
*
* @since 5.6.0
*
* @param array $post_statuses List of post statuses.
*/
$post_statuses = apply_filters( 'bd_post_statuses', $post_statuses );
Expand Down