WP Jump Menu
[resolved] Issue with path to wp-config.php (3 posts)

  1. tzdk
    Posted 4 years ago #

    Or so I think.

    I have not been able to use this plugin for some time but thought I could just wait and see. Now I want it so checked some more why admin screen freak out when this is activated AND plugin gets auto disabled.

    Check line 274 in wp-jump-menu.php - if wp-config.php is moved outside default folder it is not found and hell breaks loose.

    A frantic Google search linked me to SVN of WP 2.9 wp-load file so what could go wrong? But http://core.svn.wordpress.org/branches/2.9/wp-load.php and I now use

    require_once( dirname(ABSPATH) . '/wp-config.php' );

    instead of

    require_once( ABSPATH . 'wp-config.php' );

    and plugin suddenly works :)


  2. jkrill
    Plugin Author

    Posted 4 years ago #

    Updating right now.

    you're code didn't work - but including wp-load.php instead of wp-config.php might do the trick - try updating and let me know if it works.

    Thanks for your feedback!


  3. tzdk
    Posted 4 years ago #

    Yes it works now, thanks.

    And yes that one line of code ONLY works for my wp-config.php setup - which is placement in folder above wp installation. There are more conditions but now wp-load.php take care of this it is a non-issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Jump Menu
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic