mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2025-04-19 13:45:35 +03:00
Finalizing code for beta
* Updating DocBlocks * Fixing typos * Adjusting whitespace
This commit is contained in:
parent
6782bb5ec3
commit
4d6a0dfa3e
7 changed files with 27 additions and 28 deletions
|
@ -1,9 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Short Description (no period)
|
||||
*
|
||||
* Long Description.
|
||||
* Fired during plugin activation
|
||||
*
|
||||
* @link http://example.com
|
||||
* @since 1.0.0
|
||||
|
@ -13,9 +11,9 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Short Description. (use period)
|
||||
* Fired during plugin activation.
|
||||
*
|
||||
* Long Description.
|
||||
* This class defines all code necessary to run during the plugin's activation.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @package Plugin_Name
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Short Description (no period)
|
||||
*
|
||||
* Long Description.
|
||||
* Fired during plugin deactivation
|
||||
*
|
||||
* @link http://example.com
|
||||
* @since 1.0.0
|
||||
|
@ -13,9 +11,9 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Short Description. (use period)
|
||||
* Fired during plugin deactivation.
|
||||
*
|
||||
* Long Description.
|
||||
* This class defines all code necessary to run during the plugin's deactivation.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @package Plugin_Name
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Define the internationalization functionality.
|
||||
* Define the internationalization functionality
|
||||
*
|
||||
* Loads and defines the internationalization files for this plugin
|
||||
* so that its ready for translation.
|
||||
|
@ -27,11 +27,11 @@
|
|||
class Plugin_Name_i18n {
|
||||
|
||||
/**
|
||||
* Short Description. (use period)
|
||||
* The domain specified for this plugin.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @access private
|
||||
* @var type $domain Description.
|
||||
* @var string $domain The domain identifier for this plugin.
|
||||
*/
|
||||
private $domain;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* The core plugin class
|
||||
* The core plugin class.
|
||||
*
|
||||
* This is used to define internationalization, dashboard-specific hooks, and
|
||||
* public-facing site hooks.
|
||||
|
@ -35,7 +35,7 @@ class Plugin_Name {
|
|||
*
|
||||
* @since 1.0.0
|
||||
* @access protected
|
||||
* @var type Plugin_Name_Loader Maintains and registers all hooks for the plugin.
|
||||
* @var Plugin_Name_Loader $loader Maintains and registers all hooks for the plugin.
|
||||
*/
|
||||
protected $loader;
|
||||
|
||||
|
@ -174,7 +174,7 @@ class Plugin_Name {
|
|||
}
|
||||
|
||||
/**
|
||||
* Execute the loader to execute all of the hooks with WordPress.
|
||||
* Run the loader to execute all of the hooks with WordPress.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue