-
Notifications
You must be signed in to change notification settings - Fork 151
fix: bugfix/pcp-issues-sept-2025 #1709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -81,7 +81,7 @@ class="wpuf-block wpuf-my-1 wpuf-mr-2 wpuf-font-medium wpuf-text-gray-900"> | |
| $partially_filtered = preg_replace('/(<input[^>]+)/', '$1 ' . $attr, $partially_filtered, 1); | ||
| } | ||
|
|
||
| echo $partially_filtered; | ||
| echo esc_html( $partially_filtered ); | ||
| } | ||
|
Comment on lines
+84
to
85
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Stop escaping the rendered role/subscription markup
- echo esc_html( $partially_filtered );
+ echo $partially_filtered;
...
- echo esc_html( $partially_filtered );
+ echo $partially_filtered;Also applies to: 132-133 🤖 Prompt for AI Agents |
||
| ?> | ||
| </ul> | ||
|
|
@@ -129,7 +129,7 @@ class="wpuf-block wpuf-my-1 wpuf-mr-2 wpuf-font-medium wpuf-text-gray-900"> | |
| $partially_filtered = preg_replace('/(<input[^>]+)/', '$1 ' . $attr, $partially_filtered, 1); | ||
| } | ||
|
|
||
| echo $partially_filtered; | ||
| echo esc_html( $partially_filtered ); | ||
| } | ||
| } else { | ||
| esc_html_e( 'No subscription plan found.', 'wp-user-frontend' ); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Legacy challenge still renders in the footer and corrupts
document.write.The temporary
document.writeoverride drops after 100 ms, but the enqueuedchallenge.jsoften executes later, so it reverts to the originaldocument.writeand still writes the widget in the footer—regressing to the exact bug we’re trying to fix. With multiple legacy widgets, the chained overrides also leavedocument.writepointing at an earlier container, breaking unrelated scripts. Please restore inline loading (or keep the override active until the script fires a load event and then safely unwind it) so the v1 widget renders in place without clobberingdocument.write.🤖 Prompt for AI Agents