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

Focus on specific post fields that have conflicts #35

Closed
westonruter opened this issue Mar 4, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@westonruter
Copy link
Contributor

commented Mar 4, 2016

When there are post save conflicts due to concurrent editing of a post, the post fields get an error message indicating the their version of each conflicted field. In addition to showing the error message, we should focus on the first specific conflicted field (if the section is expanded), instead of just focusing on the first control regardless.

@westonruter

This comment has been minimized.

Copy link
Contributor Author

commented Jun 26, 2016

The \WP_Customize_Post_Setting::is_post_data_conflicted() method should return an array of the fields that are conflicted, and then the sanitize method should return a WP_Error that has each setting_property identifying the property that is conflicted.

@PatelUtkarsh PatelUtkarsh self-assigned this Jan 23, 2017

PatelUtkarsh added a commit that referenced this issue Jan 23, 2017

@westonruter westonruter added this to the 0.8.6 milestone Jun 7, 2017

@westonruter westonruter removed the wceu2016 label Jun 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.