Support » Plugin: Book a Place » Possible bug in main class plugin_url property

  • WP 4.9.8
    BAP 0.6.4

    Hi,

    I’ve installed BAP on a site that uses https, which seems to break links on the admin-schemes-list.php view. Clicking scheme title, edit or view causes “page not found” error.

    I fixed this by editing the main class file, class-book-a-place.php, row 133. I changed
    $this->page_url = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    to
    $this->page_url = $_SERVER['REQUEST_URI'];

    After the change all the scheme action links work as expected.

    Best regards,
    kantti

  • The topic ‘Possible bug in main class plugin_url property’ is closed to new replies.