Skip to:
Content

bbPress.org

#2107 closed defect (bug) (fixed)

Shortcodes for search not working as intended

Reported by:jmdodd's profile jmdoddOwned by:jmdodd's profile jmdodd
Milestone:2.3Priority:normal
Severity:normalVersion:trunk
Component:Component - SearchKeywords:needs-
Cc:jmdodd@…, pippin@…

Description

Per IRC:

<netweb> Notice: Uninitialized string offset: 0 in /home/ntwb/public_html/dev
         .ntwb.co/wp-content/plugins/bbpress/includes/common/shortcodes.php on
         line 626
<netweb> http://bbpress.trac.wordpress.
         org/browser/trunk/includes/common/shortcodes.php?rev=4579#L626

Confirmed; $attr['search'] is assumed. bbp-search shortcode was based on view shortcode, needs to be more similar to bbp-single-topic or bbp-topic-index with more detailed setup.

bbp-search-form shortcode needed as well.

Change History (3)

#1 @jmdodd
12 years ago

  • Cc jmdodd@… added
  • Owner set to jmdodd
  • Status changed from new to assigned

#2 @mordauk
12 years ago

  • Cc pippin@… added

#3 @jmdodd
12 years ago

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

(In [4586]) Shortcode iteration for search introduced in #1575.

  • Fix bbp-search shortcode.
  • Introduce bbp-search-form shortcode.
  • Fixes #2107.
Note: See TracTickets for help on using tickets.