From 655f9a2f3244f7b147bbdf9782a39a7023a2d5c3 Mon Sep 17 00:00:00 2001 From: Vlad Date: Mon, 14 Oct 2024 19:00:30 -0400 Subject: [PATCH] Update @since tags [ci skip] --- includes/class-gravityview-change-entry-creator.php | 10 +++++----- includes/class-gravityview-entry-approval.php | 2 +- includes/class-gravityview-merge-tags.php | 2 +- includes/fields/class-gravityview-field-created-by.php | 2 +- includes/fields/class-gravityview-field-survey.php | 2 +- tests/unit-tests/GravityView_Merge_Tags_Test.php | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/includes/class-gravityview-change-entry-creator.php b/includes/class-gravityview-change-entry-creator.php index 52f96560b1..0d5ffc26c8 100644 --- a/includes/class-gravityview-change-entry-creator.php +++ b/includes/class-gravityview-change-entry-creator.php @@ -214,7 +214,7 @@ public function prevent_conflicts() { /** * Whether the current user has the rights to edit the entry creator. * - * @since $ver$ + * @since 2.30.0 * * @return bool Whether the user has rights. */ @@ -352,7 +352,7 @@ public function update_entry_creator( $form, $entry_id, array $original_entry ) /** * Returns the HTML for the user select field. * - * @since $ver$ + * @since 2.30.0 * * @param array $entry The entry object. * @@ -454,7 +454,7 @@ public function register_gform_noconflict( $assets ) { /** * Registers the `created_by` field on the `Edit Entry` tab. * - * @since $ver$ + * @since 2.30.0 * * @param GF_Field[] $fields The registered fields. * @param array $form The form object. @@ -480,7 +480,7 @@ public function register_edit_field( array $fields, array $form, string $zone ): /** * Registers the `created_by` field on the `Edit Entry` tab. * - * @since $ver$ + * @since 2.30.0 * * @param GF_Field[] $fields The registered fields. * @param array|null $editable_fields The fields zone. @@ -533,7 +533,7 @@ static function ( GF_Field $a, GF_Field $b ) use ( $sort_order_lookup ): int { /** * Manages the visibility capabilities for the `created_by` field on the edit page. * - * @since $ver$ + * @since 2.30.0 * * @param array $caps The capabilities. * @param string $template The template name. diff --git a/includes/class-gravityview-entry-approval.php b/includes/class-gravityview-entry-approval.php index ddcf1dae87..ed0ec057e5 100644 --- a/includes/class-gravityview-entry-approval.php +++ b/includes/class-gravityview-entry-approval.php @@ -738,7 +738,7 @@ public static function get_popover_template() { * * @used-by check_admin_referer action * - * @since TBD + * @since 2.30.0 * * @param string $action The action being performed. * @param int $result The result of the action check. diff --git a/includes/class-gravityview-merge-tags.php b/includes/class-gravityview-merge-tags.php index 5722b0f14a..7d482376fd 100644 --- a/includes/class-gravityview-merge-tags.php +++ b/includes/class-gravityview-merge-tags.php @@ -505,7 +505,7 @@ public static function replace_gv_merge_tags( $text, $form = array(), $entry = a /** * Replaces relative date merge tags with formatted dates per the modifier. * - * @since TBD + * @since 2.30.0 * * @param string $text The text containing merge tags. * diff --git a/includes/fields/class-gravityview-field-created-by.php b/includes/fields/class-gravityview-field-created-by.php index f668cf5725..40b9dbcc7c 100644 --- a/includes/fields/class-gravityview-field-created-by.php +++ b/includes/fields/class-gravityview-field-created-by.php @@ -157,7 +157,7 @@ public function field_options( $field_options, $template_id, $field_id, $context /** * Returns the HTML for the field input. * - * @since $ver$ + * @since 2.30.0 * * @param array $form The form object. * @param mixed $value The field value. diff --git a/includes/fields/class-gravityview-field-survey.php b/includes/fields/class-gravityview-field-survey.php index 75055aecbe..56e0730935 100644 --- a/includes/fields/class-gravityview-field-survey.php +++ b/includes/fields/class-gravityview-field-survey.php @@ -62,7 +62,7 @@ public static function get_choice_score( $field, $value, $input_id = 0 ) { /** * Gets field choices directly from the database (To avoid issues where choices are reversed by the survey plugin). * - * @since TBD + * @since 2.30.0 * * @param int $form_id The ID of the form. * @param int $field_id The ID of the field. diff --git a/tests/unit-tests/GravityView_Merge_Tags_Test.php b/tests/unit-tests/GravityView_Merge_Tags_Test.php index db30e78141..88bc95251f 100644 --- a/tests/unit-tests/GravityView_Merge_Tags_Test.php +++ b/tests/unit-tests/GravityView_Merge_Tags_Test.php @@ -346,7 +346,7 @@ function test_replace_date_updated() { /** * @covers GravityView_Merge_Tags::replace_merge_tags_dates * - * @since TBD + * @since 2.30.0 */ function test_replace_field_dates_merge_tags() { $form = $this->factory->form->create_and_get();