Support » Plugin: WordPress Tooltips » Notice on 404 page

  • Resolved Mike Castro Demaria

    (@mikecastrodemaria)



    Thanks for your work,

    Can you modify line 124 :

    124 : $curent_post->post_content

    By :

    124 : $curent_content = ( !empty($curent_post->post_content) )? $curent_post->post_content : '';

    On 404 page it will do notice.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tomas Zhu

    (@zhuyi)

    Hi @mikecastrodemaria

    Thanks for the message 🙂

    Thank you very much to find this bug, I will fix this and release a new version soon 🙂

    Thanks, have a blessings day with your family 🙂

    Best Regards,
    Tomas

    Plugin Author Tomas Zhu

    (@zhuyi)

    Hi @mikecastrodemaria

    I have released a new version to fix the problem 🙂

    I just have a little curious, in general, 404.php will not include the function the_cntent, our plugin hooked the_content, so it means your theme’s 404.php included the_content function, or your 404 plugin included the_content function, not sure, is it possible, tell me the plugin or theme name, so I can do a check how that amazing author can use the_content in 404.php to give users a special experience? 🙂

    Thanks, have a blessings day with your family 🙂

    Best Regards,
    Tomas

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.