User Submitted Posts
[resolved] admin-ajax call repeats forever non-admin (4 posts)

  1. mrcfisher
    Posted 1 year ago #

    For 3.7.1 a non-admin trying to "Add Media" results in the ajax-admin call constantly repeating the call to query-attachments with the same parameters. The response seems legit though, firebug shows the same json. The net log just shows an infinite number of calls to admin-ajax.

    If the user is admin the admin-ajax call correctly increments the [paged] parameter each time, in my case returning 3 screens worth.

    I think this was working in 3.6 and it's more likely a WP issue than this plugin but I have to start here.

    Also I have code changes that allow updating of a user-submitted post if you are interested when I get this working again.



  2. Jeff Starr
    Plugin Author

    Posted 1 year ago #

    Hi Martin,

    I added this to the list of things to check for the next update. If any further infos please post. Also would be interested in the updating code if you feel like sharing.

  3. mrcfisher
    Posted 1 year ago #

    Hi Jeff,

    Let me know how to get the changes to you and I'll send them along. martin(dot)fisher(at)solvatech.net. Changes to usp.php and views/submission-form.php plus catching the passed postid.

    Still working on tracking down the js issue but it's looking like it isn't the usp code.

  4. Jeff Starr
    Plugin Author

    Posted 1 year ago #

    Just to follow-up with this, I received the codes and will make use of them as needed for future updates and development. Thank you for your feedback and help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Submitted Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.