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

remove 8.2 deprecations #2006

Merged
merged 1 commit into from
Mar 11, 2024
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
7 changes: 7 additions & 0 deletions future/includes/class-gv-entry-gravityforms.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ class GF_Entry extends Entry implements \ArrayAccess {
*/
public static $backend = 'gravityforms';

/**
* The entry slug.
*
* @var string
*/
public $slug;

/**
* Initialization.
*/
Expand Down
7 changes: 7 additions & 0 deletions future/includes/class-gv-field-internal.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ class Internal_Field extends Field {
*/
public $field;

/**
* The field type.
*
* @var string
*/
public $type;

/**
* Create self from a configuration array.
*
Expand Down
7 changes: 7 additions & 0 deletions future/includes/class-gv-form-gravityforms.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ class GF_Form extends Form implements \ArrayAccess {
*/
public static $backend = self::BACKEND_GRAVITYFORMS;

/**
* The form object.
*
* @var array
*/
public $form;

/**
* Initialization.
*/
Expand Down
7 changes: 7 additions & 0 deletions future/includes/class-gv-template-field.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ abstract class Field_Template extends Template {
*/
public static $slug;

/**
* THe callback that registers the template files.
*
* @var callable
*/
private $_add_id_specific_templates_callback;

/**
* Initializer.
*
Expand Down
8 changes: 7 additions & 1 deletion includes/class-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,13 @@ class GravityView_View extends \GV\Gamajo_Template_Loader {
*/
static $instance = null;

/**
* The current field data.
*
* @deprecated 1.6.2
*/
public $field_data;

/**
* Construct the view object
*
Expand Down Expand Up @@ -998,4 +1005,3 @@ public function _include( $path ) {
}
}
}

4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Beautifully display your Gravity Forms entries. Learn more on [gravitykit.com](h

== Changelog ==

= develop =

* Fixed PHP 8.2 deprecation notices.

= 2.20.2 on March 4, 2024 =

This release enhances performance by optimizing caching and managing transients more effectively.
Expand Down
Loading