Support » Plugin: Link Library » [Plugin: Link Library] Doesn't support wp_plugin_url

  • I have wp_content_url set to help speed up load times by moving static content off to

    It seems wp_plugin_url is normally based off wp_content_url, but you can set to to be something normal, like It seems link library doesn’t support having wp_plugin_url set. The main symptom of this is the icon for the settings page doesn’t load, it just shows as a question mark, and the url points to…

    Any chance we can get this fixed? =)


Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Yannick Lefebvre


    I will only be able to look at this in two weeks or so as I am currently on a 10-day business trip.

    That’s just fine, thanks!!

    Plugin Author Yannick Lefebvre


    I looked at the code and I use both WP_CONTENT_URL and WP_PLUGIN_URL in my code, both of which are constants that are supposed to be available in WordPress.

    Now, are you redirecting both or only one of the two? What are you storing on Is it the entire site?

    Okay, I responded to this a couple days ago, but it didn’t post. Weird.

    Anyway, WP_CONTENT_URL points to, and WP_PLUGIN_URL points to is just for static content (images, css, js, etc)… but WP_PLUGIN_URL has to be set so things like wordpress-seo work.

    The only thing that seems broken with link library is the icon on the admin page is a “?” since it’s trying to connect over HTTPS to, when the SSL cert is for

    That said, I was able to work around that just now by changing line 539 in link-library.php to:

    $pagehooktop = add_menu_page(__('Link Library General Options', 'link-library'), "Link Library", 'manage_options', LINK_LIBRARY_ADMIN_PAGE_NAME, array($this, 'on_show_page'), WP_PLUGIN_URL . '/link-library/icons/folder-beige-internet-icon.png');

    It’s ugly, but it allows that icon to load. Not sure what else might be broken, but the only thing obvious is the admin menu icon.

    Plugin Author Yannick Lefebvre


    Upgrade to version 4.6.7, which will be available soon, and it should resolve the path issues that you were seeing.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Link Library] Doesn't support wp_plugin_url’ is closed to new replies.