Skip to content

Fixed functions in class-urcr-ajax.php - #1557

Open
DAnn2012 wants to merge 1 commit into
themegrill:developfrom
DAnn2012:patch-13
Open

DAnn2012 wants to merge 1 commit into
themegrill:developfrom
DAnn2012:patch-13

Conversation

@DAnn2012

Copy link
Copy Markdown
Contributor

All Submissions:

Changes proposed in this Pull Request:

Fixed functions in class-urcr-ajax.php

How to test the changes in this Pull Request:

Types of changes:

  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (modification of the currently available functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully ran tests with your changes locally?
  • Have you updated the documentation accordingly?

Changelog entry

Enter a short summary of all changes on this Pull Request. This will appear in the changelog if accepted.

Fixed functions in class-urcr-ajax.php

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No unresolved review issues remain.

No open issues 🎉

What changed in this PR

This pull request fixes localized success-message formatting in content-restriction AJAX handlers.

Changes:

  • Applies sprintf() after translation lookup.
  • Preserves dynamic status text in localized messages.
File Summary
modules/​content-restriction/​class-urcr-ajax.php Corrected success-message formatting in two AJAX handlers.

Review effort: Lite

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