Support Forum

Content of the article

WPBE - WordPress Posts Bulk Editor Professional
You need to log-in to create request (topic) to the support

Histort Revert options not working

(new from 01-07-2019)
This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see green button on the right side) and press Save button.
If you not got email within 24 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi,

When using the History -> Revert option it is messing up my data.
I have a Meta Field (text) that I added to the Products Editor. When I change the text and then use the History Revert option it fills the field with a "0" in stead of the original text.
Any  idea why this is happening?

Hello

Please  drop me  wp-admin+FTP access - https://c2n.me/42BAoj4.png -  I will check it

Can you tell me what you expect to do. Because I need to be sure what changes will be made to the site.

Hello

I will create a test meta field and try to repeat the error. Using FTP I will look for a problem

Sorry it took this long to reply.
I send you the info. Please be careful with our data.

I just tested by changing the stock quantity and do a revert. That works. But when I for example change the description and revert, it doesn't and fills the field with a 0.

Hello

Sorry I can not find the site folder.

try  in file - \wp-content\plugins\woocommerce-bulk-editor\ext\history\history.php  change  code ( https://c2n.me/43LMIpy.png  )

//if (maybe_serialize($solo['prev_val'])) {
if(is_string($solo['prev_val']) && is_array(json_decode($solo['prev_val'], true)) && (json_last_error() == JSON_ERROR_NONE)){

and  do test

 

Apologies, I made a mistake with the FTP!
I  have just updated the details.

Hello

Please do test!

 

I just tried with 1 product and it seems to be working now.

Anything I need to know?

Thank you

Hello

This will be included in the new version.