{"id":16471,"date":"2015-04-23T19:27:13","date_gmt":"2015-04-23T19:27:13","guid":{"rendered":"http:\/\/developer.wordpress.org\/reference\/classes\/wpdb\/strip_invalid_text_from_query\/"},"modified":"2026-05-20T22:23:33","modified_gmt":"2026-05-20T22:23:33","slug":"wpdb-strip_invalid_text_from_query","status":"publish","type":"wp-parser-method","link":"https:\/\/developer.wordpress.org\/reference\/classes\/wpdb\/strip_invalid_text_from_query\/","title":{"rendered":"wpdb::strip_invalid_text_from_query()"},"excerpt":{"rendered":"<p>Strips any invalid characters from the query.<\/p>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"wp-parser-source-file":[1192],"wp-parser-package":[48,3],"wp-parser-since":[602],"class_list":["post-16471","wp-parser-method","type-wp-parser-method","status-publish","hentry","wp-parser-source-file-wp-includes_class-wpdb-php","wp-parser-package-database","wp-parser-package-wordpress","wp-parser-since-4-2-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-method\/16471","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-method"}],"about":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/types\/wp-parser-method"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/comments?post=16471"}],"version-history":[{"count":1,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-method\/16471\/revisions"}],"predecessor-version":[{"id":17067,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-method\/16471\/revisions\/17067"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=16471"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=16471"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=16471"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=16471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}