mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 11:53:53 +02:00
adding a trailing whitespace to all of our defined files
this helps with cleaner diffs. It's also on one of the PSRs, and it's one of the WPCS rules. (ht @garyjones for the reminder) Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
This commit is contained in:
parent
72690b6771
commit
2cf4ba8223
7 changed files with 9 additions and 9 deletions
|
@ -11,4 +11,4 @@
|
|||
|
||||
class Plugin_Name_Admin {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,4 +33,4 @@ class Plugin_Name_Activator {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,4 +33,4 @@ class Plugin_Name_Deactivator {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
|
||||
class Plugin_Name {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,15 +31,15 @@ if ( ! defined( 'WPINC' ) ) {
|
|||
/**
|
||||
* Includes the plugin activation class that runs during plugin activation.
|
||||
*/
|
||||
require_once( plugin_dir_path( __FILE__ ) . 'includes/class-plugin-name-activator.php' );
|
||||
require_once plugin_dir_path( __FILE__ ) . 'includes/class-plugin-name-activator.php' );
|
||||
|
||||
/**
|
||||
* Includes the plugin deactivation class that runs during plugin deactivation.
|
||||
*/
|
||||
require_once( plugin_dir_path( __FILE__ ) . 'includes/class-plugin-name-deactivator.php' );
|
||||
require_once plugin_dir_path( __FILE__ ) . 'includes/class-plugin-name-deactivator.php' );
|
||||
|
||||
/** This action is documented in includes/class-plugin-name-activator.php */
|
||||
register_activation_hook( __FILE__, array( 'Plugin_Name_Activator', 'activate' ) );
|
||||
|
||||
/** This action is documented in includes/class-plugin-name-deactivator.php */
|
||||
register_activation_hook( __FILE__, array( 'Plugin_Name_Deactivator', 'deactivate' ) );
|
||||
register_activation_hook( __FILE__, array( 'Plugin_Name_Deactivator', 'deactivate' ) );
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
|
||||
class Plugin_Name_Public {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,4 +14,4 @@
|
|||
// If uninstall not called from WordPress, then exit.
|
||||
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue