WordPress-Android
WordPress-Android copied to clipboard
YouTube shortcode not rendering correctly in notification mention
Expected behavior
When viewed via the Notifications tab in WPAndroid, a comment that includes a Shortcode block which in-turn contains the YouTube shortcode (e.g. [youtube https://www.youtube.com/watch?v=fX8YLri4wxU]) should be rendered correctly (i.e. the YouTube video should be visible in the comment). Note: this works fine for posts that contain this same content.
Actual behavior
The raw shortcode itself is visible instead of the referenced YouTube video.
| Post notification — works here ✅ | Comment notification — doesn't work here ❌ |
|---|---|
![]() |
![]() |
Steps to reproduce the behavior
- On the web, log into a WordPress site that has Gutenberg enabled in comments (e.g. create a site on http://wp.com/p2)
- Add another WordPress user, granting the Administrator role (other roles may work)
- Still on the same site, create a reply (comment) to a post, @-mentioning the newly added user
- Add an Shortcode block to that same reply (sample content
[youtube https://www.youtube.com/watch?v=fX8YLri4wxU]) - Send the reply
- From the WPAndroid app, log in as the newly added Administrator
- In the Notifications tab, locate the notification for the reply that @-mentioned the user
- Open the comment, and notice the video is not visible — only the raw shortcode is visible
Tested on Samsung S10, Android 10, WPAndroid 15.4.1
This issue has been marked as stale because:
- It has been inactive for the past year.
- It isn't in a project or a milestone.
- It hasn’t been labeled
[Pri] Blocker,[Pri] High, orgood first issue.
Please comment with an update if you believe this issue is still valid or if it can be closed. This issue will also be reviewed for validity and priority during regularly scheduled triage sessions.
I confirmed that this is still an issue both in the notifications and the reader
| Notification detail | Reader |
|---|---|
Thanks for reporting! 👍

