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

310 commits

Author SHA1 Message Date
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
026515da85 adding docblocks consistent with the wpcs for the files in includes
http://make.wordpress.org/core/handbook/inline-documentation-standards/php-documentation-standards/
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-04-25 18:58:07 -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
72690b6771 introducing the empty loader files
this are the files that will be used to define the actions and filters for their respective area of the plugin

Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-04-25 18:35:52 -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
3bee4f4272 updating the code comments as per the handbook
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-04-11 10:36:47 -04:00
Tom McFarlin
b426fbe514 renaming the plugin activation and deactivation classes
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-04-11 10:36:13 -04:00
Tom McFarlin
766b47b643 Updating the text of the index file so that it matches all other WordPress files
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-04-11 10:35:40 -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
b868c5da02 initial commit of the skeletons for the javascript files
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-04-09 16:10:27 -04:00
Tom McFarlin
0c6d8418f6 adding the index.php files for protecting directory contents
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-04-09 15:51:18 -04:00
Tom McFarlin
b690a0cb63 adding a copy of the gpl
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-04-09 15:47:56 -04:00
Tom McFarlin
2c359bad76 adding the read me skeleton
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-04-09 15:44:22 -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
Tom McFarlin
bbf95fd0e2 updating the read me to reference the change log as per the rewrite
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-03-18 21:53:35 -04:00
Tom McFarlin
efaf29f5d8 restarting the change log for this branch
we'll merge this change log with the master branch when we merge the two branches together

Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-03-18 21:53:23 -04:00
Tom McFarlin
8489c37749 Updating the read me to explain the changes that are coming in this branch.
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-03-13 10:28:54 -04:00
Tom McFarlin
eecfb8a4cd Restarting at ground zero.
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-03-13 10:28:40 -04:00
Tom McFarlin
022dd60d41 Merge pull request #158 from Tintazul/patch-1
Update ChangeLog.md
2014-01-30 08:14:28 -08:00
Júlio Reis
24fc6db1f1 Update ChangeLog.md
Just a typo
2014-01-30 16:05:05 +00:00
Tom McFarlin
87a5d4e5e1 Merge pull request #128 from grappler/patch-1
Add load_plugin_textdomain
2014-01-26 06:38:17 -08:00
Tom McFarlin
cf05974b25 Merge pull request #156 from oobites/master
Replaced 'plugin' w/ 'plugin-name'
2014-01-15 11:26:51 -08:00
Thane
97163ca358 Replaced 'plugin' w/ 'plugin-name'
Replacement `class-plugin-name-admin.php` for `class-plugin-admin.php` was made in `plugin-name.php` on line 72.  The change better allows find-replace functionality.
2014-01-15 09:03:33 -06:00
Tom McFarlin
6568f73894 Merge pull request #154 from bluehiveinteractive/master
Update @copyright date to reflect new year
2014-01-03 09:21:12 -08:00
Chad Warren
36742f327a Update @copyright date to reflect new year 2014-01-02 16:44:06 -05:00
Chad Warren
4c0f5d2666 Update @copyright date to reflect new year 2014-01-02 16:43:49 -05:00
Chad Warren
5341a73090 Update class-plugin-name.php 2014-01-02 16:43:28 -05:00
Chad Warren
026ef8fcf9 Update @copyright date to reflect new year 2014-01-02 16:43:07 -05:00
Chad Warren
a1801f0340 Update @copyright date to reflect new year 2014-01-02 16:42:35 -05:00
Chad Warren
7bc9cf2c35 Update @copyright date to reflect new year 2014-01-02 16:42:02 -05:00
Tom McFarlin
294665892f Merge pull request #145 from barryceelen/patch-1
Missing space in code comment
2013-12-16 06:57:16 -08:00
Barry Ceelen
ee1bc1dfbe Missing space in code comment 2013-12-15 01:00:36 +01:00
Tom McFarlin
5791680377 Merge pull request #142 from jrivera84/master
Depreciated Function
2013-12-10 18:42:32 -08:00
jrivera84
da682578c9 Depreciated Function
Screen Icon function has been depreciated and CSS output is hidden in MP6. 
http://core.trac.wordpress.org/ticket/26119
2013-12-10 13:37:43 -05:00
Tom McFarlin
747f8f7456 Merge pull request #129 from afragen/patch-1
more instructions for using GitHub Updater
2013-11-26 06:41:51 -08:00
Andy Fragen
f9afb7c4c7 more instructions for using GitHub Updater 2013-11-25 18:23:50 -08:00
Ulrich Pogson
09a565b1b5 Add load_plugin_textdomain
If there is no `load_plugin_textdomain` then the translations will not be loaded from the languages folder.
2013-11-22 22:54:43 +01:00
Tom McFarlin
65d9e76aac updating for 2.6.1
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2013-11-20 22:11:44 -05:00
Tom McFarlin
34ec83fc6c Merge branch 'master' of https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>

Conflicts:
	plugin-name/public/class-plugin-name.php
2013-11-19 17:25:19 -05:00
Tom McFarlin
01319c57e3 removing plugin textdomain
related #120

Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2013-11-19 17:24:35 -05:00
Tom McFarlin
8c5083ba20 updating the localization functions to that load_textdomain is called.
Removing `load_plugin_textdomain` and leaving only `load_textdomain`.

This is standard as per new WordPress practices[0].

Ultimately, it makes language files more portable as they are still accessible via WordPress even if the plugin developer did not include them with the plugin itself.

Related #120

[0] d2eb67079b (commitcomment-4644357)

Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2013-11-19 17:24:08 -05:00
Tom McFarlin
ce5d816a4d updating the localization functions to that load_textdomain is called.
Removing `load_plugin_textdomain` and leaving only `load_textdomain`.

This is standard as per new WordPress practices[0].

Ultimately, it makes language files more portable as they are still accessible via WordPress even if the plugin developer did not include them with the plugin itself.

Related #120

[0] d2eb67079b (commitcomment-4644357)

Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2013-11-19 17:20:26 -05:00
Tom McFarlin
d2eb67079b removing white space, fixing text domain not loading
fixes #120

Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2013-11-18 13:18:36 -05:00
Tom McFarlin
c684270d39 updating the change log for 2.6.1
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2013-11-16 12:50:08 -05:00
Tom McFarlin
7f35f11508 Changing 'decomment' to 'uncomment'
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2013-11-16 12:39:42 -05:00
Tom McFarlin
119c874120 changing all 'TODO' to '@TODO'
changing all 'TODO' to '@TODO' so that they are easier to find in IDE's that support @TODO tags

Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2013-11-16 12:30:18 -05:00
Tom McFarlin
adeb21c1c7 Merge pull request #126 from jameswlane/patch-1
Removed the trailing slash
2013-11-15 05:23:10 -08:00
Tom McFarlin
98559b7bb7 Merge pull request #125 from jameswlane/patch-2
Removed the trailing slash
2013-11-15 05:22:55 -08:00
James W. Lane III
0768adb25e Removed the trailing slash
According to http://codex.wordpress.org/Function_Reference/plugin_dir_path, plugin_dir_path gets the filesystem directory path with trailing slash. Even tho two slashes will not cause an error, the extra slash can be removed.
2013-11-15 05:40:35 -06:00