Opened 3 years ago
Closed 9 months ago
#3459 closed task (blessed) (duplicate)
BP Rewrites
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Extend - BuddyPress | Keywords: | |
Cc: |
Description (last modified by )
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('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, bbp_init, do_action('bbp_init'), WP_Hook->do_action, WP_Hook->apply_filters, bbp_register, do_action('bbp_register'), WP_Hook->do_action, WP_Hook->apply_filters, bbp_register_taxonomies, do_action('bbp_register_taxonomies'), WP_Hook->do_action, WP_Hook->apply_filters, bbPress::register_taxonomies, current_user_can, user_can, WP_User->has_cap, map_meta_cap, apply_filters('map_meta_cap'), WP_Hook->apply_filters, bbp_map_meta_caps, apply_filters('bbp_map_meta_caps'), WP_Hook->apply_filters, bbp_map_topic_tag_meta_caps, user_can, WP_User->has_cap, map_meta_cap, apply_filters('map_meta_cap'), WP_Hook->apply_filters, bbp_map_meta_caps, apply_filters('bbp_map_meta_caps'), WP_Hook->apply_filters, bbp_map_primary_meta_caps, bbp_is_user_inactive, bbp_is_user_active, bbp_get_user_id, apply_filters('bbp_get_user_id'), WP_Hook->apply_filters, bbp_filter_user_id, bp_displayed_user_id, apply_filters('bp_displayed_user_id'), WP_Hook->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
Closing in favor of: #3576