diff --git a/plugin-name/README.txt b/plugin-name/README.txt index 942970c..fe2608c 100644 --- a/plugin-name/README.txt +++ b/plugin-name/README.txt @@ -1,4 +1,4 @@ -=== TODO: Plugin Name === +=== @TODO: Plugin Name === Contributors: (this should be a list of wordpress.org userids) Donate link: http://example.com/ Tags: comments, spam diff --git a/plugin-name/admin/class-plugin-name-admin.php b/plugin-name/admin/class-plugin-name-admin.php index fc68fb8..bc461aa 100644 --- a/plugin-name/admin/class-plugin-name-admin.php +++ b/plugin-name/admin/class-plugin-name-admin.php @@ -16,7 +16,7 @@ * If you're interested in introducing public-facing * functionality, then refer to `class-plugin-name.php` * - * TODO: Rename this class to a proper name for your plugin. + * @TODO: Rename this class to a proper name for your plugin. * * @package Plugin_Name_Admin * @author Your Name @@ -48,10 +48,10 @@ class Plugin_Name_Admin { * @since 1.0.0 */ private function __construct() { - + /* - * TODO : - * + * @TODO : + * * - Decomment following lines if the admin class should only be available for super admins */ /* if( ! is_super_admin() ) { @@ -61,7 +61,7 @@ class Plugin_Name_Admin { /* * Call $plugin_slug from public plugin class. * - * TODO: + * @TODO: * * - Rename "Plugin_Name" to the name of your initial plugin class * @@ -86,8 +86,8 @@ class Plugin_Name_Admin { * Read more about actions and filters: * http://codex.wordpress.org/Plugin_API#Hooks.2C_Actions_and_Filters */ - add_action( 'TODO', array( $this, 'action_method_name' ) ); - add_filter( 'TODO', array( $this, 'filter_method_name' ) ); + add_action( '@TODO', array( $this, 'action_method_name' ) ); + add_filter( '@TODO', array( $this, 'filter_method_name' ) ); } @@ -99,10 +99,10 @@ class Plugin_Name_Admin { * @return object A single instance of this class. */ public static function get_instance() { - + /* - * TODO : - * + * @TODO : + * * - Decomment following lines if the admin class should only be available for super admins */ /* if( ! is_super_admin() ) { @@ -120,7 +120,7 @@ class Plugin_Name_Admin { /** * Register and enqueue admin-specific style sheet. * - * TODO: + * @TODO: * * - Rename "Plugin_Name" to the name your plugin * @@ -144,7 +144,7 @@ class Plugin_Name_Admin { /** * Register and enqueue admin-specific JavaScript. * - * TODO: + * @TODO: * * - Rename "Plugin_Name" to the name your plugin * @@ -179,7 +179,7 @@ class Plugin_Name_Admin { * * Administration Menus: http://codex.wordpress.org/Administration_Menus * - * TODO: + * @TODO: * * - Change 'Page Title' to the title of your plugin admin page * - Change 'Menu Text' to the text for menu item for the plugin settings page @@ -231,7 +231,7 @@ class Plugin_Name_Admin { * @since 1.0.0 */ public function action_method_name() { - // TODO: Define your action hook callback here + // @TODO: Define your action hook callback here } /** @@ -244,7 +244,7 @@ class Plugin_Name_Admin { * @since 1.0.0 */ public function filter_method_name() { - // TODO: Define your filter hook callback here + // @TODO: Define your filter hook callback here } } diff --git a/plugin-name/admin/views/admin.php b/plugin-name/admin/views/admin.php index 1698a14..d7db917 100644 --- a/plugin-name/admin/views/admin.php +++ b/plugin-name/admin/views/admin.php @@ -18,6 +18,6 @@

- + diff --git a/plugin-name/plugin-name.php b/plugin-name/plugin-name.php index ef904fd..0309e20 100644 --- a/plugin-name/plugin-name.php +++ b/plugin-name/plugin-name.php @@ -12,12 +12,12 @@ * @copyright 2013 Your Name or Company Name * * @wordpress-plugin - * Plugin Name: TODO - * Plugin URI: TODO - * Description: TODO + * Plugin Name: @TODO + * Plugin URI: @TODO + * Description: @TODO * Version: 1.0.0 - * Author: TODO - * Author URI: TODO + * Author: @TODO + * Author URI: @TODO * Text Domain: plugin-name-locale * License: GPL-2.0+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt @@ -35,7 +35,7 @@ if ( ! defined( 'WPINC' ) ) { *----------------------------------------------------------------------------*/ /* - * TODO: + * @TODO: * * - replace `class-plugin-name.php` with the name of the plugin's class file * @@ -46,7 +46,7 @@ require_once( plugin_dir_path( __FILE__ ) . 'public/class-plugin-name.php' ); * Register hooks that are fired when the plugin is activated or deactivated. * When the plugin is deleted, the uninstall.php file is loaded. * - * TODO: + * @TODO: * * - replace Plugin_Name with the name of the class defined in * `class-plugin-name.php` @@ -55,7 +55,7 @@ register_activation_hook( __FILE__, array( 'Plugin_Name', 'activate' ) ); register_deactivation_hook( __FILE__, array( 'Plugin_Name', 'deactivate' ) ); /* - * TODO: + * @TODO: * * - replace Plugin_Name with the name of the class defined in * `class-plugin-name.php` @@ -67,7 +67,7 @@ add_action( 'plugins_loaded', array( 'Plugin_Name', 'get_instance' ) ); *----------------------------------------------------------------------------*/ /* - * TODO: + * @TODO: * * - replace `class-plugin-admin.php` with the name of the plugin's admin file * - replace Plugin_Name_Admin with the name of the class defined in diff --git a/plugin-name/public/class-plugin-name.php b/plugin-name/public/class-plugin-name.php index 9289f0c..a3db272 100644 --- a/plugin-name/public/class-plugin-name.php +++ b/plugin-name/public/class-plugin-name.php @@ -16,7 +16,7 @@ * If you're interested in introducing administrative or dashboard * functionality, then refer to `class-plugin-name-admin.php` * - * TODO: Rename this class to a proper name for your plugin. + * @TODO: Rename this class to a proper name for your plugin. * * @package Plugin_Name * @author Your Name @@ -33,7 +33,7 @@ class Plugin_Name { const VERSION = '1.0.0'; /** - * TODO - Rename "plugin-name" to the name your your plugin + * @TODO - Rename "plugin-name" to the name your your plugin * * Unique identifier for your plugin. * @@ -78,8 +78,8 @@ class Plugin_Name { /* Define custom functionality. * Refer To http://codex.wordpress.org/Plugin_API#Hooks.2C_Actions_and_Filters */ - add_action( 'TODO', array( $this, 'action_method_name' ) ); - add_filter( 'TODO', array( $this, 'filter_method_name' ) ); + add_action( '@TODO', array( $this, 'action_method_name' ) ); + add_filter( '@TODO', array( $this, 'filter_method_name' ) ); } @@ -234,7 +234,7 @@ class Plugin_Name { * @since 1.0.0 */ private static function single_activate() { - // TODO: Define activation functionality here + // @TODO: Define activation functionality here } /** @@ -243,7 +243,7 @@ class Plugin_Name { * @since 1.0.0 */ private static function single_deactivate() { - // TODO: Define deactivation functionality here + // @TODO: Define deactivation functionality here } /** @@ -289,7 +289,7 @@ class Plugin_Name { * @since 1.0.0 */ public function action_method_name() { - // TODO: Define your action hook callback here + // @TODO: Define your action hook callback here } /** @@ -302,7 +302,7 @@ class Plugin_Name { * @since 1.0.0 */ public function filter_method_name() { - // TODO: Define your filter hook callback here + // @TODO: Define your filter hook callback here } } diff --git a/plugin-name/uninstall.php b/plugin-name/uninstall.php index 97f39b2..3448372 100644 --- a/plugin-name/uninstall.php +++ b/plugin-name/uninstall.php @@ -14,4 +14,4 @@ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { exit; } -// TODO: Define uninstall functionality here \ No newline at end of file +// @TODO: Define uninstall functionality here \ No newline at end of file