Skip to:
Content

bbPress.org

Opened 8 years ago

Closed 8 years ago

#2107 closed defect (fixed)

Shortcodes for search not working as intended

Reported by: jmdodd Owned by: jmdodd
Milestone: 2.3 Priority: normal
Severity: normal Version: trunk
Component: Component - Search Keywords: needs-patch
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
8 years ago

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

#2 @mordauk
8 years ago

  • Cc pippin@… added

#3 @jmdodd
8 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.