WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mrcfisher
    Member
    Posted 7 months 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.

    Thx
    Martin

    http://wordpress.org/plugins/user-submitted-posts/

  2. Jeff Starr
    Member
    Plugin Author

    Posted 7 months 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
    Member
    Posted 7 months 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
    Member
    Plugin Author

    Posted 5 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.