Ulrich Pogson
b463e3398c
Place the TODOs in the correct position
2013-11-01 14:53:10 +01:00
Tom McFarlin
1de634b31f
adding empty includes directories as a place for shared functionality
...
related #100
2013-11-01 08:31:52 -04:00
Tom McFarlin
a36f3079bd
removing files from the plugin root
...
related #100
2013-10-30 16:51:33 -04:00
Tom McFarlin
aa9368a81f
updating a comment
2013-10-30 16:50:42 -04:00
Tom McFarlin
9d8f38b339
moving all public related code to a self-contained subdirectory
...
related #100
2013-10-30 16:50:36 -04:00
Tom McFarlin
ba5bddf891
adding public and admin comments. conditionally loading the admin class.
...
related #104
2013-10-30 16:50:09 -04:00
Tom McFarlin
32884b0515
removing files from the main plugin directory in favor of admin and public specific directories
...
related #100
2013-10-30 16:49:30 -04:00
Tom McFarlin
0796e8e638
moving all of the admin-specific functionality into the admin subdirectory
...
related #100
2013-10-30 16:49:01 -04:00
Tom McFarlin
f894ee25c0
loading the admin class only if the dashboard is being loaded
...
fixes #104
2013-10-30 16:27:26 -04:00
Ulrich Pogson
037e246074
Add TODO for Plugin_Name::VERSION
2013-10-27 20:55:36 +01:00
Ulrich Pogson
fc3de2376c
Replace plugin-name with plugin_slug & remove TODO
2013-10-27 19:51:20 +01:00
Tom McFarlin
fcac09e874
removing a redundant comment delimiter
2013-10-27 14:29:01 -04:00
haleeben
60d06f6446
Added a TODO to prompt the user to change the plugin-name
2013-10-27 16:37:26 +11:00
will83
62769f4225
Update class-plugin-name-admin.php
2013-10-24 19:06:37 +02:00
Tom McFarlin
25c4fdcf70
updating the references to the languages directory as per @grappler's original implementation
2013-10-21 07:30:40 -04:00
Ulrich Pogson
a77b1a7463
Update plugin-name.pot
2013-10-19 14:42:33 +02:00
Tom McFarlin
f211910b4a
removing the scope qualifier on the constant
2013-10-17 16:35:14 -04:00
Tom McFarlin
70ff70f537
adding whitespace between the header and the markup
2013-10-17 16:32:25 -04:00
Tom McFarlin
aa01ca281c
removing extraneous whitespace, making sure comment lines don't exceed 80 characters, and providing updated comment blocks for functions, inline comments, and documentation for the new admin class
2013-10-17 16:23:04 -04:00
Tom McFarlin
467d5e290f
removing extraneous whitespace, making sure comment lines don't exceed 80 characters, and providing updated comment blocks for functions, inline comments, and documentation for the new admin class
2013-10-17 16:22:57 -04:00
Tom McFarlin
ad459856c5
Removing a lot of whitespace, updating function comments, and comment blocks within a function, and making sure no comments exceed 80 characters
2013-10-17 16:22:14 -04:00
Tom McFarlin
57115a8cf4
adding a 'TODO' so users can more easily find where all they need to supply the name of their plugin
...
Fixes #91
2013-10-17 16:21:31 -04:00
Ulrich Pogson
a8679a4ece
Update README.txt
...
Add additional possible installation methods
2013-10-17 20:49:05 +02:00
Tom McFarlin
b1abaee963
adding a 'GitHub Plugin URI' to the wordpress-plugin header
...
Fixes #75
2013-10-16 16:38:25 -04:00
Tom McFarlin
6215ee636a
updating the javascript to include more whitespace as per the wordpress javascript coding standards
2013-10-16 16:24:16 -04:00
Tom McFarlin
02f9c902b6
Moving the screenshot to the assets directory
...
Related #89
2013-10-16 16:22:37 -04:00
Ulrich Pogson
63e9ea97f4
Move function lower down
2013-10-15 20:57:29 +02:00
Ulrich Pogson
60b58949ce
Update inline documentation
2013-10-14 22:59:16 +02:00
Ulrich Pogson
ac8e5cfb01
Add admin class
2013-10-14 17:37:41 +02:00
Barry Ceelen
96e91f5e05
Update $plugin_slug comment
...
The boilerplate uses the variable name when internationalizing strings, where the comment on $plugin_slug says to do the opposite.
2013-10-04 23:23:01 +02:00
Barry Ceelen
7f293f8375
Place options page under 'Settings' in stead of 'Plugins' menu
2013-09-28 13:38:39 +02:00
Tom McFarlin
1d4de289b6
Merge pull request #77 from barryceelen/patch-1
...
Removes reference to register_uninstall_hook from code comment
2013-09-23 04:56:38 -07:00
Tom McFarlin
93be2ae0b4
Merge pull request #80 from barryceelen/patch-3
...
Replace plugin-name with $this->plugin_slug in add_action_links()
2013-09-18 06:14:50 -07:00
Barry Ceelen
bbc070e7a7
Replace plugin-name with $this->plugin_slug in add_action_links()
2013-09-18 10:54:34 +02:00
Barry Ceelen
9422feacfd
Removes 'Change 'plugin-name' to the name of your plugin' from DocBlock
...
Removes 'Change 'plugin-name' to the name of your plugin' from add_plugin_admin_menu() function DocBlock, as this is now defined via a variable.
2013-09-18 10:50:29 +02:00
Barry
af2bd993ef
Mention uninstall.php in code comment
2013-09-12 17:58:52 +02:00
Barry Ceelen
b8231ac64b
Removes reference to register_uninstall_hook from code comment
...
Perhaps mention uninstall.php in stead?
```
// Register hooks that are fired when the plugin is activated or deactivated.
// When the plugin is deleted, the uninstall.php file is loaded.
```
2013-09-12 01:42:07 +02:00
Barry Ceelen
20adc011a9
Initialize plugin on plugins_loaded hook
2013-09-11 23:41:08 +02:00
Tom McFarlin
adc84722d7
changing the name of the lang directory to languages and all references to it
2013-09-08 14:20:15 -04:00
Tom McFarlin
fe371026c4
removing the lang directory in place of languages
2013-09-08 14:19:56 -04:00
Tom McFarlin
1599cdf480
Merge pull request #74 from nextgenthemes/master
...
Change default capability to 'manage_options'
2013-09-08 11:17:06 -07:00
Tom McFarlin
0900698aa3
Merge pull request #71 from GeertDD/const
...
Updates related to the new VERSION constant
2013-09-08 11:16:57 -07:00
Tom McFarlin
452aeb7213
Merge pull request #58 from thuijssoon/master
...
Multisite activation / deactivation
2013-09-08 11:16:00 -07:00
nextgenthemes
4c55c1c1ae
Change default capability to 'manage_options'
...
I am not sure if it's a good idea to use 'read' here, as more people will use the plugins page for options that subscribers... should never see.
I am not blaming you, it was me not paying attention but after migrating my plugin to this awesome boilerplate it ended up on WP.org with 'read' for the entire options page and people are now complaining ;)
2013-09-07 08:01:09 +02:00
GaryJones
f9d97b8cb1
Make WP_LANG_DIR constant safer
...
We assume that someone defining WP_LANG_DIR will do so without a trailing slash, since we then add our own before adding in the rest of the path to the .mo file.
This change gets removes that assumption by removing our own slash from the string, and wrapping WP_LANG_DIR in trailingslashit() instead.
2013-08-30 11:00:33 +01:00
Geert De Deckere
d3bb173aca
Replacing $this->version
by the new class constant
2013-08-26 15:40:58 +02:00
Geert De Deckere
cd5e787b8e
@const is not an official part of PHPDoc
...
Pointed out by @GaryJones: 4d629b5323 (commitcomment-3943262)
2013-08-26 15:37:21 +02:00
thuijssoon
772e1365a5
Update activate_new_site did_action to become Yoda condition
2013-08-23 06:59:43 +02:00
Ulrich Pogson
04f7237e44
Add missing *
2013-08-21 17:30:55 +02:00
Ulrich Pogson
62ddbcc5e6
Fix typo and move add_filter under menu add_action
2013-08-21 17:22:43 +02:00
Tom McFarlin
fed9e4e1ab
Merge pull request #66 from GeertDD/silence
...
Removing useless closing php tags
2013-08-21 05:02:10 -07:00
Tom McFarlin
10f1e5f08c
Merge pull request #67 from GeertDD/const
...
Storing plugin version in a class constant
2013-08-21 05:01:05 -07:00
Tom McFarlin
aa7d883e5f
Merge pull request #64 from andrejcremoznik/patch-1
...
Fix loading textdomain when the plugin is symlinked
2013-08-21 05:00:44 -07:00
Geert De Deckere
4d629b5323
Storing plugin version in a class constant
2013-08-19 08:47:32 +02:00
Geert De Deckere
25056692f5
Removing useless closing php tags
2013-08-19 08:34:05 +02:00
Andrej Čremožnik
7e0d4a7cd8
Fix loading textdomain when the plugin is symlinked
...
plugin_basename doesn't return the correct path if the plugin is symlinked into webdir/wp-content/plugins/. This fixes the problem.
2013-07-16 13:14:30 +02:00
Ulrich Pogson
94aaf434a5
Fix typo
2013-07-14 15:25:15 +02:00
Ulrich Pogson
d46b5e24b3
Add action link to plugin page
2013-07-14 14:46:58 +02:00
Tom McFarlin
e01f335d05
removing an improper apostraphe
2013-07-07 14:07:11 -04:00
Tom McFarlin
465603b5c8
replacing all instances of PluginName with PluginName as per the WordPress Coding Standards
...
fixes #61
2013-07-07 14:03:25 -04:00
thuijssoon
2a2050d7fb
Update class-plugin-name.php
...
Added multisite activation/deactivation functionality.
2013-06-15 21:50:31 +07:00
Daniel Antunes
bef3a5f669
Adding index.php with silence is golden security method
2013-06-14 00:40:47 -03:00
tokkonopapa
9479666eb5
added empty array for dependency to fix version number.
2013-05-25 00:15:49 +09:00
Tom McFarlin
08f0d9a30b
updating a reference to the plugin slug
...
fixes #52
2013-05-17 20:18:06 -04:00
Ulrich Pogson
773a3ad9d4
Replace text-domain with variable and update pot
2013-05-16 23:18:27 +02:00
Tom McFarlin
e4d9af5304
updating the docblock for this class
2013-05-16 09:57:05 -04:00
Tom McFarlin
e8c0c99598
updating the docblock in the class
2013-05-16 09:56:20 -04:00
Tom McFarlin
bfc094ec68
continuing to update all page-level docblocks for consistency
...
related #48
2013-05-16 09:41:58 -04:00
Tom McFarlin
b8c03c083a
updating page-level docblocks to be consistent
...
related #48
2013-05-16 09:40:25 -04:00
Tom McFarlin
d345f74c4d
adding example.com to the plugin-name page-level docblock
...
related #48
2013-05-16 09:37:48 -04:00
Tom McFarlin
1c49f99e78
Updated to readme.txt
to be up to standard with the current WordPress Plugin Repository demo
...
Fixes #50
2013-05-16 09:36:23 -04:00
Tom McFarlin
0d968d2c20
removing a trailing /
...
related #48
2013-05-15 10:18:02 -04:00
Tom McFarlin
d5fe812b83
removing author email tag and lining up terms
...
related #48
2013-05-15 10:16:38 -04:00
Tom McFarlin
9149ea7b17
renaming and updating references in the pot file
...
related #48
2013-05-15 10:15:14 -04:00
Tom McFarlin
6f39dbc677
since we're loading a single style sheet, using the singular form of the term
...
related #48
2013-05-15 10:13:11 -04:00
Tom McFarlin
0154512f69
removing whitespace
...
related #48
2013-05-15 10:12:11 -04:00
Tom McFarlin
bf17525093
renaming all 'display*' files to 'public*' files
...
related #48
2013-05-15 10:11:56 -04:00
Tom McFarlin
5cf899c20b
updating references in comments and in code to the plugin class files and plugin files
...
related #48
2013-05-15 10:02:10 -04:00
Tom McFarlin
cf9fdceac3
changing what happens when the plugin is accessed directly
...
related #48
2013-05-15 10:00:38 -04:00
Tom McFarlin
a289b607a3
updating code comments, clearing extraneous whitespace
...
related #48
2013-05-15 10:00:07 -04:00
Tom McFarlin
39abb6e2dc
renaming files to be more consistent with the example name of the plugin
...
related #48
2013-05-15 09:47:33 -04:00
Tom McFarlin
373531d393
renaming 'plugin-boilerplate' to 'plugin-name' to be more consistent with the naming conventions of the class file
...
related #48
2013-05-15 09:46:06 -04:00