Stella plugin
! WP_CONTENT_URL ! (3 posts)

  1. Nicolaus.Sommer
    Posted 3 years 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.


  2. Nicolaus.Sommer
    Posted 3 years ago #

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

  3. Ruslan.Khakimov
    Plugin Author

    Posted 3 years 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

  • Stella plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic