Hello,
In the “Theme Update” section of Enfold options the Envato private token appears in clear, unencypted format as long as other Envato account information such as email address and envato account username.
It will much better to have those information hidden/encrypted, especially the private token at a minimum once the envato private token is validated for security reasons.
Just a suggestion, would be great to have it on your roadmap if you can!
Thank you
Hey 805ITS,
Thank you for adressing this.
You can use filter avf_optiospage_hide_data_fields to hide the envato token (since 4.6.4). Envato user name is no longer needed for auto update as envato changed the API.
See enfold\framework\php\auto-updates\auto-updates.php for the documentation of the filter.
Best regards,
Günter
Hi Günter,
Thank you for your response. I checked the documentation you mentioned but when I entered the filter in functions.php I get a wordpress error. What should I enter exactly?
Also as you can see on the private screenshots, my envato account infos appears (email and account username) appears once the private token is validated. I am using Enfold 4.7.3
Thank you again
Nevermind I added the following code in the functions.php of the child theme and it works :
/*Hide Envato Private Token & Account Infos from "Theme Update" section of Enfold Theme Options*/
add_filter( 'avf_optiospage_hide_data_fields', 'my_optiospage_hide_data_fields', 10, 2 );
Thank you for your help!