1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-04-29 09:53:16 +03: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:
Tom McFarlin 2014-04-25 18:39:31 -04:00
parent 72690b6771
commit 2cf4ba8223
7 changed files with 9 additions and 9 deletions

View file

@ -11,4 +11,4 @@
class Plugin_Name_Admin {
}
}

View file

@ -33,4 +33,4 @@ class Plugin_Name_Activator {
}
}
}

View file

@ -33,4 +33,4 @@ class Plugin_Name_Deactivator {
}
}
}

View file

@ -11,4 +11,4 @@
class Plugin_Name {
}
}

View file

@ -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' ) );

View file

@ -11,4 +11,4 @@
class Plugin_Name_Public {
}
}

View file

@ -14,4 +14,4 @@
// If uninstall not called from WordPress, then exit.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
}