• Resolved BERJAYAPaul

    (@headwall)


    Hi

    In “includes/_toolbar_ui/ui__settings_panel.php” on line 1621 you’ve got some array elements commented-out of your foreach() statement:

    foreach ( array("all","new","pending","approved"/*,"booking_today"*/ /*,"was_made_today"*/) as $card_name ) {
    ...
    }

    This is a common obfuscation technique used by PHP malware, so your file is causing a false positive (for malware) on our hosting platform.

    Request: Could you please remove the comments from the foreach() statement, either by assigning the array to a variable just before foreach(), or by removing the comment array elements completely?

    Thanks

    Paul

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

    (@wpdevelop)

    Hello Paul.

    Thank you for notification about this issue.

    It will be resolved in next update 10.6.2 of Booking Calendar. We will release it at this week.

    Kind Regards.

    Thread Starter BERJAYAPaul

    (@headwall)

    Thanks for updating the code and confirming. Appreciated. Have a great day.

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

The topic ‘Remove comment in for statement’ is closed to new replies.