Skip to content

Conversation

iandunn
Copy link
Member

@iandunn iandunn commented Oct 10, 2023

Using bbp_get_displayed_user_id() would still load it on some sites and pages where it's not necessary.

See #255 (comment)

Using `bbp_get_displayed_user_id()` would still load it on some sites and pages where it's not necessary.
@iandunn iandunn added this to the Iteration 1 milestone Oct 10, 2023
@iandunn iandunn self-assigned this Oct 10, 2023
@iandunn iandunn marked this pull request as ready for review October 10, 2023 14:58
@iandunn iandunn merged commit 73e8bb8 into trunk Oct 10, 2023
@iandunn iandunn deleted the css-dequeue-on-url branch October 10, 2023 14:58
global $wp;

// Match the URL since page/blog IDs etc aren't consistent across environments.
if ( 1 === preg_match( '#/users/.*/edit/account/#', $wp->request ) ) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants