WordPress.org

Forums

WP Retina 2x
Breaks in mu-plugins (1 post)

  1. acarabott
    Member
    Posted 1 year ago #

    The images for the GUI return a 404 when the plugin is placed inside the mu-plugins folder.

    This is because the constant WP_PLUGIN_URL is used, which isn't recommended:

    http://codex.wordpress.org/Determining_Plugin_and_Content_Directories#Plugins

    Instead you should use one of the functions that returns the plugins dir

    plugins_url()
    plugin_dir_url()
    plugin_dir_path()
    plugin_basename()

    http://wordpress.org/plugins/wp-retina-2x/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Retina 2x
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags