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

488 commits

Author SHA1 Message Date
Tom McFarlin
3154e38822 updating the 'last updated' date 2014-07-07 16:59:02 -04:00
Tom McFarlin
3ae56a6460 adding a comma that was preventing a syntax problem 2014-07-07 16:56:54 -04:00
Tom McFarlin
a3cce1d965 updating 'last updated' dates 2014-06-26 16:46:14 -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
547319a8b6 Merge pull request #187 from defries/master
Added grunt-wp-i18n solution for i18n-ing the plugin
2014-06-10 10:48:59 -04:00
Remkus de Vries
ddc916762b Added grunt-wp-i18n solution for i18n-ing the plugin 2014-06-10 14:25:26 +02:00
Tom McFarlin
5efc89dc3b Merge pull request #186 from grappler/activate-deactivate
Move restore_current_blog in the correct position
2014-05-31 22:05:10 -04:00
Ulrich Pogson
e75e6e2c57 Move restore_current_blog in the correct position 2014-06-01 00:06:29 +02:00
Tom McFarlin
7d71114f81 updating the change log to reflect the latest tag 2014-05-09 09:36:06 -04:00
Tom McFarlin
2c29f1ca04 moving $wpdb outside of the conditional so both cases work
Fixes #182
2014-05-09 09:35:11 -04:00
Tom McFarlin
b7caa3e958 updating last updated dates 2014-05-08 23:35:44 -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
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
cc6df31722 de-subclassing the file, adding a version attribute, setting it in the constructor 2014-05-08 18:09:10 -04:00
Tom McFarlin
00c5f7d733 adding a public getter for the plugin slug so that external classes can reference it
ht @garyjoes b5549d5f9c (commitcomment-6236733)
2014-05-08 16:50:23 -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
d5bb1de8fb adding a collection for hooks and filters to distinguish between the hooks being added 2014-05-06 09:53:16 -04:00
Tom McFarlin
7e64091fd4 updating the foreach loop from a previous version of the loop 2014-05-05 00:28:02 -04:00
Tom McFarlin
5265d1f0ae introducing the single, shared loader class 2014-05-05 00:18:13 -04:00
Tom McFarlin
b5549d5f9c defining a base class from which all other components can inherit
also getting rid of the version constant in place of a properly, defining a single entry point with the run function, and defining the plugin slug as a property
2014-05-05 00:18:04 -04:00
Tom McFarlin
d29ebf7dc8 extending the new plugin name base class and implementing localization 2014-05-05 00:17:23 -04:00
Tom McFarlin
f6a587372a extending the new plugin name base class 2014-05-05 00:17: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
6e46a1f439 removing the individual loaders in order to consolidate them into a single, shared loader 2014-05-05 00:16:13 -04:00
Tom McFarlin
24c1cca493 updating the read me and change log to reflect the latest changes of the plugin 2014-05-03 15:29:17 -04:00
Tom McFarlin
8c0b11ca1b adding a @TODO tag for localization class 2014-05-03 15:28:23 -04:00
Tom McFarlin
c83aa5434d updating the docblocks 2014-05-03 15:28:04 -04:00
Tom McFarlin
ee79eb4582 adding type hinting to the run function's arguments 2014-05-03 15:27:38 -04:00
Tom McFarlin
0abff96cfc removing whitespace 2014-05-03 15:27:15 -04:00
Tom McFarlin
8cfee0e67a updating the docblocks and actually registering the demo scripts and styles 2014-05-03 15:27:01 -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
91273f37d4 updating the docblocks 2014-05-03 15:07:38 -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
4114ad703e updating the docblocks 2014-05-03 15:07:05 -04:00
Tom McFarlin
821e24a9ea updating the docblocks 2014-05-03 15:06:57 -04:00
Tom McFarlin
af315d7145 adding whitespace and additional instructions 2014-05-03 15:06:50 -04:00
Tom McFarlin
c10b371d67 updating the docblocks and adding whitespace to the end of the file 2014-05-03 15:06:38 -04:00
Tom McFarlin
4f2719b2eb updating the docblocks 2014-05-03 15:06:13 -04:00
Tom McFarlin
f6917437fc Merge pull request #181 from BlueTeck/patch-1
gramar mistake
2014-05-02 10:00:59 -04:00
Timo
9555d7bd46 grammar mistake 2014-05-02 15:58:45 +02:00
Tom McFarlin
96018e57b0 updating the change log to reflect notes on the version of the boilerplate 2014-05-01 23:44:12 -04:00
Tom McFarlin
ecb940ed22 defining a constant for use throughout the boilerplate 2014-05-01 23:43:32 -04:00
Tom McFarlin
a9e071aef8 removing the original example functions and replacing them with functions that use existing boilerplate files 2014-05-01 23:43:07 -04:00
Tom McFarlin
40fd22a297 adding hooks to include the styles and scripts for the dashboard 2014-05-01 23:42:46 -04:00