Using deprecated functions
-
There is a broken piece of code in plugin options update. In effect I could not change any option.
Plugin usesmysql_real_escape_string()
function, however, wordpress uses mysqli instead of mysql library (if it is available).
When I replacedmysql_real_escape_string
withmysqli_real_escape_string
then I could save options properly. But wordpress provides universal functionesc_sql()
and it should be used instead.https://www.ads-software.com/plugins/resize-image-after-upload/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Using deprecated functions’ is closed to new replies.