Hello @murgroland
Thanks for reaching out to us!
I can understand that you are having some issues when the WP Ultimate Review plugin is activated. Since the functionalities of this plugin are working properly in my development environment, Is it possible for you to share the steps to reproduce the issue? So that I can check accordingly and let you know an update as soon as possible.
Looking forward to your response and we are always here to assist you.
Best Regards,
Prosenjit
The error is obvious, as you are returning an empty string instead of the original $content variable passed to the filter.
Anywyay, here’s how to reproduce it. Add this code to your theme’s functions.php file:
add_action('admin_menu', function(){
add_menu_page( 'Test', 'Test', 'read', 'wur_test', 'wur_debug_test');
});
function wur_debug_test(){
echo "<h2>Test</h2>";
$content = 'This content should appear on the page.';
echo apply_filters('the_content', $content);
}
It will create a new menu in WP Admin called Test. Try accessing this with and without your plugin active.
Hello There,
Thanks for the clarification. We appreciate your effort so much. We have already fixed this issue in our development branch and this fix will be added in our plugin’s next update. Till then please stay with us.
Regards,
Benjir