Root Relative URLs
[resolved] plugins_url filter (3 posts)

  1. lcyconsulting
    Posted 3 years ago #

    thanks for a great plugin. made it much easier to get my local dev site working after adding a new laptop to my home network.

    I found it necessary to made a minor change to your code - adding the 'plugins_url' filter alongside 'site_url" and others.

    This's because my plugins all use the plugin_url() function.

    While at it, I also added the 'content_url' filter to your list of filters, for those people using get_stylesheet_uri() in their themes.

    After making these changes, your plugin worked perfectly for my site.

    I'm not sure these are genuine omissions or if your plugin has already made provisions for them. I'd appreciate your feedback.


  2. MarcusPope
    Plugin Author

    Posted 2 years ago #

    Glad you like the plugin. As for the hooks, if they were omissions on my part they were unintentional I'm sure. I'll do a quick review to make sure there are not any downstream problems with adding them but I doubt there will be any issues and this will most likely be patched in the next version with credit to you.

    Thanks for the help,

  3. MarcusPope
    Plugin Author

    Posted 2 years ago #

    This is finally done! if only 2-months late :(

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Root Relative URLs
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic