Skip to content

Commit 34beea4

Browse files
committed
Cleanup
1 parent d667357 commit 34beea4

15 files changed

Lines changed: 102 additions & 202 deletions

admin/class-crowdhandler-admin.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* The admin-specific functionality of the plugin.
55
*
66
* @link https://www.crowdhandler.com/
7-
* @since 1.0.0
7+
* @since 0.1.0
88
*
99
* @package Crowdhandler
1010
* @subpackage Crowdhandler/admin
@@ -26,7 +26,7 @@ class Crowdhandler_Admin
2626
/**
2727
* The ID of this plugin.
2828
*
29-
* @since 1.0.0
29+
* @since 0.1.0
3030
* @access private
3131
* @var string $plugin_name The ID of this plugin.
3232
*/
@@ -35,7 +35,7 @@ class Crowdhandler_Admin
3535
/**
3636
* The version of this plugin.
3737
*
38-
* @since 1.0.0
38+
* @since 0.1.0
3939
* @access private
4040
* @var string $version The current version of this plugin.
4141
*/
@@ -47,7 +47,7 @@ class Crowdhandler_Admin
4747
* @param string $plugin_name The name of this plugin.
4848
* @param string $version The version of this plugin.
4949
*
50-
* @since 1.0.0
50+
* @since 0.1.0
5151
*/
5252
public function __construct($plugin_name, $version)
5353
{
@@ -58,7 +58,7 @@ public function __construct($plugin_name, $version)
5858
/**
5959
* Register the stylesheets for the admin area.
6060
*
61-
* @since 1.0.0
61+
* @since 0.1.0
6262
*/
6363
public function enqueue_styles()
6464
{
@@ -86,7 +86,7 @@ public function enqueue_styles()
8686
/**
8787
* Register the JavaScript for the admin area.
8888
*
89-
* @since 1.0.0
89+
* @since 0.1.0
9090
*/
9191
public function enqueue_scripts()
9292
{

admin/partials/crowdhandler-admin-display.php

Lines changed: 0 additions & 17 deletions
This file was deleted.

consts.php

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,5 @@
11
<?php
22

3-
/**
4-
* The plugin bootstrap file
5-
*
6-
* This file is read by WordPress to generate the plugin information in the plugin
7-
* admin area. This file also includes all of the dependencies used by the plugin,
8-
* registers the activation and deactivation functions, and defines a function
9-
* that starts the plugin.
10-
*
11-
* @link https://www.crowdhandler.com/
12-
* @since 1.0.0
13-
* @package Crowdhandler
14-
*
15-
* @wordpress-plugin
16-
* Plugin Name: CrowdHandler™ Virtual Waiting Room - Protect your Website
17-
* Plugin URI: https://www.crowdhandler.com/
18-
* Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area.
19-
* Version: 1.0.0
20-
* Author: CROWDHANDLER LTD
21-
* Author URI: https://www.crowdhandler.com/
22-
* License: GPL-2.0+
23-
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
24-
* Text Domain: crowdhandler
25-
* Domain Path: /languages
26-
*/
27-
283
// If this file is called directly, abort.
294
if (!defined('WPINC')) {
305
die;

crowdhandler.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
* that starts the plugin.
1010
*
1111
* @link https://www.crowdhandler.com/
12-
* @since 1.0.0
12+
* @since 0.1.0
1313
* @package Crowdhandler
1414
*
1515
* @wordpress-plugin
1616
* Plugin Name: CrowdHandler™ Virtual Waiting Room - Protect your Website
1717
* Plugin URI: https://www.crowdhandler.com/
1818
* Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area.
19-
* Version: 1.0.0
19+
* Version: 0.1.0
2020
* Author: CROWDHANDLER LTD
2121
* Author URI: https://www.crowdhandler.com/
2222
* License: GPL-2.0+
@@ -36,10 +36,10 @@
3636

3737
/**
3838
* Currently plugin version.
39-
* Start at version 1.0.0 and use SemVer - https://semver.org
39+
* Start at version 0.1.0 and use SemVer - https://semver.org
4040
* Rename this for your plugin and update it as you release new versions.
4141
*/
42-
define('CROWDHANDLER_VERSION', '1.0.0');
42+
define('CROWDHANDLER_VERSION', '0.1.0');
4343

4444
/**
4545
* The code that runs during plugin activation.
@@ -75,7 +75,7 @@ function deactivate_crowdhandler()
7575
* then kicking off the plugin from this point in the file does
7676
* not affect the page life cycle.
7777
*
78-
* @since 1.0.0
78+
* @since 0.1.0
7979
*/
8080
function run_crowdhandler()
8181
{

includes/class-crowdhandler-activator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Fired during plugin activation
55
*
66
* @link https://www.crowdhandler.com/
7-
* @since 1.0.0
7+
* @since 0.1.0
88
*
99
* @package Crowdhandler
1010
* @subpackage Crowdhandler/includes
@@ -15,7 +15,7 @@
1515
*
1616
* This class defines all code necessary to run during the plugin's activation.
1717
*
18-
* @since 1.0.0
18+
* @since 0.1.0
1919
* @package Crowdhandler
2020
* @subpackage Crowdhandler/includes
2121
* @author CROWDHANDLER LTD <hello@crowdhandler.com>
@@ -28,7 +28,7 @@ class Crowdhandler_Activator
2828
*
2929
* Long Description.
3030
*
31-
* @since 1.0.0
31+
* @since 0.1.0
3232
*/
3333
public static function activate()
3434
{

includes/class-crowdhandler-deactivator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Fired during plugin deactivation
55
*
66
* @link https://www.crowdhandler.com/
7-
* @since 1.0.0
7+
* @since 0.1.0
88
*
99
* @package Crowdhandler
1010
* @subpackage Crowdhandler/includes
@@ -15,7 +15,7 @@
1515
*
1616
* This class defines all code necessary to run during the plugin's deactivation.
1717
*
18-
* @since 1.0.0
18+
* @since 0.1.0
1919
* @package Crowdhandler
2020
* @subpackage Crowdhandler/includes
2121
* @author CROWDHANDLER LTD <hello@crowdhandler.com>
@@ -28,7 +28,7 @@ class Crowdhandler_Deactivator
2828
*
2929
* Long Description.
3030
*
31-
* @since 1.0.0
31+
* @since 0.1.0
3232
*/
3333
public static function deactivate()
3434
{

includes/class-crowdhandler-i18n.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* so that it is ready for translation.
88
*
99
* @link https://www.crowdhandler.com/
10-
* @since 1.0.0
10+
* @since 0.1.0
1111
*
1212
* @package Crowdhandler
1313
* @subpackage Crowdhandler/includes
@@ -19,7 +19,7 @@
1919
* Loads and defines the internationalization files for this plugin
2020
* so that it is ready for translation.
2121
*
22-
* @since 1.0.0
22+
* @since 0.1.0
2323
* @package Crowdhandler
2424
* @subpackage Crowdhandler/includes
2525
* @author CROWDHANDLER LTD <hello@crowdhandler.com>
@@ -30,7 +30,7 @@ class Crowdhandler_i18n
3030
/**
3131
* Load the plugin text domain for translation.
3232
*
33-
* @since 1.0.0
33+
* @since 0.1.0
3434
*/
3535
public function load_plugin_textdomain()
3636
{

includes/class-crowdhandler-loader.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Register all actions and filters for the plugin
55
*
66
* @link https://www.crowdhandler.com/
7-
* @since 1.0.0
7+
* @since 0.1.0
88
*
99
* @package Crowdhandler
1010
* @subpackage Crowdhandler/includes
@@ -27,7 +27,7 @@ class Crowdhandler_Loader
2727
/**
2828
* The array of actions registered with WordPress.
2929
*
30-
* @since 1.0.0
30+
* @since 0.1.0
3131
* @access protected
3232
* @var array $actions The actions registered with WordPress to fire when the plugin loads.
3333
*/
@@ -36,7 +36,7 @@ class Crowdhandler_Loader
3636
/**
3737
* The array of filters registered with WordPress.
3838
*
39-
* @since 1.0.0
39+
* @since 0.1.0
4040
* @access protected
4141
* @var array $filters The filters registered with WordPress to fire when the plugin loads.
4242
*/
@@ -45,7 +45,7 @@ class Crowdhandler_Loader
4545
/**
4646
* Initialize the collections used to maintain the actions and filters.
4747
*
48-
* @since 1.0.0
48+
* @since 0.1.0
4949
*/
5050
public function __construct()
5151
{
@@ -62,7 +62,7 @@ public function __construct()
6262
* @param int $priority Optional. The priority at which the function should be fired. Default is 10.
6363
* @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1.
6464
*
65-
* @since 1.0.0
65+
* @since 0.1.0
6666
*/
6767
public function add_action($hook, $component, $callback, $priority = 10, $accepted_args = 1)
6868
{
@@ -81,7 +81,7 @@ public function add_action($hook, $component, $callback, $priority = 10, $accept
8181
* @param int $accepted_args The number of arguments that should be passed to the $callback.
8282
*
8383
* @return array The collection of actions and filters registered with WordPress.
84-
* @since 1.0.0
84+
* @since 0.1.0
8585
* @access private
8686
*/
8787
private function add($hooks, $hook, $component, $callback, $priority, $accepted_args)
@@ -106,7 +106,7 @@ private function add($hooks, $hook, $component, $callback, $priority, $accepted_
106106
* @param int $priority Optional. The priority at which the function should be fired. Default is 10.
107107
* @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1
108108
*
109-
* @since 1.0.0
109+
* @since 0.1.0
110110
*/
111111
public function add_filter($hook, $component, $callback, $priority = 10, $accepted_args = 1)
112112
{
@@ -116,7 +116,7 @@ public function add_filter($hook, $component, $callback, $priority = 10, $accept
116116
/**
117117
* Register the filters and actions with WordPress.
118118
*
119-
* @since 1.0.0
119+
* @since 0.1.0
120120
*/
121121
public function run()
122122
{

0 commit comments

Comments
 (0)