Haloperidol / ljxp

Automatically exported from code.google.com/p/ljxp
0 stars 0 forks source link

WP2.5 errors when activating plugin #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install 2.5 with plugins deactivated
2. Go to the GUI and try activating plugin
3. Error:
Plugin could not be activated because it triggered a fatal error.

What is the expected output? What do you see instead?
I would expected the output to say that the plug in was loaded successfully.

What version of the product are you using? On what operating system?
2.5 on Linux:
Linux hpv 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by seat...@gmail.com on 30 Mar 2008 at 6:52

Attachments:

GoogleCodeExporter commented 8 years ago
I am an idiot for not checking other bugs.  The solution is to comment out:

if(version_compare($wp_version, "2.1", "<")) {
      require_once(ABSPATH . '/wp-includes/template-functions-links.php');
}

Original comment by seat...@gmail.com on 30 Mar 2008 at 6:54

GoogleCodeExporter commented 8 years ago

Original comment by freeat...@yandex.ru on 29 Apr 2008 at 7:49