diff --git a/.changelogs/fix_paginate-links-warning.yml b/.changelogs/fix_paginate-links-warning.yml new file mode 100644 index 0000000000..e2c752b950 --- /dev/null +++ b/.changelogs/fix_paginate-links-warning.yml @@ -0,0 +1,3 @@ +significance: patch +type: fixed +entry: Fixed warnings from running `wp_kses_post()` on empty `paginate_links()` calls. diff --git a/includes/shortcodes/class.llms.shortcodes.php b/includes/shortcodes/class.llms.shortcodes.php index 7ee2a3ef71..be87d1f552 100644 --- a/includes/shortcodes/class.llms.shortcodes.php +++ b/includes/shortcodes/class.llms.shortcodes.php @@ -368,20 +368,21 @@ public static function memberships( $atts ) { do_action( 'lifterlms_after_loop' ); echo ''; else : diff --git a/templates/myaccount/my-notifications.php b/templates/myaccount/my-notifications.php index e646664ce6..49acab0270 100644 --- a/templates/myaccount/my-notifications.php +++ b/templates/myaccount/my-notifications.php @@ -28,7 +28,7 @@