I want to use eamondaly’s remedy but I don’t know what the heck I’m doing and am afraid to mess with the site which is live.
Before I try to use the solution, please tell me if it sounds like I understand the instructions. By the way, I am assuming cp means cpanel.
1) Using Filezilla ftp I found dfcg-admin-metaboxes.php
2) I make a copy of dfcg-admin-metaboxes.php and name it dfcg-admin-metaboxes.php.original
3) Using Notepad, I take the code eamondaly created and save it to a file that I save as nonce.patch
Now this is where I’m lost (could be I was lost at step 3). Where do I place the nonce.patch file. Does it go here /wp-content/plugins/dynamic-content-gallery-plugin/includes
4) then using FTP I copy dfcg-admin-metaboxes.php to my computer
5) using Notepad I open dfcg-admin-metaboxes.php and type patch < nonce.patch I’m guessing that I’d type that at the bottom of the page
6) then while the file is still open and still using Notepad I look for this line
if ( !wp_verify_nonce( isset($_POST['dfcg_metabox_noncename']), DFCG_FILE_HOOK )) {
and change it to read
if ( !isset($_POST['dfcg_metabox_noncename']) || !wp_verify_nonce( $_POST['dfcg_metabox_noncename'], DFCG_FILE_HOOK )) {
7) I save dfcg-admin-metaboxes.php
8) I upload dfcg-admin-metaboxes.php to wp-content/plugins/dynamic-content-gallery-plugin/includes
Thanks so much for providing this support
https://www.laprogressive.com