PHP Warning: Undefined array key "priority" in wp-job-manager/includes/abstracts/abstract-wp-job-manager-form.php on line 302
PHP Warning: Undefined array key "priority" in wp-job-manager/includes/abstracts/abstract-wp-job-manager-form.php on line 299
Changes Proposed in this Pull Request
Fixes warnings by ensuring that the priority key exists, otherwise "punishes" the fields that have no priority.
Testing Instructions
On a php8 setup remove one priority key from a form field. I did it in the forms used in add-a-job.
Test that warnings do not show.
The field should go to the bottom of the form.
Release Notes
New or Updated Hooks and Templates
*
Deprecated Code
*
Screenshot / Video
Plugin build for 74e76c0f498803fcd42f1640d96c7a5af24797b3
The following php 8 warnings were reported
Changes Proposed in this Pull Request
Testing Instructions
Release Notes
New or Updated Hooks and Templates
*
Deprecated Code
*
Screenshot / Video