style.css not loading on front end editing (6 posts)

  1. imath
    Posted 4 years ago #

    thank you for this interesting plugin. I've been playing with it a little. I've noticed that the style.css wasn't loading on front end editing. So i dived into the source code.

    In /wp-content/plugins/wordpress-wiki-plugin/wiki.php, function output_css on line 1342, i think you should have :
    echo '<link rel="stylesheet" href="' . plugins_url('wordpress-wiki-plugin/css/style.css') . '" type="text/css" />';

    instead of :
    echo '<link rel="stylesheet" href="' . plugins_url('wiki/css/style.css') . '" type="text/css" />';

    because the plugin folder is not named 'wiki' but 'wordpress-wiki-plugin'.

    Bye ;)


  2. zanzaboonda
    Posted 4 years ago #

    Thank you, thank you, thank you imath! You just saved me a world of stress.

    Hopefully they fix this for everyone else! :)

  3. imath
    Posted 4 years ago #

    you're welcome zanzaboonda ;)

  4. hcleary
    Posted 4 years ago #

    The "wiki" folder is also referenced on line 1271 of wiki.php

    wp_register_script('incsub_wiki_js', plugins_url('wiki/js/wiki-utils.js'), null, $this->current_version);

  5. hcleary
    Posted 4 years ago #

    ... and I just checked the README file and the instructions page on WPMUDEV page. Both reference a /plugins/wiki/ folder. I'm guessing that they changed the named of the folder in the download to differentiate between the lite and premium versions.

    It might be easier to just change the folder name from wordpress-wiki-plugin to wiki.

  6. WPMU DEV - Your WordPress Team
    WPMU DEV Support Staff
    Plugin Author

    Posted 4 years ago #

    We will be getting the folder name issues fixed in the next release with few more changes.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Wiki
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic