Skip to content

Commit

Permalink
format: restore old formatting style in legacy functions
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloiankoski committed Oct 17, 2023
1 parent dbca865 commit 3964320
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public function render_block( $attributes ) {

$parameters = array(
'forms_per_page' => absint( $attributes['formsPerPage'] ),
'ids' => implode(',', $ids),
'ids' => implode(',', $ids),
'exclude' => implode(',', $this->getAsArray($attributes['excludedFormIDs'] ) ),
'orderby' => $attributes['orderBy'],
'order' => $attributes['order'],
Expand Down
2 changes: 1 addition & 1 deletion blocks/donor-wall/class-give-donor-wall.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public function render_block( $attributes ) {

$parameters = [
'donors_per_page' => absint( $attributes['donorsPerPage'] ),
'form_id' => implode(',', $ids),
'form_id' => implode(',', $ids),
'ids' => implode(',', $this->getAsArray($attributes['ids'] ) ),
'cats' => implode(',', $this->getAsArray($attributes['categories'] ) ),
'tags' => implode(',', $this->getAsArray($attributes['tags'] ) ),
Expand Down
2 changes: 1 addition & 1 deletion includes/shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ function give_totals_shortcode( $atts ) {
* @type bool $show_title Whether to display form title. Default 'true'.
* @type bool $show_goal Whether to display form goal. Default 'true'.
* @type bool $show_excerpt Whether to display form excerpt. Default 'true'.
* @type bool $show_featured_image Whether to display featured image. Default 'true'.
* @type bool $show_featured_image Whether to display featured image. Default 'true'.
* @type string $image_size Featured image size. Default 'medium'. Accepts WordPress image sizes.
* @type string $image_height Featured image height. Default 'auto'. Accepts valid CSS heights.
* @type int $excerpt_length Number of words before excerpt is truncated. Default '16'.
Expand Down

0 comments on commit 3964320

Please sign in to comment.