Problem statement
Some notifications in WordPress appear to be coming through without any visible text. This is on our -Dev environment, running WordPress 7.
Here is the HTML generated on the notification page when an "invisible" notification appears:
<tr>
<td></td>
<td><input id="1250841" type="checkbox" name="notifications[]" value="1250841" class="notification-check"></td>
<td><a href="https://larissagroup.hcommons-dev.org"></a></td>
<td>1 week, 2 days ago</td>
<td><a href="https://hcommons-dev.org/members/bonnie/notifications/read/?action=unread&notification_id=1250841&_wpnonce=1c2ed453f8" class="mark-unread primary bp-tooltip">Unread</a> | <a href="https://hcommons-dev.org/members/bonnie/notifications/read/?action=delete&notification_id=1250841&_wpnonce=467b69d709" class="delete secondary confirm bp-tooltip">Delete</a></td>
</tr>
Note the "larissagroup.hcommons-dev.org" href attribute. This is a site on our multi-network, multi-site WordPress install. It looks like some notification the site is generating is not providing the expected title text. This, in turn, makes the notification unusable.
What we need to do
- Investigate where this null/empty title might be coming from
- If we cannot find this, then we need to work out a way to handle empty notifications with the information we have
Original report from @bjr70
This was working as of a few days ago, but does not seem to be working now. In order to read a notification you need to be able to see the title and click on it. The text is missing.
Problem statement
Some notifications in WordPress appear to be coming through without any visible text. This is on our -Dev environment, running WordPress 7.
Here is the HTML generated on the notification page when an "invisible" notification appears:
Note the "larissagroup.hcommons-dev.org" href attribute. This is a site on our multi-network, multi-site WordPress install. It looks like some notification the site is generating is not providing the expected title text. This, in turn, makes the notification unusable.
What we need to do
Original report from @bjr70
This was working as of a few days ago, but does not seem to be working now. In order to read a notification you need to be able to see the title and click on it. The text is missing.