Support » Plugin: Voter Plugin » trouble with ajax loaded activity

  • 1. Don’t show voter buttons in ajax loaded (“load more”). The source of the problem is is_admin() in begining of the function aheadzen_get_voting_link. Need to check DOING_AJAX.

    2. If shown, votes don’t work (return 0) in ajax loaded activites. The source of the problem is function aheadzen_get_current_page_url(). It returns /wp-admin/admin-ajax.php as current page instead of real current page. I don’t know how to correctly fix it. I make return '';. It’s bad but works.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘trouble with ajax loaded activity’ is closed to new replies.