-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Dek/Subtext field ("subtitle") no longer responding to edits #1915
Comments
I'm not working with WPBuddy or INN; I'm just being nosy with these questions:
|
I'm not working with WPBuddy or INN; I'm just being nosy with these questions: Have you had anyone work on you site since INN last worked on SFPP in September 2020? Yes. yes, we checked that: But does look like some block validation errors are occuring in the console when I check, and probably that theme you suspect Have you reached out to INN's tech support about this issue? tried contacting WPBuddy. no luck yet. |
This happens because of the Saves on custom metaboxes are always prevented because of Lines 150 to 153 in 04e55ed
Looks like this changed in WP 5.8 and we never got around to updating it. https://developer.wordpress.org/reference/functions/current_user_can/ Working solution is to update the block to this
|
Expected Behavior
the Dek/subtext field, which is contained in the "subtitle" class on rendered page and shows between the headline and featured image, no longer responds to edits made in the editing UI.
No new content can be added, and existing content cannot be changed
Actual Behavior
ADD NEW:
edit post > add copy to "Dek/Subtext" field > view live page > user will NOT see changes ... > return to editing UI and any copy that was added to that field is now gone. the field is blank.
EDIT EXISTING:
edit post that already has content in Dek/subtext field > change/edit copy visible "Dek/Subtext" field > Hit "Update" > view live page > user will NOT see changes ... > return to editing UI > Changes that were made are gone. Field has reverted to previous version.
We believe this started happening in early/mid December 2022.
Steps to Reproduce the Problem
ADD NEW:
EDIT EXISTING
Specifications
Dek/subtext Editing UI example:
Dek/subtext becomes subtitle in this area:
The text was updated successfully, but these errors were encountered: