WordPress.org

Ready to get started?Download WordPress

Forums

WP Google Maps
[resolved] mysql deprecation (5 posts)

  1. Maik Penz
    Member
    Posted 3 months ago #

    Line 4383 (wpgmaps_filter()) uses mysql_real_escape_string which is no longer required to be available as of WordPress 3.9 and discouraged/ deprecated as of PHP 5.5.
    Not sure where or if the function wpgmaps_filter() is called.

    Should rather use esc_sql() or $wpdb for escaping.

    https://wordpress.org/plugins/wp-google-maps/

  2. WPGMaps
    Member
    Plugin Author

    Posted 3 months ago #

    Hi
    Thank you for picking this up! We completely missed it.
    We'll amend and update the plugin as soon as possible.

    Kind regards
    Nick

  3. Maik Penz
    Member
    Posted 2 months ago #

    Was not resolved on last update. Please fix this to no longer break PHP 5.5 installs without the deprecated mysql extension.

  4. WPGMaps
    Member
    Plugin Author

    Posted 2 months ago #

    Hi Maik
    I've now resolved this in 6.0.13 :)

  5. Maik Penz
    Member
    Posted 2 months ago #

    Hi Nick,

    thank you!

Reply

You must log in to post.

About this Plugin

About this Topic