WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WordPress Mobile Pack] Situation with admin-ajax.php

[Plugin: WordPress Mobile Pack] Situation with admin-ajax.php

  • sebaxtian
    Member

    @sebaxtian

    Because of how wpmp_switcher.php treats an admin page, it overwrites any call to admin-ajax.php.

    To solved this situation change line 84 from wpmp_switcher.php with this

    if ( ( is_admin() || strtolower(substr($_SERVER['REQUEST_URI'], -9))=='/wp-admin' ) && ( strpos( $_SERVER['REQUEST_URI'], 'admin-ajax.php' )===false ) ) {

    Hope this will help.

    http://wordpress.org/extend/plugins/wordpress-mobile-pack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thank you so much this really helped me to solve my problem after spending a few hours with this plugin 🙂 Thanks again.

    Is this something that mobile-pack-crew is planning to solve?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WordPress Mobile Pack] Situation with admin-ajax.php’ is closed to new replies.