Skip to:
Content
Pages
Categories
Search
Top
Bottom

Ajax call for subscriptions and trailing slash


  • Kasi Salyer
    Participant

    @kasi-salyer

    Hi, I tried again to post this bug on track, but I got a “you have not ticket privileges”, so I’ll try to report it here since it can be a very general issue.

    My blog is set with a permalink structure like %category%/%postname% WITHOUT a trailing slash. But on bbpress file ajax.php on function bbp_get_ajax_url() the url is generated with a trailingslashit( $wp->request ).

    WordPress sends back a redirect whene there is a trailing slash and the subscription fails with an alert “undefined”. Removing the trailingslashit(…) everything works fine.

    There is a specific reason for that use of trailingslashit()?

    Thank you, Kasi.

  • You must be logged in to reply to this topic.
Skip to toolbar