WordPress.org

Forums

Tabbed Widgets
Don't load wp-load.php manually (patch included) (1 post)

  1. scribu
    Member
    Posted 4 years ago #

    In general, it's a bad idea to require wp-load.php manually from a plugin.

    Instead you should simply check for a $_GET variable and exit when done.

    Here's the patch: http://gist.github.com/582573

    I wrote it because the plugin didn't work when wp-content was moved to a different location.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Tabbed Widgets
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic