WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. tzdk
    Member
    Posted 1 year 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 :)

    http://wordpress.org/extend/plugins/wp-jump-menu/

  2. jkrill
    Member
    Plugin Author

    Posted 1 year 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!

    Jim

  3. tzdk
    Member
    Posted 1 year 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

About this Topic