Skip to:
Content

bbPress.org

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2165 closed enhancement (fixed)

Add Forum Search Page in Body Classes

Reported by: alex-ye Owned by:
Milestone: 2.3 Priority: normal
Severity: normal Version: trunk
Component: Component - Search Keywords: has-patch
Cc: stephen@…, nashwan.doaqan@…

Description

Hi Guys :) , As the title said we must add 'bbp-search' and 'forum-search' to WP body classes array .

Attachments (1)

template-tags.php.patch (829 bytes) - added by alex-ye 9 years ago.
Adding 'bbp-search' and 'forum-search' Classes .

Download all attachments as: .zip

Change History (10)

@alex-ye
9 years ago

Adding 'bbp-search' and 'forum-search' Classes .

#1 follow-up: @netweb
9 years ago

  • Cc stephen@… added

Thanks for the patch though what file is this attempting to patch?

I see the filename template-tags.php but there are 6 template-tags.php files, one each located in

  • /includes/forums/
  • /includes/topics/
  • /includes/replies/
  • /includes/search/
  • /includes/users/
  • /includes/common/

Maybe take a look at the 'How to submit patches' guides linked on the frontpage of trac here:

http://bbpress.trac.wordpress.org/#HowtoSubmitPatches

#2 @netweb
9 years ago

  • Component changed from Code Improvement to Search
  • Milestone changed from 2.3 to Awaiting Review
  • Version changed from trunk to 2.2.3

#3 in reply to: ↑ 1 @alex-ye
9 years ago

Replying to netweb:

Thanks for the patch though what file is this attempting to patch?

/includes/common/template-tags.php

#4 @alex-ye
9 years ago

  • Version changed from 2.2.3 to trunk

just to be sure the Version keyword as the Trac Help said :
Version — Version of the project that this ticket pertains to.

The search functionality in a new feature in 2.3 which is the trunk now ?!

#5 @alex-ye
9 years ago

  • Cc nashwan.doaqan@… added

#6 @alex-ye
9 years ago

  • Cc nashwan.doaqan@… removed
  • Milestone changed from Awaiting Review to 2.3

#7 @alex-ye
9 years ago

  • Cc nashwan.doaqan@… added

#8 @johnjamesjacoby
9 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4698]) Add forum search to body class. Props alex-ye. Fixes #2165.

#9 @johnjamesjacoby
9 years ago

(In [4699]) Add forum search to is_bbpress(). See #2165.

Note: See TracTickets for help on using tickets.