boonebgorges / buddypress-docs

GNU General Public License v3.0
106 stars 44 forks source link

Removed {$in_clause} from SQL statement #706

Closed nickchomey closed 2 years ago

nickchomey commented 2 years ago

$in_clause was removed in this commit https://github.com/boonebgorges/buddypress-docs/commit/bebc29a47c083a2fd4cee37f8956755a0d2dc903, so we get a PHP notice about an undefined variable here. Assuming that this mechanism is no longer needed, the {$in_clause} part of the SQL statement should be removed.

boonebgorges commented 2 years ago

Good catch on an 8-year-old issue!!

nickchomey commented 2 years ago

Glad it was appreciated, as inconsequential as it was! I am currently developing my site so just have the xdebug develop mode on permanently, which displays any php notices/errors on the page.

Thanks for the great plugin! I look forward to tinkering with it some more in the coming months - it's probably the closest thing I've found to a "wiki" for WordPress, and especially for buddypress.