• Resolved itsmeleo

    (@itsmeleo)


    Hi,
    There is a small issue with your function wfs_render_shortcode_cats in wfs-core-function.php file as you have used is_init and if I pass a comma-separated idz then it always returns false, so I changed it to is_numeric function then it works find, so this is just for you that in your next update kindly change is_init function to is_numeric or if I’m wrong then do let me know how to pass a comma-separated category ids.

    Thank You!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP Scripts

    (@wpscripts)

    Hello,

    Thank you for the detailed explanation and appreciate your efforts to troubleshoot the issue. Indeed, is_int is not working on all conditions. You can keep using is_numeric as you have modified, we will update the same with next release.

    Thanks & Regards,
    Nisarg

    Plugin Author WP Scripts

    (@wpscripts)

    Hello,

    We have updated the code to our master branch. So you can expect this change with next release. Let us know if you have any other concerns.

    Thanks & Regards,
    Team WP Scripts

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem with is_init function when passing comma separated category ids’ is closed to new replies.