Skip to:
Content

bbPress.org

Opened 3 years ago

Closed 9 months ago

#3459 closed task (blessed) (duplicate)

BP Rewrites

Reported by: shawfactor's profile shawfactor Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: Priority: normal
Severity: normal Version:
Component: Extend - BuddyPress Keywords:
Cc:

Description (last modified by johnjamesjacoby)

Team,

BP Rewrites is a BuddyPress feature as a plugin which end goal is to be merged with BuddyPress Core. It’s being developed and maintained by the official BuddyPress development team. As migrating the BP Legacy URL parser to using the WP Rewrites API is potentially a breaking change for some BuddyPress plugins and themes, the BuddyPress team needs the BuddyPress users, contributors & developers to massively test this feature before safely including it into BuddyPress Core.

Currently the BBpress won't work with bp rewrites, namely the bbpress/includes/extend/buddypress/functions.php section needs rewriting.

I'm testing it and I'm getting the following errors:

[05-May-2022 06:35:01 UTC] PHP Notice:  bp_displayed_user_id() was called <strong>incorrectly</strong>.
Please wait for the `bp_parse_query` hook to be fired before using it. http://<snip>/?redirect_to=https://<snip>/2020/03/02/images-of-week-15-2019-20/20200302_161241/ require(&#039;wp-blog-header.php&#039;), require_once(&#039;wp-load.php&#039;), require_once(&#039;wp-config.php&#039;), require_once(&#039;wp-settings.php&#039;), do_action(&#039;init&#039;), WP_Hook-&gt;do_action, WP_Hook-&gt;apply_filters, bbp_init, do_action(&#039;bbp_init&#039;), WP_Hook-&gt;do_action, WP_Hook-&gt;apply_filters, bbp_register, do_action(&#039;bbp_register&#039;), WP_Hook-&gt;do_action, WP_Hook-&gt;apply_filters, bbp_register_taxonomies, do_action(&#039;bbp_register_taxonomies&#039;), WP_Hook-&gt;do_action, WP_Hook-&gt;apply_filters, bbPress::register_taxonomies, current_user_can, user_can, WP_User-&gt;has_cap, map_meta_cap, apply_filters(&#039;map_meta_cap&#039;), WP_Hook-&gt;apply_filters, bbp_map_meta_caps, apply_filters(&#039;bbp_map_meta_caps&#039;), WP_Hook-&gt;apply_filters, bbp_map_topic_tag_meta_caps, user_can, WP_User-&gt;has_cap, map_meta_cap, apply_filters(&#039;map_meta_cap&#039;), WP_Hook-&gt;apply_filters, bbp_map_meta_caps, apply_filters(&#039;bbp_map_meta_caps&#039;), WP_Hook-&gt;apply_filters, bbp_map_primary_meta_caps, bbp_is_user_inactive, bbp_is_user_active, bbp_get_user_id, apply_filters(&#039;bbp_get_user_id&#039;), WP_Hook-&gt;apply_filters, bbp_filter_user_id, bp_displayed_user_id, apply_filters(&#039;bp_displayed_user_id&#039;), WP_Hook-&gt;apply_filters, BP\Rewrites\bp_displayed_user_id, BP\Rewrites\_was_called_too_early Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version BP Rewrites.) in /wp-includes/functions.php on line 5775

As this is going to be merged into buddypress core at some stage I would suggest that getting the vtwo plugins to woirk togther asap would be very benficial as it will allow much more real world testing

Change History (2)

#1 @johnjamesjacoby
3 years ago

  • Component changed from General to Extend - BuddyPress
  • Description modified (diff)
  • Milestone changed from Awaiting Review to 2.6.10
  • Owner set to johnjamesjacoby
  • Priority changed from normal to high
  • Status changed from new to assigned
  • Type changed from defect (bug) to task (blessed)

#2 @johnjamesjacoby
9 months ago

  • Keywords changes-requested removed
  • Milestone 2.6.10 deleted
  • Priority changed from high to normal
  • Resolution set to duplicate
  • Status changed from assigned to closed

Closing in favor of: #3576

Note: See TracTickets for help on using tickets.