Home Forums WoodMart support forum Serious Security Problem with WP Bakery

Serious Security Problem with WP Bakery

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #249571

    Master
    Participant

    Hi Developers,

    I have removed scripts and styles versions from source code for security reasons and everything works except wp bakery page builder when I try to edit a page or post with it, it does not work. To replecate this bug you can paste this code to your child or parent theme functions and try to edit html blocks, page or post with bakery, it just doesn’t work.

    /**
    * Remove version number from scripts and styles.
    */
    add_filter( ‘style_loader_src’, ‘mydomain_remove_scripts_styles_src’, 10, 2 );
    add_filter( ‘script_loader_src’, ‘mydomain_remove_scripts_styles_src’, 10, 2 );

    function mydomain_remove_scripts_styles_src( $src, $handle ) {
    $src = remove_query_arg( ‘ver’, $src );
    return $src;
    }

    This code works great except with bakery, can you please help me because this is security risk that needs to be fixed.

    Also from the last wp update to 5.6 bakery page builder is missing the buttons edit with bakery on page or post, they are slow with updates, they should have prepared the last update for wp 5.6

    Thank you so much.

    #249588

    Master
    Participant

    Hi, I just tested out after theme update and bakery works with the code above, so there was something with your theme I suppose.

    The only thing that is still missing is the button edit with wp bakery on pages.

    #249590

    Artem Temos
    Keymaster

    Hello,

    Do you mean that the button is missed only when you add the code? Or it doesn’t work even without the code?

    Kind regards

    #249682

    Master
    Participant

    The button Edit with bakery is missing even without the code, I don’t know why, everything was fine until the update to wp 5.6

    #249843

    Artem Temos
    Keymaster

    Hello,

    Could you please disable all plugins that are not related to our theme and provide us your admin access so we could check it?

    Thank you in advance

    #249876

    Master
    Participant

    Hi, I disabled all plugins, the only ones being active are Woodmart Core and WPBakery. I have activated the parent woodmart theme.

    wordpress v5.6
    woodmart v5.3.5
    WPBakery v6.4.2

    Try to add new page, the button at the top right edit with bakery is gone, the only way to edit the page with bakery is from all pages then edit with bakery which points you to the front bakery edit screen from which you then click on bakend editor and than you can edit the page.

    Please, can you confirm that you have tested with the above versions and that it works on your side?

    Thanks

    #249918

    Artem Temos
    Keymaster

    Yes, we have tested this on our side and it works well.

    #250130

    Master
    Participant

    I just installed a brand new wordpress installation with a brand new database on localhost, uploaded the woodmart theme without the child, downloaded and activated only woodmart core, wpbakery and woocommerce, you must be playing with me, the button edit with wp bakery does not exist neither for the sample page not even when create a new page, what is going on? How can you say that it works on your side when it’s not, there is no chance. Is is probably working for pages that were already published with bakery before the wordpress update 5.6 but not for new pages, there is no chance, HEEEEYYYY brand new clean wp install, only woodmart parent, only woodmart core, only wp bakery and only wp woocommere installed and activated, you haven’t even tried to replecate the bugs I have posted to you, what is going on here? If you are working on it we can chat outside this because I need to know what is going on, it is my interest and security, this can not be done this way, now way. Please explain.

    #250284

    Artem Temos
    Keymaster

    Sorry for the inconvenience, but we are probably talking about different problems. Please, send us a screenshot of the problem for clarification.
    And provide your current admin access to the website where you have this fresh installation.

    #250382

    Master
    Participant

    I don’t know how this is not visible to you and you need pictures but I got some pictures to clarify the issue. On the pictures you will see that the button edit with bakery is missing from edit page.

    I can not provide you with admin access to the installation since it is on localhost for testing.

    Thanks

    #250383

    Master
    Participant

    Since the zip file exceeds the upload limit I have to do it this way.

    Attachments:
    You must be logged in to view attached files.
    #250385

    Master
    Participant

    One More

    Attachments:
    You must be logged in to view attached files.
    #250698

    Artem Temos
    Keymaster

    Strange, but we don’t have this problem on our development website and don’t know why it doesn’t work for you. Please, send us your website access once you upload it to the server so we can troubleshoot it.

    #250818

    Master
    Participant

    Hi,

    Well the site is live but I can not give you access to troubleshout it on a live server, it is not that I don’t trust you but I do all the troubleshooting on localhost then upload the database and files if needed.

    The problem is not with your theme but with bakery page builder and if could contact the developers to resolve this issue please.

    I don’t know how this issue is not visible to you, I again droped the database on localhost, reinstalled wp, only the default twenty one theme was active, I activated only the bakery page builder plugin and same as above, the edit with bakery on new page is not showing up.

    I thought it might be a @media issue so I checked that as well, minimized the window expanded it, but still now showing up, checked with all the theme settings and bakery settings but debuged but still nothing.

    The only way to edit new page with bakery is to go to preview than from the top toolbar edit with bakery and then backend editor, or from all pages if the page was already published edit with bakery.

    I know that you are full of reading all this topics but please try to add new page and see if the button edit with bakery is showing up because its not.

    Thanks

    #250833

    Artem Temos
    Keymaster

    In this case, you need to create a staging development copy of your website. There, you will be able to do such kind of experiments without any harm to your production website.

    Kind Regards

    #250943

    Master
    Participant

    I believe that the next update from bakery will fix the problem since it does not have to do nothing with the code of the theme. Nothing but wait for the fix…

    Thanks

Viewing 16 posts - 1 through 16 (of 16 total)