In 3.2.4 the 'add new post' screen looks like this.
- hidden link
In 3.2.7 the 'add new post' screen looks like below. The 'Salary Schedule V', and 'Salary Data' fields should no be showing for the 'Posts'.
- hidden link
I see a bunch of existing recent issues related to Custom Fields, I am not sure if this is a duplicate of an existing issue, or just another related bug.
More debug info/screenshots [hidden link;
- Broken, Current New Posts page (3.2.7)
- hidden link
- Working New Posts page from a staging instance before upgrade
- hidden link
- Plugin List
- hidden link
- Add New Salary Schedule (where the fields **actually** belong)
- hidden link
- 'Salary Schedule V' Group
- hidden link
- 'Salary Data' Group
- hidden link
- Custom fields group
- hidden link
Hi, in the data-dependent display area I see additional conditions related to the custom field "Schedule". Is this one of the fields in the inactive "Post fields" group?
If so, reactivate the field group and let me know if the problem is resolved.
If not, can you tell me anything more about the Schedule field conditions?
None of these schedule fields are set to display on the "Post" post type as indicated here: hidden link
These fields were never activated in a post fields group. This was a legacy group created from our data import from drupal. I deactivated it because it wasn't necessary. I've attached an image of those fields.
For good measure, I activated this field group and the salary schedule fields are still showing up when creating a new post.
Okay thanks for the additional information. I'll have to take a closer look. I may need to create a site clone so I can perform some additional tests locally without affecting the live site. If that is required, I will install the Duplicator plugin to create that site clone. If that's okay with you, please provide login credentials in the private reply fields here.
I looked at your site and reviewed the display conditions.
For both Field Groups that were showing unexpectedly on the post edit screens you were displaying the field groups with an ANY rule, when logically it seems to me you should be using "when ALL conditions are met".
Your "Additional conditions" are joined by OR, so after changing to an ALL condition (screenshot) then in words the condition becomes show the field group when the post type is "Salary Schedules" AND the schedule field value is any one of 1, 2, 3 or 6.
I *think* that is your intention, and after making the change the field stops showing on the post edit screens.
Now, it seems like your condition should still have worked, because Posts do not have schedule fields, so I still need to investigate further.
I'm going to test this on my own local site to see if I can reproduce, but if not I'll go ahead and take a copy of your site.
In the meantime you might verify that the changes to the condition I made conform with your intentions.
I was unable to reproduce on my local site (I seemed to have the opposite but still erroneous experience) so I've taken a copy of your site and will be double-checking when installed locally before escalating.