Bug: MB Admin Columns breaks posts_search filter

Support MB Admin Columns Bug: MB Admin Columns breaks posts_search filter

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15091
    Ryan LauritsenRyan Lauritsen
    Participant

    When MB Admin Columns is active, the posts_search filter does not get the SQL where clause (1st parameter) passed as it should.

    https://developer.wordpress.org/reference/hooks/posts_search/

    With MB Admin Columns deactivated, the posts_search filter works as expected.

    I'm using the latest version of MB AIO.

    #15102
    Anh TranAnh Tran
    Keymaster

    Hi Ryan,

    That's the expected behavior, since the plugin has to perform search in different places: title + content (default WP behavior), custom fields and/or custom table. We had to make it search in each places and merge the result. So, the posts_search filter probably won't be applied.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.