• Resolved David Cole

    (@coleds)


    FYI, in class-wprm-assets.php I had to comment out contents of footer_assets(). The script returns a 503 error from Pinterest and lowers QA scores for certain websites.

    I also noticed that this is injecting the script in the header, not the footer.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brecht

    (@brechtvds)

    I’m not seeing any 503 errors on my end. What was the exact error you got?

    We basically just follow Pinterest’s documentation to load the https://assets.pinterest.com/js/pinit.js script. That loads fine for me when I open it directly too.

    I’m not sure how you’re seeing it in the header either. The footer_assets() function is hooked to the wp_footer action. So the only reason I can see that happening is if your theme is calling wp_footer() in the head instead of at the end of the <body>.

    On a side note, if the Pinterest JS is causing problems for you, you can always change the “Pin Method” on the WP Recipe Maker > Settings > Social Sharing page to “Link only”. In that case the Pinterest JS is not loaded and you don’t need to edit any of the plugin files.

    Thread Starter David Cole

    (@coleds)

    We do have this version and the pro versions installed. The error was originally flagged by Site Improve.

    Plugin Author Brecht

    (@brechtvds)

    I think that might have been a false positive then or a temporary issue on Pinterest’s side. I’m not seeing any issues.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘503 from Pinterest’ is closed to new replies.