Ticket #5860: test.php

File test.php, 415 bytes (added by jhodgdon, 10 months ago)

Test plugin that causes this error to occur

Line 
1 <?php
2 /*
3 Plugin Name: Test Init
4 Plugin URI:
5 Description: Bug verification
6 Version: 1.0
7 Author: Jennifer Hodgdon, Poplar ProductivityWare
8 Author URI: http://poplarware.com
9 */
10
11 $bugtestFileName = plugin_basename(__FILE__);
12
13 add_action('activate_' . $bugtestFileName, 'bugtest_test_activate');
14
15 function bugtest_test_activate() {
16      require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
17 }
18
19 ?>
20