• hi,

    Thanks for the cool plugin. I was able to use it on my site with a change:

    The way the URL is obtained will not work for long URL’s because of the … that WP inserts to truncate long URL’s as they are displayed next to ‘Permalink:’. This is the code I used instead:

    // Some basic settings
    var settings = {
    	url: document.getElementById('sample-permalink').firstChild.href,
    	textNormal: 'Rescrape Open Graph data',
    	textSuccess: 'Success!',
    	textFailed: 'Failed!'
    	};
    • This topic was modified 8 years, 1 month ago by danieslv.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter danieslv

    (@danieslv)

    Also, another possibly more serious bug — I had to disable the plugin because I noticed that when it was active, some site functions in Admin were broken (the button to clear Autoptimize cache, the button for Getty images insert (another plugin), etc. Possibly because of the naming of variables or the main jQuery function?

    Plugin Author urre

    (@urre)

    Hi!

    Thank you for this! Correct, it’s the actual a href that should be used.

    Fixed now in 0.2.2. Should be out in about 10 mins!

    Plugin Author urre

    (@urre)

    Your second issue should also be resolved!

    Thread Starter danieslv

    (@danieslv)

    Thank you so much for the fixes, it’s a fantastic plugin so I’m glad other people will be able to benefit from it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cool Plugin – Note to Author about bug’ is closed to new replies.