Jan Beck
9c14d6e3eb
changed "dashboard" to "admin area"
...
dashboard-specific becomes admin-specific
2015-02-13 14:31:40 -04:00
Federico Ramirez
042c13b7b1
Use the same syntax for all included files
...
I was having issues activating the plugin, and it was because of the way the files were beeing included, this fixes it.
2014-11-19 09:25:59 -03:00
Tony Hesjevik
e015b9cd7c
Create functions for activation and deactivation hooks.
...
Moving the activation and deactivation hooks into its own functions, makes so we dont have to include class-plugin-name-deactivator and class-plugin-name-activator on every page load.
2014-11-17 23:33:00 +11:00
Nikhil Vimal
2960b6c1c8
Fixing require() vs require_once()
...
See : https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/issues/222 . I believe this was in favor of doing it "correctly"?
2014-11-04 16:47:16 -06:00
jessertaylor
8f002bfc4d
Fixed deactivation hook in plugin_name.php
2014-09-03 15:11:55 +01:00
Rob Gabaree
50f2a612f8
Fix typo in plugin-name.php
2014-09-02 13:16:20 -04:00
Doug Smith
b8a357b336
Fix minor typo in plugin-name.php description text
2014-08-19 15:06:09 -05:00
Tom McFarlin
96f957d6e9
Updating doc block
...
* class-plugin-name now includes different file and class documentation
* changing a URL to an example URL
2014-08-01 17:06:09 -04:00
Tom McFarlin
ef63ff4a91
Merge branch 'develop' of https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate into develop
2014-08-01 16:56:38 -04:00
Tom McFarlin
f3133d8cb5
Improving docblocks
...
* Documenting the plugin file
* Changing the docblock to read 'class', not 'file'
Related #199
2014-08-01 16:47:08 -04:00
Ulrich Pogson
836d85d1c8
Move text domain lower down
2014-07-30 21:52:41 +02:00
Tom McFarlin
efa4d08df3
Updating code comments for require and function
...
Fixes #192
2014-07-30 15:23:18 -04:00
Tom McFarlin
43ee54a0ee
Adding documentation to two missing functions
...
Fixes #192
2014-07-30 15:03:33 -04:00
Tom McFarlin
8ee0c49bd7
Fixes #195
...
Updating the header so that it conforms to PHP DocBlock standards and WP Plugin Standards
2014-07-30 14:56:37 -04:00
Tom McFarlin
ec29ebc95b
Renaming the plugin slug to the plugin name
...
Also renaming the text domain in the header of the core plugin file to match that of the plugin name
Fixes #194
2014-07-30 13:58:41 -04:00
Tom McFarlin
2a66ff4d50
finalizing docblocks
...
Making sure that the code comments strictly follow the WordPress PHP Documentation Standards
2014-07-29 15:48:33 -04:00
Tom McFarlin
23235f94d7
completing the initial round of PHP documentation as per the WPCS
...
http://make.wordpress.org/core/handbook/inline-documentation-standards/php-documentation-standards/#1-functions-and-class-methods
2014-06-26 16:19:57 -04:00
Tom McFarlin
e29a775e76
completely refactoring the main plugin file
...
* leaving the de/activation code here for now
* moving all bootstrap code into class-plugin-name.php
* setting up this file to fire the plugin so that it's prepared to handle any hooks given to the loader
2014-05-08 23:33:47 -04:00
Tom McFarlin
0fdaeaa67c
fixing a small type, documentation the imports, changing the way in which the plugin is instantiated
2014-05-08 18:09:50 -04:00
Tom McFarlin
71f40d5e7a
updating the calls to the plugin loader so that they appropriately call add_action and add_filter
2014-05-06 09:54:13 -04:00
Tom McFarlin
e503be7e38
changing the working name and URL of the plugin so not to conflict with another file in the repository.
...
changing the ways in which the plugin loader, plugin components, and plugin works
2014-05-05 00:16:52 -04:00
Tom McFarlin
b3451b717f
instantiating and loading the dashboard-specific and public-facing areas of the plugin
...
also updating the docblocks to explain what each hooked function is doing
2014-05-03 15:26:22 -04:00
Tom McFarlin
135920036b
updating the docblocks with clearer descriptions as to what each tag and line should contain.
2014-05-03 15:07:24 -04:00
Tom McFarlin
ecb940ed22
defining a constant for use throughout the boilerplate
2014-05-01 23:43:32 -04:00
Tom McFarlin
793797ae71
removing all of the @TODO references
...
as per GaryJones notes, "You can't have tags come before the short / long description, otherwise the descriptions end up as part of a multiline tag."
removing these @TODO's until the team decides whether or not to replace them with something clearer, or to discuss it to the documentation
2014-05-01 23:26:16 -04:00
Tom McFarlin
a5864a9d96
adding whitespace
2014-04-30 22:55:42 -04:00
Tom McFarlin
fbf09acbdb
spacing out the code in the docblock
2014-04-30 22:34:39 -04:00
Tom McFarlin
b7d17e4122
updating the docblocks for proper use of TODO
and @TODO
2014-04-30 22:06:19 -04:00
Tom McFarlin
b8132f4b9d
removing unnecessary closing parens.
...
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-04-26 17:42:21 -04:00
Tom McFarlin
9f71476166
updating the docblocks to the match the wpcs
...
http://make.wordpress.org/core/handbook/inline-documentation-standards/php-documentation-standards/
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-04-25 19:00:08 -04:00
Tom McFarlin
2cf4ba8223
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>
2014-04-25 18:39:31 -04:00
Tom McFarlin
5ab1805db8
removing '@TODO' in favor of 'TODO'
...
WordPress doesn't like '@TODO' and doesn't honor it when displaying it in the dashboard
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-04-25 18:21:25 -04:00
Tom McFarlin
e91be4101d
updating the code comments as per the handbook
...
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-04-11 10:36:57 -04:00
Tom McFarlin
28da2f7c41
checking in the start of the docblocks for the various PHP files of the boilerplate
...
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-04-09 16:22:44 -04:00
Tom McFarlin
83f6ea69c6
initial commit
...
initial commit of the skeleton structure of the wordpress plugin boilerplate
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-03-18 21:53:57 -04:00