File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 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 }
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments