Support » Plugin: Ultimate FAQ » apply_filters(‘the_title’, $faq->post_title) causes WP compatibility issue

  • Hi,
    In the Shortcodes\DisplayFAQs.php file the plugin uses (two times) an apply_filter on the_title, however, it only accepts one argument while the standard WordPress filter hook for the_title accepts two. As a result when I add_filter for the title using two arguments, in PHP 7+ a fatal error appears (and warnings appear in PHP 5.6). Could you please correct this in your code?

    Best regards and thanks,

    Maarten

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘apply_filters(‘the_title’, $faq->post_title) causes WP compatibility issue’ is closed to new replies.