Changeset 1012198
- Timestamp:
- 10/22/2014 03:23:41 PM (11 years ago)
- File:
-
- 1 edited
-
edit-any-table/trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
edit-any-table/trunk/readme.txt
r1012195 r1012198 63 63 = If I save a text field with an apostrophe (') a backslash (\) is inserted prior to it in the database = 64 64 65 WordPress assumes, for backwards capability, that Magic Quotes is switched on. Magic Quotes is used in earlier versions of PHP to prevent SQL injection. If you are outputting the data from the database yourself into a post then use the function stripslashes_deep() i.e. '$records = stripslashes_deep($wpdb->get_results($sql,'ARRAY_A'));'. See the [codex](http://codex.wordpress.org/Function_Reference/stripslashes_deep).65 WordPress assumes, for backwards capability, that Magic Quotes is switched on. Magic Quotes is used in earlier versions of PHP to prevent SQL injection. If you are outputting the data from the database yourself into a post then use the function stripslashes_deep() i.e. `$records = stripslashes_deep($wpdb->get_results($sql,'ARRAY_A'));`. See the [codex](http://codex.wordpress.org/Function_Reference/stripslashes_deep). 66 66 67 67 = Help! I've upgraded to version 2 and I can't see anything =
Note: See TracChangeset
for help on using the changeset viewer.