Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
webmaster39

Bulk Edit Doubled Code

Hi there,

we noticed an issue and here is the way you can reproduce it.

As soon as there is at least one column with enabled “Inline editing” option, and you check 2 or more items from the list table, and use “edit” from bulk edit WP native dropdown and click apply, ACP creates another HTML set of elements that contains exact same input elements rendered in opened bulk edit UI.

As the result of this, when we change for example “post status” we actually change the select box with name “_status” to some value ( ex: draft ), cloned HTML continues to contain same select box with name “_status”, but without changed value ( it stays -1, which mean unchanged ). And after saving changes with update button, actually -1 got submitted as the value of post status dropdown, and post status does not change. ( $_POST[“_status”] => -1 )

Screenshot to reproduce.
1. https://www.screencast.com/t/VUfWWiVZ
2. https://www.screencast.com/t/qApzmZddcU
3. https://www.screencast.com/t/rNiMpe1L30g

This issue appeared in v4.5.5: checked v4.5.4 and v4.5.3 works fine.
Please review and let us to know if you have questions.

Thanks in advance.
Regards.

5 years, 8 months ago
Stefan van den Dungen Gronovius
Developer

We do have a fix for that for the upcoming release.
To be honest, I believe this is something that should be fixed in WooCommerce, but we fixed it on our side now.
I can send you the build so you could test if it indeed works as expected.
If you’re interested, please send me an email at support@admincolumns.com

5 years, 8 months ago

You must be logged in to reply to this topic.