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

Fix PHP 8.2 deprecations #2456

Merged
merged 1 commit into from
Jun 19, 2023
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 includes/admin/class-wp-job-manager-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ class WP_Job_Manager_Admin {
*/
private static $instance = null;

/**
* Settings page.
*
* @var WP_Job_Manager_Settings
*/
private $settings_page;

/**
* Allows for accessing single instance of class. Class should only be constructed once per call.
*
Expand Down
7 changes: 7 additions & 0 deletions includes/admin/class-wp-job-manager-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ class WP_Job_Manager_Settings {
*/
protected $settings = [];

/**
* Settings group.
*
* @var array Settings.
*/
protected $settings_group;

/**
* Allows for accessing single instance of class. Class should only be constructed once per call.
*
Expand Down
14 changes: 14 additions & 0 deletions includes/class-wp-job-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,20 @@ class WP_Job_Manager {
*/
private static $instance = null;

/**
* Forms.
*
* @var WP_Job_Manager_Forms
*/
public $forms;

/**
* Post types.
*
* @var WP_Job_Manager_Post_Types
*/
public $post_types;

/**
* Main WP Job Manager Instance.
*
Expand Down
7 changes: 7 additions & 0 deletions includes/forms/class-wp-job-manager-form-submit-job.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ class WP_Job_Manager_Form_Submit_Job extends WP_Job_Manager_Form {
*/
protected static $instance = null;

/**
* Resume edit session key.
*
* @var mixed
*/
private $resume_edit;

/**
* Returns static instance of class.
*
Expand Down