• A post on my blog has a poll, created with WP-Polls. When voting, the login page appears.
    Here are the headers:

    https://m.abajarcolesterol.com/wp-admin/admin-ajax.php
    
    POST /wp-admin/admin-ajax.php HTTP/1.1
    Host: m.abajarcolesterol.com
    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
    X-Requested-With: XMLHttpRequest
    Referer: https://m.abajarcolesterol.com/que-es-el-colesterol-vldl/
    
    HTTP/1.1 302 Moved Temporarily
    Location: https://m.abajarcolesterol.com/wp-login.php?redirect_to=http%3A%2F%2Fm.abajarcolesterol.com%2Fwp-admin%2F

    What can I do to fix the problem ?

    https://www.ads-software.com/extend/plugins/wordpress-mobile-pack/

Viewing 1 replies (of 1 total)
  • Thread Starter xotihcan

    (@xotihcan)

    Fixed it.
    On plugins/wpmp_switcher.php.
    Before:
    if (is_admin() || strtolower(substr($_SERVER['REQUEST_URI'], -9))=='/wp-admin') {
    After:
    if ((is_admin() || strtolower(substr($_SERVER['REQUEST_URI'], -9))=='/wp-admin') && empty($_REQUEST['action'])) {

Viewing 1 replies (of 1 total)
  • The topic ‘WP-Polls incompatibility’ is closed to new replies.