Skip to:
Content

bbPress.org

Opened 9 years ago

Closed 9 years ago

Last modified 5 years ago

#1973 closed defect (bug) (fixed)

404 header in Users Profiles

Reported by: stoyankyosev Owned by:
Milestone: 2.2 Priority: normal
Severity: normal Version: 2.1
Component: General Keywords:
Cc:

Description

When you open an user's profile, a 404 error appears in the firebug panel:

NetworkError: 404 Not Found - http://example.com/users/johndoe/

This is valid for http://bbpress.org/forums/ also, just open a random user and watch firebug's net panel.

A quick fix is suggested here - http://zzlatev.com/bbpress-404-header-in-users-profiles/

Change History (4)

#1 @johnjamesjacoby
9 years ago

  • Milestone changed from 2.1.3 to 2.2

Lame, but moving to 2.2 since beta is imminent and we can get this fixed there.

#2 @johnjamesjacoby
9 years ago

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

(In [4256]) User Profiles:

  • In theme compat, force the header status back to 200 if not deliberately set to 404.
  • Fixes #1973.

#3 @johnjamesjacoby
9 years ago

(In [4257]) Theme Compat:

  • Pass integer into status_header() instead of string.
  • See #1973.

#4 @johnjamesjacoby
5 years ago

In 6583:

Better 404 handling:

  • Introduce bbp_is_404 query var, and set this in places where the default 404 condition needs to be overridden
  • Introduce bbp_set_200() for cases where a default of 404 needs to be set to a 200
  • Introduce bbp_get_wp_query() helper for getting the $wp_query global
  • Update bbp_set_404() to accept a $query parameter to make passing the query around easier
  • Update child-ids queries to use the last_changed cache to reduce the amount of cache churn when cleaning

Fixes #3047. See #1973.

Note: See TracTickets for help on using tickets.