Commit bece4371 authored by blueblack's avatar blueblack

Added few comments

parent 8c73cf73
Pipeline #17319 canceled with stages
...@@ -8,8 +8,10 @@ ...@@ -8,8 +8,10 @@
* License: GPL2 * License: GPL2
*/ */
/* Plugin directory */
$ss_dir = dirname( __FILE__ ); $ss_dir = dirname( __FILE__ );
/* Include all necessary classes */
require( "$ss_dir/includes/utilities.php" ); require( "$ss_dir/includes/utilities.php" );
require( "$ss_dir/includes/data.php" ); require( "$ss_dir/includes/data.php" );
require( "$ss_dir/includes/frontend.php" ); require( "$ss_dir/includes/frontend.php" );
...@@ -19,4 +21,4 @@ require( "$ss_dir/includes/widget.php" ); ...@@ -19,4 +21,4 @@ require( "$ss_dir/includes/widget.php" );
function register_server_status_widget() { function register_server_status_widget() {
register_widget( 'Widget' ); register_widget( 'Widget' );
} }
add_action( 'widgets_init', 'register_server_status_widget' ); add_action( 'widgets_init', 'register_server_status_widget' );
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment