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

57 commits

Author SHA1 Message Date
Tom McFarlin
849c147bd1 generalizing the name, landing, and email address 2013-05-12 08:43:28 -04:00
Tom McFarlin
c98aee2d55 updating the docblock and removing inline tabs in favor of spaces
fixes #38
2013-05-12 08:28:30 -04:00
Tom McFarlin
49abd665ef adding the domain path tag to the header of the plugin file
Fixes #40
2013-05-12 08:09:17 -04:00
Tom McFarlin
828b21ce54 updating licensing to gpl2+ as per https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/issues/42
related #42
2013-05-12 08:03:14 -04:00
Tom McFarlin
e4fe4e964d removing additional full stops
fixes #44
2013-05-11 18:16:47 -04:00
Tom McFarlin
05f2ef9ee4 removing some additional full stops missed in the first pass.
fixes #44
2013-05-11 18:02:03 -04:00
Tom McFarlin
509dd94b50 removing terminating code blocks in the admin view
related #38
2013-05-11 17:52:24 -04:00
Tom McFarlin
83138fb29f removing inline tabs, not localizing permissions.
related #44
fixes #41
2013-05-11 17:51:36 -04:00
Tom McFarlin
b1d15663eb adding a text domain to the plugin header
fixes #40
2013-05-11 17:49:28 -04:00
Tom McFarlin
13e2dfc895 adding get text and plural forms to the .pot file
related #40
2013-05-11 17:49:11 -04:00
Tom McFarlin
6ccf4af27d replacing all midline tabs and replacing the with spaces to comply with the coding standards
fixes #44
2013-05-11 17:46:33 -04:00
Tom McFarlin
95150ecfdc Removing tabs and spaces on empty lines
Related #44
2013-05-11 17:43:11 -04:00
Tom McFarlin
9b27bf86af Adding a security check to prevent files from accessing the boilerplate directly
Fixes #43
2013-05-11 17:38:50 -04:00
Tom McFarlin
ff44a40287 adding one space to comply with coding conventions 2013-05-11 17:06:34 -04:00
Tom McFarlin
a2987b80ca adding license.txt and removing it from the header.
fixes #42
2013-05-11 17:03:07 -04:00
Tom McFarlin
397d01dc79 Updating the .pot file as it was resulting in a minor error in one of the translation tools. 2013-05-10 10:43:15 -04:00
Tom McFarlin
ae0394724e removing redundant section headers since properties, constructors, and functions 2013-05-10 07:45:32 -04:00
Tom McFarlin
5f8dbab63b changing the access modifiers to protected from private
Related #36
2013-05-10 07:34:45 -04:00
Tom McFarlin
3be46accea adding braces around the conditional in uninstall.php 2013-05-10 07:33:53 -04:00
Tom McFarlin
6f97b9eabd removing redundant access tags
related #35
2013-05-10 07:32:57 -04:00
Tom McFarlin
0672899df0 removing all terminating comment blocks
related #38
2013-05-10 07:31:20 -04:00
Tom McFarlin
62e31a0120 removing the .po file since the .pot catalog can be read by POEdit 2013-05-10 07:25:26 -04:00
Tom McFarlin
bb994b859a adding plugin-boilerplate.pot file
Related #38
2013-05-10 07:23:46 -04:00
Tom McFarlin
15097f8b3f renaming the core plugin file to match the name of the plugin 2013-05-10 07:21:31 -04:00
Tom McFarlin
74f8a6afbd updating the read me so that the demo change log is more accurate 2013-05-10 07:20:34 -04:00
Tom McFarlin
6927761a88 updating the page-level doc blocks
related #38
2013-05-09 22:20:26 -04:00
Tom McFarlin
4e2a2564a8 changing 'directives' to 'tags' 2013-05-09 22:16:21 -04:00
Tom McFarlin
111c60122d automatically displaying the name of the plugin admin page
related #38
2013-05-09 22:12:52 -04:00
Tom McFarlin
791920143e updating the php code formatting
related #38
2013-05-09 22:05:29 -04:00
Tom McFarlin
626a161581 adding since tags to each of the docblocks for functions
related #38
2013-05-09 21:39:29 -04:00
Tom McFarlin
cd1f367899 adding class property docblocks
fixes #35
2013-05-09 21:37:03 -04:00
Tom McFarlin
e2dafd3473 Revert "adding class property docblocks"
This reverts commit dd20abf02a.
2013-05-09 21:36:44 -04:00
Tom McFarlin
dd20abf02a adding class property docblocks 2013-05-09 21:36:32 -04:00
Tom McFarlin
0fd7ce4344 updating versioning in the plugin and in the read me to use the x.y.z format (rather than the x.y format)
fixes #33
2013-05-09 21:31:41 -04:00
Tom McFarlin
996f999c55 updating certain functions to all be verbs to better describe their action
fixes #37
2013-05-09 21:25:55 -04:00
Tom McFarlin
0d8277d858 refactoring the ternary operator in the constructor to make the code more readable and to remove the potential for an orphaned object
fixes #39
2013-05-09 21:19:16 -04:00
Tom McFarlin
1a616eeb65 improving documentation 2013-05-07 22:42:30 -04:00
Tom McFarlin
cc42c4a554 disable the admin menu by default 2013-05-07 22:12:40 -04:00
Tom McFarlin
b4992eaf65 initializing instance to null, initializing the plugin_screen_slug to null, updating coding conventions, improving comments, updating conditionals, 2013-05-07 22:11:51 -04:00
Tom McFarlin
0b2021b273 removing the open/close files and combining them into a single admin view 2013-05-07 22:10:48 -04:00
Tom McFarlin
91a84225a6 combining both the admin_open and admin_close into a single file. localizing the text. 2013-05-07 22:10:34 -04:00
Tom McFarlin
3abd8e1ad7 removing whitespace at the bottom of the file 2013-05-07 17:02:46 -04:00
Tom McFarlin
9fa17a8507 updating a code comment 2013-05-07 17:02:04 -04:00
Tom McFarlin
e76927f94b removing whitespace between exit and the parens 2013-05-07 17:01:36 -04:00
Tom McFarlin
3618f5dfad added access modifiers 2013-05-07 17:01:12 -04:00
Tom McFarlin
6d141e700f implemented the singleton pattern 2013-05-07 17:00:38 -04:00
Tom McFarlin
11af5e0d11 Merge pull request #27 from mikkelbreum/master
improvements and additions (added settings page)
2013-05-07 13:55:19 -07:00
Japh
43e69da2e4 Merged upstream changes, maintained separation of uninstall functionality 2013-04-18 12:26:36 +10:00
Mikkel Breum
3d85de0c95 Restricted scripts and styles to load only on plugin settings page if it is enabled.
If the Settings page has been activated, the scripts and styles will only be loaded on the settings page. If not, they will be loaded for all admin pages (like before this commit)

Also added the __FILE__ magic constant as a second parameter to the admin_enqueue_style and admin_enqueue_script, the user no longer needs to change 'plugin-name'. This also makes the code more robust.
2013-04-07 23:14:44 +02:00
Mikkel Breum
fd69c019ec Added Plugin Settings page (commented out)
Added a Plugin Settings page, that can be enabled by uncommenting the line that hooks it into the admin_menu action hook.

Added additional views that contain the WordPress standard markup to wrap the plugin settings markup.

The views are now loaded into the plugin page.
2013-04-07 23:05:13 +02:00