Skip to:
Content
Pages
Categories
Search
Top
Bottom

Private Content in Search Exceprts

  • @lmstearn

    Participant

    WP: 6.6.1, BBClassic & BuddyPress: 14.0, Stearnvault.com
    This enquiry is regarding excerpts from private posts displayed in the search hit results of the in-built Site Search. Looking for repro before filing at Trac.
    Because of the privacy concerns, the code from this SO thread is used to disable all search at the site at this time.
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @venutius

    Moderator

    This is something I’m working on in the plugin I’m building as a result of this thread: https://buddypress.org/support/topic/disable-rss/

    I already have the code to remove stuff from wp search in another plugin I have, I just need to put that into this new plugin and update it specifically for this task.

    I should have some code in the next week.

    @lmstearn

    Participant

    Sounds good, thanks.
    Guessing it requires detection of the status of current logged in user, which requires a function like current_user_can, so a fair bit of code-foo required.

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