Skip to content

Conversation

@alecgeatches
Copy link
Contributor

@alecgeatches alecgeatches commented Jun 24, 2025

Description

Updates public-facing labels and URLs for "Traffic Boost" to "Engagement Boost":

Screenshot 2025-06-24 at 11 46 25 AM

Screenshot 2025-06-24 at 11 47 10 AM

Screenshot 2025-06-24 at 11 48 32 AM

For safety, this only updates visible labels and URLs but not internal references. We have 600+ instances of traffic.*boost in our code, including object classes, function names, CSS classes, API endpoints, and internal settings options. These are more risky to update en masse, so I'm sticking to the admin-facing labels and URLs for this PR. A full internal rewrite to use "engagement boost" will take more effort and may require migration steps for strings like options keys.

Motivation and context

"Traffic Boost" may imply some third-party traffic being sent to the site, so "Engagement Boost" may be more clear to customers.

Summary by CodeRabbit

Summary by CodeRabbit

  • Style
    • Updated all user-facing references from "Traffic Boost" to "Engagement Boost" across the dashboard, settings, navigation, links, and error messages.
    • Adjusted related URLs, labels, accessible text, and page titles to reflect the new "Engagement Boost" naming.
  • Bug Fixes
    • Ensured navigation and redirects now point to updated "Engagement Boost" routes for a consistent user experience.

@alecgeatches alecgeatches self-assigned this Jun 24, 2025
@alecgeatches alecgeatches requested a review from a team as a code owner June 24, 2025 17:20
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 24, 2025

📝 Walkthrough
## Walkthrough

All references to the "Traffic Boost" feature have been renamed to "Engagement Boost" across the codebase. This includes updates to UI text, menu labels, route paths, link URLs, accessibility labels, and user-facing messages. No changes were made to core logic, control flow, or exported entity declarations.

## Changes

| Files/Groups                                                                                     | Change Summary                                                                                               |
|------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|
| src/UI/class-dashboard-page.php, src/UI/class-settings-page.php                                | Updated menu, page, and settings labels from "Traffic Boost" to "Engagement Boost".                         |
| src/UI/class-row-actions.php                                                                    | Changed row action link label and URL from "Boost Traffic" to "Boost Engagement" and updated path segment.  |
| src/content-helper/dashboard-page/dashboard-page.tsx                                           | Renamed route paths from `/traffic-boost` to `/engagement-boost` and updated default redirect.              |
| src/content-helper/dashboard-page/components/posts-table/components/single-post-row.tsx         | Updated link path and text from "Boost Traffic" to "Boost Engagement".                                      |
| src/content-helper/dashboard-page/components/posts-table/components/suggestion-bubble.tsx       | Changed navigation target from `/traffic-boost/${postId}` to `/engagement-boost/${postId}`.                  |
| src/content-helper/dashboard-page/pages/dashboard/header-component.tsx                          | Changed StatCard title from "Traffic Boost" to "Engagement Boost".                                          |
| src/content-helper/dashboard-page/pages/traffic-boost/page-component.tsx                        | Updated page header from "Manage Traffic Boost (beta)" to "Manage Engagement Boost (beta)".                 |
| src/content-helper/dashboard-page/pages/traffic-boost/sidebar/components/links-list/single-link.tsx | Changed aria-label from "Traffic boost link" to "Engagement boost link".                                    |
| src/content-helper/dashboard-page/pages/traffic-boost/sidebar/components/post-details.tsx       | Updated description from "increase your post's traffic" to "increase your post's engagement".               |
| src/content-helper/dashboard-page/pages/traffic-boost/sidebar/components/tabs-content.tsx       | Replaced "Traffic Boost" with "Engagement Boost" in error and link texts.                                   |
| src/content-helper/dashboard-page/pages/traffic-boost/sidebar/sidebar.tsx                      | Changed sidebar back navigation from `/traffic-boost` to `/engagement-boost`.                               |
| src/content-helper/dashboard-page/pages/traffic-boost/single-post-component.tsx                 | Updated redirect path from `/traffic-boost` to `/engagement-boost` on missing post.                         |
| src/js/admin-settings.ts                                                                       | Updated user-facing message from "Traffic Boost" to "Engagement Boost" in API authorization error.          |
| README.md                                                                                      | Renamed "Traffic Boost" to "Engagement Boost" in descriptions and screenshots; cleaned whitespace.          |

## Sequence Diagram(s)

```mermaid
sequenceDiagram
    participant User
    participant WP_Admin
    participant React_Dashboard

    User->>WP_Admin: Clicks "Engagement Boost" in menu
    WP_Admin->>React_Dashboard: Loads /engagement-boost route
    React_Dashboard->>User: Renders Engagement Boost UI
    User->>React_Dashboard: Clicks "Boost Engagement" link for a post
    React_Dashboard->>React_Dashboard: Navigates to /engagement-boost/:postId
    React_Dashboard->>User: Shows Engagement Boost details for post

Possibly related PRs

Suggested labels

Changelog: Changed, Feature: Traffic Boost

Suggested reviewers

  • acicovic

</details>

<!-- walkthrough_end -->
<!-- This is an auto-generated comment: all tool run failures by coderabbit.ai -->

> [!WARNING]
> There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.
> 
> <details>
> <summary>🔧 ESLint</summary>
> 
> > If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.
> 
> npm error Exit handler never called!
> npm error This is an error with npm itself. Please report this error at:
> npm error   <https://github.com/npm/cli/issues>
> npm error A complete log of this run can be found in: /.npm/_logs/2025-06-24T19_44_53_414Z-debug-0.log
> 
> 
> 
> </details>

<!-- end of auto-generated comment: all tool run failures by coderabbit.ai -->


---

<details>
<summary>📜 Recent review details</summary>

**Configuration used: .coderabbit.yaml**
**Review profile: CHILL**
**Plan: Pro**


<details>
<summary>📥 Commits</summary>

Reviewing files that changed from the base of the PR and between cbe9cf0d0a4018e4bdb872e5029c858dac8a0607 and 44dfb6ea849a4324abcd43b5379aac940edd3fd9.

</details>

<details>
<summary>⛔ Files ignored due to path filters (2)</summary>

* `build/content-helper/dashboard-page.asset.php` is excluded by `!build/**`
* `build/content-helper/dashboard-page.js` is excluded by `!build/**`

</details>

<details>
<summary>📒 Files selected for processing (1)</summary>

* `src/content-helper/dashboard-page/dashboard-page.tsx` (2 hunks)

</details>

<details>
<summary>🚧 Files skipped from review as they are similar to previous changes (1)</summary>

* src/content-helper/dashboard-page/dashboard-page.tsx

</details>

<details>
<summary>⏰ Context from checks skipped due to timeout of 90000ms (3)</summary>

* GitHub Check: build
* GitHub Check: E2E against WordPress latest
* GitHub Check: build

</details>

</details>
<!-- internal state start -->


<!-- DwQgtGAEAqAWCWBnSTIEMB26CuAXA9mAOYCmGJATmriQCaQDG+Ats2bgFyQAOFk+AIwBWJBrngA3EsgEBPRvlqU0AgfFwA6NPEgQAfACgjoCEYDEZyAAUASpETZWaCrKNwSPbABsvkCiQBHbGlcSHF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HAkAAeLgHC4d7AAfgfYh7BoCLhLivt3v7sPs7A7C0DJACDzhpA/vvvEdbAHA7AqAMC0A7BbACAAdbAftoDYjvskd0C0D/u0Dvt8f8cQD9SdjHu0Cnvnvz50DpJpT6BAA=== -->

<!-- internal state end -->
<!-- finishing_touch_checkbox_start -->

<details open="true">
<summary>✨ Finishing Touches</summary>

- [ ] <!-- {"checkboxId": "7962f53c-55bc-4827-bfbf-6a18da830691"} --> 📝 Generate Docstrings

</details>

<!-- finishing_touch_checkbox_end -->
<!-- tips_start -->

---

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

<details>
<summary>❤️ Share</summary>

- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai)
- [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai)
- [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai)
- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)

</details>

<details>
<summary>🪧 Tips</summary>

### Chat

There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=Parsely/wp-parsely&utm_content=3482):

- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
  - `I pushed a fix in commit <commit_id>, please review it.`
  - `Explain this complex logic.`
  - `Open a follow-up GitHub issue for this discussion.`
- Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples:
  - `@coderabbitai explain this code block.`
  -	`@coderabbitai modularize this function.`
- PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
  - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.`
  - `@coderabbitai read src/utils.ts and explain its main purpose.`
  - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.`
  - `@coderabbitai help me debug CodeRabbit configuration file.`

### Support

Need help? Create a ticket on our [support page](https://www.coderabbit.ai/contact-us/support) for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

### CodeRabbit Commands (Invoked using PR comments)

- `@coderabbitai pause` to pause the reviews on a PR.
- `@coderabbitai resume` to resume the paused reviews.
- `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
- `@coderabbitai full review` to do a full review from scratch and review all the files again.
- `@coderabbitai summary` to regenerate the summary of the PR.
- `@coderabbitai generate docstrings` to [generate docstrings](https://docs.coderabbit.ai/finishing-touches/docstrings) for this PR.
- `@coderabbitai generate sequence diagram` to generate a sequence diagram of the changes in this PR.
- `@coderabbitai resolve` resolve all the CodeRabbit review comments.
- `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository.
- `@coderabbitai help` to get help.

### Other keywords and placeholders

- Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed.
- Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description.
- Add `@coderabbitai` anywhere in the PR title to generate the title automatically.

### Documentation and Community

- Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit.
- Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback.
- Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.

</details>

<!-- tips_end -->

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 74860d3 and 3e11798.

⛔ Files ignored due to path filters (4)
  • build/admin-settings.asset.php is excluded by !build/**
  • build/admin-settings.js is excluded by !build/**
  • build/content-helper/dashboard-page.asset.php is excluded by !build/**
  • build/content-helper/dashboard-page.js is excluded by !build/**
📒 Files selected for processing (14)
  • src/UI/class-dashboard-page.php (1 hunks)
  • src/UI/class-row-actions.php (2 hunks)
  • src/UI/class-settings-page.php (1 hunks)
  • src/content-helper/dashboard-page/components/posts-table/components/single-post-row.tsx (1 hunks)
  • src/content-helper/dashboard-page/components/posts-table/components/suggestion-bubble.tsx (1 hunks)
  • src/content-helper/dashboard-page/dashboard-page.tsx (1 hunks)
  • src/content-helper/dashboard-page/pages/dashboard/header-component.tsx (1 hunks)
  • src/content-helper/dashboard-page/pages/traffic-boost/page-component.tsx (1 hunks)
  • src/content-helper/dashboard-page/pages/traffic-boost/sidebar/components/links-list/single-link.tsx (1 hunks)
  • src/content-helper/dashboard-page/pages/traffic-boost/sidebar/components/post-details.tsx (1 hunks)
  • src/content-helper/dashboard-page/pages/traffic-boost/sidebar/components/tabs-content.tsx (2 hunks)
  • src/content-helper/dashboard-page/pages/traffic-boost/sidebar/sidebar.tsx (1 hunks)
  • src/content-helper/dashboard-page/pages/traffic-boost/single-post-component.tsx (1 hunks)
  • src/js/admin-settings.ts (1 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
`**/*.{js,ts,tsx,jsx}`: "Perform a detailed review of the provided code with following key aspects in mind: - Review the code to ensure it is well-structured and adheres to best ...

**/*.{js,ts,tsx,jsx}: "Perform a detailed review of the provided code with following key aspects in mind:

  • Review the code to ensure it is well-structured and adheres to best practices.
  • Verify compliance with WordPress coding standards.
  • Ensure the code is well-documented.
  • Check for security vulnerabilities and confirm the code is secure.
  • Optimize the code for performance, removing any unnecessary elements.
  • Validate JSDoc comments for accuracy, currency, and adherence to WordPress coding standards.
  • Ensure each line comment concludes with a period.
  • Confirm every JSDoc comment includes a @SInCE tag indicating the next version of the plugin to include the code.
  • Guarantee compatibility with the latest version of WordPress, avoiding deprecated functions or features."
  • src/content-helper/dashboard-page/pages/traffic-boost/sidebar/components/links-list/single-link.tsx
  • src/js/admin-settings.ts
  • src/content-helper/dashboard-page/pages/dashboard/header-component.tsx
  • src/content-helper/dashboard-page/components/posts-table/components/single-post-row.tsx
  • src/content-helper/dashboard-page/components/posts-table/components/suggestion-bubble.tsx
  • src/content-helper/dashboard-page/pages/traffic-boost/page-component.tsx
  • src/content-helper/dashboard-page/pages/traffic-boost/sidebar/sidebar.tsx
  • src/content-helper/dashboard-page/pages/traffic-boost/sidebar/components/post-details.tsx
  • src/content-helper/dashboard-page/dashboard-page.tsx
  • src/content-helper/dashboard-page/pages/traffic-boost/single-post-component.tsx
  • src/content-helper/dashboard-page/pages/traffic-boost/sidebar/components/tabs-content.tsx
`**/*.{html,php}`: "Perform a detailed review of the provided code with following key aspects in mind: - Review the HTML and PHP code to ensure it is well-structured and adheres ...

**/*.{html,php}: "Perform a detailed review of the provided code with following key aspects in mind:

  • Review the HTML and PHP code to ensure it is well-structured and adheres to best practices.
  • Ensure the code follows WordPress coding standards and is well-documented.
  • Confirm the code is secure and free from vulnerabilities.
  • Optimize the code for performance, removing any unnecessary elements.
  • Validate comments for accuracy, currency, and adherence to WordPress coding standards.
  • Ensure each line comment concludes with a period.
  • Verify code compatibility with the latest version of WordPress, avoiding deprecated functions or features."
  • src/UI/class-dashboard-page.php
  • src/UI/class-settings-page.php
  • src/UI/class-row-actions.php
⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: E2E against WordPress latest
  • GitHub Check: build
🔇 Additional comments (16)
src/content-helper/dashboard-page/pages/traffic-boost/page-component.tsx (1)

32-32: Brand label update looks good
Public-facing copy correctly reflects the new feature name. No further changes required in this component.

src/UI/class-dashboard-page.php (1)

186-188: Sub-menu text updated correctly
Labels and page titles align with the rebrand; no functional impact.

src/content-helper/dashboard-page/pages/traffic-boost/sidebar/components/links-list/single-link.tsx (1)

79-80: Accessible label updated correctly
String is localised and keeps the existing translator comment structure.

src/UI/class-settings-page.php (1)

518-523: Settings legend text updated correctly
Translation domain retained, no logic affected.

src/content-helper/dashboard-page/pages/traffic-boost/sidebar/sidebar.tsx (1)

116-116: LGTM! Navigation path correctly updated to match feature renaming.

The navigation path change from /traffic-boost to /engagement-boost is consistent with the feature renaming objective.

src/content-helper/dashboard-page/components/posts-table/components/single-post-row.tsx (2)

167-167: LGTM! Route path correctly updated.

The pathname change from /traffic-boost/${post.id} to /engagement-boost/${post.id} is consistent with the feature renaming.


173-173: LGTM! Link text properly updated with correct internationalization.

The link text change from "Boost Traffic" to "Boost Engagement" maintains proper WordPress i18n usage and aligns with the feature renaming objective.

src/content-helper/dashboard-page/components/posts-table/components/suggestion-bubble.tsx (1)

40-40: LGTM! Navigation path correctly updated.

The navigation path change from /traffic-boost/${postId} to /engagement-boost/${postId} is consistent with the feature renaming objective.

src/content-helper/dashboard-page/pages/traffic-boost/sidebar/components/post-details.tsx (1)

49-50: LGTM! User-facing text correctly updated to reflect engagement focus.

The text change from "increase your post's traffic" to "increase your post's engagement" properly aligns with the feature renaming objective and maintains correct WordPress i18n usage.

src/content-helper/dashboard-page/pages/traffic-boost/single-post-component.tsx (1)

209-209: LGTM! Redirect path correctly updated.

The navigation path change from /traffic-boost to /engagement-boost maintains the correct redirect behavior when no post is found, consistent with the feature renaming.

src/js/admin-settings.ts (1)

286-286: LGTM! Clean terminology update.

The error message has been correctly updated from "Traffic Boost" to "Engagement Boost" while maintaining proper escaping and internationalization. The change aligns perfectly with the feature renaming objectives.

src/UI/class-row-actions.php (2)

166-166: Correct URL path update.

The admin URL has been properly updated from /traffic-boost/ to /engagement-boost/ to align with the new route structure.


177-177: Proper link text update.

The visible link text has been correctly updated from "Boost Traffic" to "Boost Engagement" while maintaining proper internationalization with esc_html__().

src/content-helper/dashboard-page/pages/traffic-boost/sidebar/components/tabs-content.tsx (2)

84-84: Consistent link text update.

The hyperlink text has been correctly updated from "Traffic Boost" to "Engagement Boost" while maintaining proper internationalization.


97-97: Proper error message update.

The error message has been correctly updated to reference "Engagement Boost" instead of "Traffic Boost" while preserving the sprintf placeholders and internationalization structure.

src/content-helper/dashboard-page/dashboard-page.tsx (1)

50-52: Consistent route structure updates.

All three routing changes correctly update the paths from "traffic-boost" to "engagement-boost":

  • Default redirect properly routes users to the new path
  • Both main route and parameterized route are updated consistently
  • Component references remain unchanged as intended per PR scope

The routing logic maintains its structure while reflecting the new terminology.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
README.md (2)

9-9: Consider adding the new keyword to the plugin “Tags” list

Now that the public-facing feature is called “Engagement Boost”, it may be worth expanding the tag list to include engagement so the plugin is still easily discoverable in searches.


120-121: Screenshot caption updated, underlying asset still generic

The caption now references “Engagement Boost” yet the image filename remains screenshot-3.png. If you plan to capture a refreshed UI screenshot, consider renaming the asset (e.g., screenshot-engagement-boost.png) to make future maintenance clearer.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3e11798 and cbe9cf0.

📒 Files selected for processing (1)
  • README.md (5 hunks)
🧰 Additional context used
🪛 LanguageTool
README.md

[typographical] ~5-~5: Do not use a colon (:) before a series that is introduced by a preposition (‘to’). Remove the colon or add a noun or a noun phrase after the preposition.
Context: ...3.20.1 Requires at least: 6.0 Tested up to: 6.8 Requires PHP: 7.4 License: GPLv2 or...

(RP_COLON)


[uncategorized] ~130-~130: A comma may be missing after the conjunctive/linking adverb ‘Also’.
Context: ...gestions in the Post Editor's settings. Also available in the Parse.ly Editor Sideba...

(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)

🪛 markdownlint-cli2 (0.17.2)
README.md

8-8: Bare URL used
null

(MD034, no-bare-urls)

⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: build
  • GitHub Check: E2E against WordPress latest
🔇 Additional comments (1)
README.md (1)

42-42: Updated label points to an old-slug URL – double-check accuracy

The anchor text says “Engagement Boost”, but the link still targets
https://docs.wpvip.com/parse-ly/wp-parsely-features/traffic-boost/.
If the documentation URL will eventually adopt the new slug (engagement-boost), this link will 404. Otherwise, the mismatch could confuse readers.

Copy link

@maxschmeling maxschmeling left a comment

Choose a reason for hiding this comment

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

Do we need to add redirects from the /traffic-boost URLs or are we ok without that?

@alecgeatches
Copy link
Contributor Author

Do we need to add redirects from the /traffic-boost URLs or are we ok without that?

@maxschmeling Good idea! This will help for any open tabs after the update is pushed, or if anyone has a bookmark set. Pushed 44dfb6e to fix that.

Now /traffic-boost forwards to /engagement-boost and /traffic-boost/:postId will redirect to /engagement-boost/:postId:

Screen.Recording.2025-06-24.at.1.44.42.PM.mov

@alecgeatches alecgeatches merged commit 8e7df6f into develop Jun 24, 2025
38 of 39 checks passed
@alecgeatches alecgeatches deleted the change/traffic-boost-labels-to-engagement-boost branch June 24, 2025 20:01
@alecgeatches alecgeatches added this to the 3.20.2 milestone Jun 24, 2025
@alecgeatches alecgeatches added Feature: Engagement Boost Ticket/PR related to Engagement Boost wp-parsely Required label for all issues labels Jun 24, 2025
github-actions bot added a commit that referenced this pull request Jun 24, 2025
…els-to-engagement-boost Change feature name "Traffic Boost" to "Engagement Boost"" (8e7df6f)
@alecgeatches alecgeatches added the Changelog: Changed PR to be added under the changelog's "Changed" section label Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: Changed PR to be added under the changelog's "Changed" section Feature: Engagement Boost Ticket/PR related to Engagement Boost wp-parsely Required label for all issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants