PluginProbe
School Management System – WPSchoolPress / trunk
School Management System – WPSchoolPress vtrunk
2.2.48 2.2.47 2.2.46 2.2.45 2.2.44 2.2.43 2.2.42 2.2.41 2.2.40 2.2.39 2.2.38 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 All 103 releases
← All changes | wpschoolpress.php +20 -3 2.2.43trunk View file →
@@ -2,9 +2,9 @@
2 2 /*
3 3 Plugin Name: WPSchoolPress
4 4 Plugin URI: http://wpschoolpress.com
5 5 Description: WPSchoolpress is a school management system plugin that makes school activities transparent to parents. For more information please visit our website.
6 -Version: 2.2.43
6 +Version: 2.2.48
7 7 Author: WPSchoolPress Team
8 8 Author URI: wpschoolpress.com
9 9 Text Domain: wpschoolpress
10 10 Domain Path: languages
@@ -15,9 +15,9 @@
15 15 /**
16 16 * Basic plugin definitions
17 17 *
18 18 * @package WPSchoolPress
19 - * @since 2.2.43
19 + * @since 2.2.48
20 20 */
21 21 if (!defined('WPSP_PLUGIN_URL'))
22 22 {
23 23 define('WPSP_PLUGIN_URL', plugin_dir_url(__FILE__));
@@ -27,9 +27,9 @@
27 27 define('WPSP_PLUGIN_PATH', plugin_dir_path(__FILE__));
28 28 }
29 29 if (!defined('WPSP_PLUGIN_VERSION'))
30 30 {
31 - define('WPSP_PLUGIN_VERSION', '2.2.43'); //Plugin version number
31 + define('WPSP_PLUGIN_VERSION', '2.2.48'); //Plugin version number
32 32 }
33 33 define('WPSP_PERMISSION_MSG', 'You don\'t have enough permission to access this page');
34 34 // Call the required files when plugin activate
35 35 register_activation_hook(__FILE__, 'wpsp_activation');
@@ -242,5 +242,22 @@
242 242 $role->add_cap( 'edit_posts', true );
243 243 }
244 244 }
245 245 add_action( 'init', 'wpsp_std_role', 11 );
246 +
247 +// Appsero deactivation block
248 +if ( ! class_exists( 'Appsero\Client' ) ) {
249 + require_once WPSP_PLUGIN_PATH . 'includes/appsero/src/Client.php';
250 +}
251 +
252 +function wpsp_lms_appsero_init() {
253 + $client = new Appsero\Client(
254 + '174e4f64-1448-49aa-98bd-514dff30fd7b',
255 + 'School Management System – WPSchoolPress',
256 + __FILE__
257 + );
258 +
259 + $client->insights()->init();
260 +}
261 +
262 +wpsp_lms_appsero_init();
246 263 ?>