Forums

T(-) Countdown
[resolved] Path is hardcoded to wp-content (7 posts)

  1. RonDsy
    Member
    Posted 9 months ago #

    Unfortunately this plugin is hardcoded for the WP default folder: wp-content. To help insure security, many are renaming that folder. As a result, the skins are not available. I hope there will be an update to resolve this.

    http://wordpress.org/extend/plugins/jquery-t-countdown-widget/

  2. Baden
    Member
    Plugin Author

    Posted 9 months ago #

    Hello,
    You, sir, are incorrect. The plugin, in fact, asking WP where the plugin directory is located:

    get_bloginfo('wpurl') ).PLUGINDIR.'/'. dirname( plugin_basename(__FILE__)

    But if this is not working for you, we'd love to learn more. Could you provide additional info on this security practice of renaming the wp-content folder that many are using? Is this officially supported by WordPress? Links please.

  3. RonDsy
    Member
    Posted 9 months ago #

    Hi Baden,

    As stated above, " As a result, the skins are not available." It is the skin folder which can not be found if the wp-content folder is renamed.

  4. Baden
    Member
    Plugin Author

    Posted 9 months ago #

    Hi Ron,

    Well, not sure what to tell you. If WordPress does not know where the PLUGINDIR is... then there must be more issues than this plugin not finding the stylesheets.
    Have you told WordPress that your renamed the wp-content folder?

    define ('WP_CONTENT_DIR','/full/path/to/your/content/dir');
    define ('WP_CONTENT_URL','http://example.com/full/path/to/your/content/dirs/url');

    http://wordpress.org/support/topic/renaming-moving-wp-content

    It seems you also might need to:

    define('WP_PLUGIN_DIR', 'new/path/to/plugins');
    define('WP_PLUGIN_URL', '/url/to/plugins');

    http://sumtips.com/2011/01/move-rename-wordpress-wp-content.html

    Again, a Link Explaining what you did would be very useful.

    Update: It seems there is a ticket open on this: http://core.trac.wordpress.org/ticket/7704

    Will update plugin to use WP_PLUGIN_DIR and see if that fixes it for you.

  5. Baden
    Member
    Plugin Author

    Posted 9 months ago #

    Plugin has been updated to v2.2.3, please update and see if that fixes your wagon.

  6. RonDsy
    Member
    Posted 9 months ago #

    Nice, that update did the trick. Thank you so much for the time you spend on improving this great plugin.

    T(-) Countdown will be added to the Talking Manuals product reviews for WordPress.

    Kind regards,

    Ron

  7. RonDsy
    Member
    Posted 9 months ago #

    That ticket was created 4 years ago. :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.