{"action":"opened","issue":{"url":"https://api.github.com/repos/boonebgorges/invite-anyone/issues/132","repository_url":"https://api.github.com/repos/boonebgorges/invite-anyone","labels_url":"https://api.github.com/repos/boonebgorges/invite-anyone/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/boonebgorges/invite-anyone/issues/132/comments","events_url":"https://api.github.com/repos/boonebgorges/invite-anyone/issues/132/events","html_url":"https://github.com/boonebgorges/invite-anyone/issues/132","id":138210633,"number":132,"title":"Replace deprecated like_escape with $wpdb->esc_like","user":{"login":"danbrellis","id":7229803,"avatar_url":"https://avatars.githubusercontent.com/u/7229803?v=3","gravatar_id":"","url":"https://api.github.com/users/danbrellis","html_url":"https://github.com/danbrellis","followers_url":"https://api.github.com/users/danbrellis/followers","following_url":"https://api.github.com/users/danbrellis/following{/other_user}","gists_url":"https://api.github.com/users/danbrellis/gists{/gist_id}","starred_url":"https://api.github.com/users/danbrellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbrellis/subscriptions","organizations_url":"https://api.github.com/users/danbrellis/orgs","repos_url":"https://api.github.com/users/danbrellis/repos","events_url":"https://api.github.com/users/danbrellis/events{/privacy}","received_events_url":"https://api.github.com/users/danbrellis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-03T15:29:41Z","updated_at":"2016-03-03T15:29:41Z","closed_at":null,"body":"Any easy fix in /group-invites/group-invites.php\r\n\r\nIn the function get_search_sql() a `global $wpdb;` needs to be added. And when building the `$searches` array on line 349, replace `like_escape` with `$wpdb->esc_like` per https://codex.wordpress.org/Function_Reference/like_escape recommendation.\r\n\r\n"}}