WordPress.org

Ready to get started?Download WordPress

Forums

Stella plugin
! WP_CONTENT_URL ! (3 posts)

  1. Nicolaus.Sommer
    Member
    Posted 1 year ago #

    I believe, many developers using WP_CONTENT_URL (and WP_CONTENT_DIR) to relocate the content path.
    HOWEVER this is causing problems with plug-ins hard coding '/wp-content/' (!!!)

    So far I found in class-url-changer.php
    Line: 172
    Line: 206
    To avoid an extraction every time I need my path name, I have defined WPCONTENT (i.e. 'cms') ...

    Since I'm having problems (stella is changing my template path by inserting the a /en/ when switching to English) ... I'm hunting the bug and hopefully will find it soon because I love your approach of multilingual WP.

    http://wordpress.org/extend/plugins/stella-free/

  2. Nicolaus.Sommer
    Member
    Posted 1 year ago #

    Problem solved
    by changing line 172 and 206 of class-url-changer.php ... no longer hard coded path.

  3. Ruslan.Khakimov
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, yes, good idea to use this constant. I will fix it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic