Skip to content

Notification text and link missing on hcommons-dev.org #91

Description

@bjr70

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&amp;notification_id=1250841&amp;_wpnonce=1c2ed453f8" class="mark-unread primary bp-tooltip">Unread</a> | <a href="https://hcommons-dev.org/members/bonnie/notifications/read/?action=delete&amp;notification_id=1250841&amp;_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

  1. Investigate where this null/empty title might be coming from
  2. 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

Image Image

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions