Support » Fixing WordPress » get_permalink empty in ajax

  • After upgrading WP to 3.0.1, my ajax contact form no longer works.
    I’m successfully using Enhanced WP-ContactForm in a separate page, but when including it in ajax calls, the form action which is set to get_permalink returns an empty string.

    My template ajax PHP loader page basically requires wp-load.php, then it runs get_page and do_shortcode on post_content.

    I used to require wp-blog-header.php, but when shifting from WP 2.9.2 it was throwing out 404 responses so I had to replace it with wp-load.php in order to retrieve the correct URL.

    Any help is welcome, even non-orthodox workaround advices!

  • The topic ‘get_permalink empty in ajax’ is closed to new replies.