WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #10041, comment 29


Ignore:
Timestamp:
04/05/2014 09:02:42 AM (8 years ago)
Author:
Denis-de-Bernardy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10041, comment 29

    initial v1  
    33{{{
    44    var_dump(
    5         addslashes("Hello'\"\\ World"),
    6         addslashes(addcslashes(addslashes("Hello'\"\\ World"), "_%"))
     5        mysqli_escape_string($wpdb->dbh, "Hello'\"\\ World"),
     6        mysqli_escape_string($wpdb->dbh, addcslashes(addslashes("Hello'\"\\ World"), "_%"))
    77    );
    88