WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Mobile Pack
Situation with admin-ajax.php (3 posts)

  1. sebaxtian
    Member
    Posted 1 year ago #

    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/

  2. Linuxer
    Member
    Posted 1 year ago #

    Thank you so much this really helped me to solve my problem after spending a few hours with this plugin :) Thanks again.

  3. Zahak
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.