WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WP Jump Menu] Issue with path to wp-config.php

[Resolved] [Plugin: WP Jump Menu] Issue with path to wp-config.php

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author James Krill
    Participant

    @jkrill

    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

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: WP Jump Menu] Issue with path to wp-config.php’ is closed to new replies.