Skip to content

Commit 6422c6a

Browse files
committed
tweaks
1 parent ce2055b commit 6422c6a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

assets/js/notice-dismissal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
function init() {
55
$(document).on(
66
"click",
7-
".udb-notice.is-permanent-dismissable .notice-dismiss",
7+
".udb-notice.is-permanent-dismissible .notice-dismiss",
88
ajax.saveDismissal
99
);
1010
}

class-setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public function review_notice() {
284284
$notice .= '<br/>';
285285
$notice .= "<a href=\"$review_url\" style=\"margin-top: 15px;\" target='_blank' class=\"button-primary\">$btn_text</a>";
286286

287-
echo '<div class="notice udb-notice review-notice notice-success is-dismissible is-permanent-dismissable" data-ajax-action="udb_dismiss_review_notice">';
287+
echo '<div class="notice udb-notice review-notice notice-success is-dismissible is-permanent-dismissible" data-ajax-action="udb_dismiss_review_notice">';
288288
echo '<p>' . $notice . '</p>';
289289
echo '</div>';
290290

modules/admin-page/class-admin-page-module.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ public function remove_metaboxes() {
174174

175175
/**
176176
* Force default template for admin page.
177+
* This could live in the PRO add-on as frontend-editing is only available via page builders.
178+
* Though, moving it is not worth the effort and this might come in handy at some point.
177179
*
178180
* @param string $template_path The template path.
179181
* @return string The template path.

0 commit comments

Comments
 (0)