Skip to content

Commit

Permalink
Merge pull request #1814 from publishpress/hotfix-1813-notifications-…
Browse files Browse the repository at this point in the history
…log-missing-html-title

Notifications Log: Missing html title
  • Loading branch information
olatechpro authored Jan 16, 2025
2 parents f95d5e8 + 09572cd commit 3accd40
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/notifications-log/library/NotificationsLogTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
use PublishPress\Notifications\Traits\Dependency_Injector;
use WP_List_Table;

global $title;

if (!isset($title)) {
$title = '';
}

if (! class_exists('WP_List_Table')) {
require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table.php');
}
Expand Down

0 comments on commit 3accd40

Please sign in to comment.