Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#21365 closed defect (bug) (fixed)

feed-rss2-comments.php should use get_search_query()

Reported by: SergeyBiryukov Owned by: ryan
Milestone: 3.5 Priority: normal
Severity: normal Version: 2.5
Component: Feeds Keywords: has-patch
Focuses: Cc:


In [6819], $wp_query->query_vars['s'] was replaced with get_search_query() in feed-atom-comments.php, but not in feed-rss2-comments.php.

The patch also combines two similar strings.

Attachments (1)

21365.patch (2.0 KB) - added by SergeyBiryukov 6 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
6 years ago

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

In [21332]:

Use get_search_query() in feed-rss2-comments.php. Props SergeyBiryukov. fixes #21365

Note: See TracTickets for help on using tickets.