Skip to content

Commit

Permalink
doc: add unreleased tag
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloiankoski committed Oct 17, 2023
1 parent 910e402 commit dbca865
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ public function register_block() {

/**
* Block render callback
*
* @unreleased Make sure all ids passed to the shortcode are migrated
*
* @param array $attributes Block parameters.
*
Expand Down
2 changes: 2 additions & 0 deletions blocks/donor-wall/class-give-donor-wall.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ public function register_block() {

/**
* Block render callback
*
* @unreleased Make sure all ids passed to the shortcode are migrated
*
* @param array $attributes Block parameters.
*
Expand Down
22 changes: 11 additions & 11 deletions includes/shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,16 @@ function give_totals_shortcode( $atts ) {
/**
* Displays donation forms in a grid layout.
*
* @unreleased Make sure all ids passed to the shortcode are migrated
* @since 2.23.1 Updated the default text color for the donate button, see #6591.
* @since 2.21.2 change tag_background_color, progress_bar_color to official green color #69b868.
* change tag_text_color color to #333333.
* @since 2.20.0 $show_donate_button Option to show donate button
* @since 2.20.0 $donate_button_text Default Donate
* @since 2.20.0 $donate_button_background_color Default #66bb6a
* @since 2.20.0 $donate_button_text_color Default #fff
* @since 2.20.0 $show_bar Default false
* @since 2.22.2 remove $show_bar attribute in favor of show_goal
* @since 2.1.0
*
* @param array $atts {
Expand All @@ -799,23 +809,13 @@ 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'.
* @type string $display_style How the form is displayed, either in new page or modal popup.
* Default 'redirect'. Accepts 'redirect', 'modal'.
*
* @since 2.23.1 Updated the default text color for the donate button, see #6591.
* @since 2.21.2 change tag_background_color, progress_bar_color to official green color #69b868.
* change tag_text_color color to #333333.
* @since 2.20.0 $show_donate_button Option to show donate button
* @since 2.20.0 $donate_button_text Default Donate
* @since 2.20.0 $donate_button_background_color Default #66bb6a
* @since 2.20.0 $donate_button_text_color Default #fff
* @since 2.20.0 $show_bar Default false
* @since 2.22.2 remove $show_bar attribute in favor of show_goal
*
* @return string|bool The markup of the form grid or false.
*/
function give_form_grid_shortcode( $atts ) {
Expand Down
1 change: 1 addition & 0 deletions src/MultiFormGoals/MultiFormGoal/Shortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public function addShortcode()
/**
* Returns Shortcode markup
*
* @unreleased Make sure all ids passed to the shortcode are migrated
* @since 2.9.0
**/
public function renderCallback($attributes)
Expand Down
1 change: 1 addition & 0 deletions src/MultiFormGoals/ProgressBar/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public function addBlock()
/**
* Returns Progress Bar block markup
*
* @unreleased Make sure all ids passed to the shortcode are migrated
* @since 2.9.0
**/
public function renderCallback($attributes)
Expand Down

0 comments on commit dbca865

Please sign in to comment.