WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#3885 closed defect (bug) (fixed)

When viewing page_for_posts feed should not be a comment feed

Reported by: mdawaffe Owned by:
Milestone: 2.2 Priority: high
Severity: normal Version: 2.2
Component: General Keywords:
Focuses: Cc:

Description

[4934] broke some feeds since WP_Query wasn't expecting all the hep new stuff.

Attached does something a bit radical: moves page_on_front and page_for_posts up from get_posts() to parse_query().

I have no idea what it breaks.

Attachments (2)

3885.diff (4.4 KB) - added by mdawaffe 7 years ago.
3885b.diff (4.3 KB) - added by mdawaffe 7 years ago.

Download all attachments as: .zip

Change History (3)

mdawaffe7 years ago

mdawaffe7 years ago

comment:1 ryan7 years ago

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

(In [4956]) Fix up page_for_posts feed. Rework some query bits. Props mdawaffe. fixes #3885

Note: See TracTickets for help on using tickets.