Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #370708

    Dear support members,

    I’m having a problem with a Google Map within a widget on my index page.

    There are two paragraphs of code on top of the map.

    I need to delete that, please.

    Thanks,

    Miguel

    #370812

    Hi Mkieling!

    Please try this out, https://kriesi.at/support/topic/problems-php-5-5-google-map-widget/#post-324190.

    Cheers!
    Elliott

    #372065

    Dear Elliott,

    I tried but it but it didn’t work for me.

    Could you please send specific instructions?

    Many thanks,

    Miguel

    #372186

    Hey!

    Send us a WordPress login and we’ll take a look.

    Best regards,
    Elliott

    #372282
    This reply has been marked as private.
    #372308

    Hi!

    It doesn’t look like you did the edit correctly. Open up /enfold/framework/php/class-framework-widgets.php and change line 1322 from this.

    $content = mysql_real_escape_string($content);
    

    To this.

    $content = esc_sql($content);
    

    Best regards,
    Elliott

    #372341
    This reply has been marked as private.
    #372436

    Hi!

    Please access via FTP and go to wp-content/themes/enfold/framework/php/class-framework-widgets.php then open the file and search

    $content = mysql_real_escape_string($content);

    and replace as Elliott suggested above

    Regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.