/
qa-plugin.php
30 lines (21 loc) · 1.13 KB
/
qa-plugin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/*
Plugin Name: Ajax Comment Form
Plugin URI: https://github.com/NoahY/q2a-comment-ajax
Plugin Description: Ajax comment submission form
Plugin Version: 1.01b
Plugin Date: 2011-08-14
Plugin Author: NoahY
Plugin Author URI:
Plugin License: GPLv2
Plugin Minimum Question2Answer Version: 1.4
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../../');
exit;
}
qa_register_plugin_module('module', 'qa-comment-admin.php', 'qa_ajax_comment_admin', 'Ajax Comment Admin');
qa_register_plugin_layer('qa-comment-layer.php', 'Ajax Comment Layer');
/*
Omit PHP closing tag to help avoid accidental output
*/