wp-github-activity
wp-github-activity copied to clipboard
Incomplete github URLs
After activating the plugin, the github feed URL's are not fully qualified and are leading back to the hosting site.
Example: the main feed URL is listed as /<username>
instead of https://github.com/<username>
(see here for a live example), this seems to be true for all URL's created by this plugin.
Looking at the code around line 130 it looks like a java script is intended to update the URL's by adding https://github.com/
to the beginning, but this script does not seem to be updating the URL as intended.
Probably needs to enqueue jQuery if it hasn't been. Want to submit a patch?
The changes made in Pull Request #2 resolves this issue for me.
Can we enqueue the script in cf_github_activity()
(would be output in the footer) and still have it work? That way we don't enqueue jQuery on pages that don't need it.
Sure, ill look into it.
Have A look at Pull Request #2, I think it updated from my last change.