Forums

stella plugin
! WP_CONTENT_URL ! (3 posts)

  1. Nicolaus.Sommer
    Member
    Posted 4 months 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 4 months 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 4 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic