Skip to content

Commit

Permalink
Merge pull request #436 from aristath/fix/admin_notices-namespace
Browse files Browse the repository at this point in the history
`\EDAC\Admin_Notices` changed to `\EDAC\Admin\Admin_Notices`
  • Loading branch information
SteveJonesDev authored Dec 20, 2023
2 parents 9e9432f + 02f5419 commit 3dc6c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/class-ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function summary() {

// password check.
if ( boolval( get_option( 'edac_password_protected' ) ) === true ) {
$admin_notices = new \EDAC\Admin_Notices();
$admin_notices = new \EDAC\Admin\Admin_Notices();
$notice_text = $admin_notices->edac_password_protected_notice_text();
$html['password_protected'] = $notice_text;
$html['content'] .= '<div class="edac-summary-notice">' . $notice_text . '</div>';
Expand Down

0 comments on commit 3dc6c50

Please sign in to comment.