Editing field priority breaks input
-
Hi,
I’m having an issue setting the priority of the _job_author field.
It was working fine in the past but a recent update broke the custom code for me, not sure which one.add_filter( 'job_manager_job_listing_data_fields', 'custom_job_manager_job_listing_data_fields', 99 ); function custom_job_manager_job_listing_data_fields( $fields ) { $fields['_job_author']['priority'] = '0.13'; $fields['_featured']['priority'] = '9999'; return $fields; }
What happens is that the field breaks and instead of this https://prntscr.com/obz1cc it shows this: https://prntscr.com/obz20n
If I remove$fields['_job_author']['priority'] = '0.13';
, it goes back to normal.
I tried integer values, that didn’t help.All other plugins are deactivated and the theme is twentynineteen.
I hope we can sort this out.
Thanks.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Editing field priority breaks input’ is closed to new replies.