1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-12-22 20:03:53 +02:00
Commit graph

111 commits

Author SHA1 Message Date
Barry Ceelen
f51ee23a1f Fix code comment typo 2014-11-10 16:57:08 +01: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
Tom McFarlin
025d61efee Merge pull request #224 from mAAdhaTTah/variable-fix
Change name -> plugin_name for consistency
2014-10-07 16:46:49 -04:00
mAAdhaTTah
dbf2c73757 Change name -> plugin_name for consistency 2014-10-07 16:43:55 -04:00
Dmitry Mayorov
7a12d6aa66 Update class-plugin-name-public.php
Updated @subpackage from 'admin' to 'public'
2014-10-05 19:36:55 +06:00
Dmitry Mayorov
163c2a86c1 Update class-plugin-name-admin.php
Changed @subpackage from 'includes' to 'admin'.
2014-10-05 19:35:03 +06:00
Justin Sainton
50bc541455 Please stop shouting at me. I do hate when my parents shout.
But in all seriousness, shouting types is bad form.
2014-09-10 21:19:37 -07: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
ef28c5a351 Updating the docblock 2014-08-18 17:08:36 -04:00
Tom McFarlin
4d6a0dfa3e Finalizing code for beta
* Updating DocBlocks
* Fixing typos
* Adjusting whitespace
2014-08-18 17:00:09 -04:00
Tom McFarlin
6782bb5ec3 Updating a comment 2014-08-16 16:30:16 -04:00
Tom McFarlin
2e9ae6ac99 Populating the DocBlock
Fixes #123
2014-08-05 16:43:08 -04: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
35650c1b7b Setting the reference using the proper variable 2014-08-01 16:59:31 -04:00
Tom McFarlin
aea004af54 Chaing the doc from 'slug' to 'string' 2014-08-01 16:59:19 -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
Tom McFarlin
6d6f6399f7 Removing a duplicate line of code
Related #199
2014-08-01 16:44:57 -04:00
Tom McFarlin
bfb7e6fb58 Merge pull request #197 from grappler/plugin-header
Move text domain lower down
2014-07-30 16:15:43 -04:00
Tom McFarlin
9b5afad159 Merge pull request #198 from grappler/uninstall-header
Update uninstall header for consistency
2014-07-30 16:14:59 -04:00
Ulrich Pogson
3067be69b5 Remove duplicate documentation 2014-07-30 21:59:15 +02:00
Ulrich Pogson
67dc6fb7a2 Update uninstall header for consistency 2014-07-30 21:55:26 +02: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
57205587af Making the file headers more conssitent
Improving the documentation for each file, as well.

Fix #193
2014-07-30 15:16:32 -04:00
Tom McFarlin
43ee54a0ee Adding documentation to two missing functions
Fixes #192
2014-07-30 15:03:33 -04:00
Tom McFarlin
918ee9e5f9 Removing public @access tags
Following the guide of the PHPDoc Block Formatting

> @access (for functions: only use if private)

Fix #191
2014-07-30 15:00:57 -04:00
Tom McFarlin
4d9f666e0f Merge pull request #196 from grappler/remove-spaces
Remove spaces before code
2014-07-30 14:57:11 -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
Ulrich Pogson
48e0a373dd Remove spaces before code 2014-07-30 16:04:18 +02:00
Tom McFarlin
81b3c8bd6d Updating the arguments passed to the classes 2014-07-29 17:10:31 -04:00
Tom McFarlin
0f4aaa9693 Updating the docblocks for this function 2014-07-29 17:10:09 -04:00
Tom McFarlin
370c439bb2 Adding the plugin slug to the constructor args 2014-07-29 17:09:55 -04:00
Tom McFarlin
560e5959a5 Documenting classes
Documenting classes that are core to each plugin, while also leaving other classes undocumented for an implementation-specific basis.
2014-07-29 16:56:18 -04:00
Tom McFarlin
f09ca373d8 Removing the trailingslash from the URL 2014-07-29 16:55:10 -04:00
Tom McFarlin
b706dc3291 Updating code comments
Making sure that the code comments strictly follow that of the WordPress PHP Documentation Standards
2014-07-29 16:03:09 -04:00
Tom McFarlin
2af01cf653 Updating the code comments
Making sure that the code comments strictly follow that of the WordPress PHP Documentation Standards
2014-07-29 15:56:12 -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
3ae56a6460 adding a comma that was preventing a syntax problem 2014-07-07 16:56:54 -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
9f5ffbf597 adding a priority argument to the loader (defaulting to 10 as per wordpress codex) 2014-06-26 15:43:18 -04:00
Tom McFarlin
f89752180f adding TODO docblocks 2014-05-08 23:34:38 -04:00
Tom McFarlin
bb3c56b0c2 adding TODO code docblocks 2014-05-08 23:34:29 -04:00
Tom McFarlin
f332130569 moving all bootstrap code into this file, adding some getters for dependencies
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:34:16 -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
9a23715ba7 de-subclassing this class and defining a domain attribute provided by setter injection 2014-05-08 18:10:22 -04:00
Tom McFarlin
0d63ec21e5 adding getters for the protected properties 2014-05-08 18:10:04 -04:00