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

278 commits

Author SHA1 Message Date
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
Tom McFarlin 1534c48568 Merge pull request #72 from GaryJones/feature/trailingslashit
Make WP_LANG_DIR constant safer
2013-08-30 05:10:55 -07: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
Tom McFarlin dc4a71e101 Merge pull request #70 from grappler/patch-1
Fix typo and move add_filter under menu add_action
2013-08-21 19:35:20 -07: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
Tom McFarlin 6c194dfd67 Merge pull request #63 from grappler/patch-1
Add action link to plugin page
2013-08-21 05:00:18 -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 86ecda68f6 updating the change log 2013-07-07 14:08:05 -04:00
Tom McFarlin e01f335d05 removing an improper apostraphe 2013-07-07 14:07:11 -04:00
Tom McFarlin 6e62c43bd3 removing whitespace 2013-07-07 14:06:27 -04:00
Tom McFarlin 74875da9a3 updating the change log to reflect the current changes 2013-07-07 14:05:49 -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
Tom McFarlin f9ce10b207 Merge pull request #57 from danielantunes/master
Silence is golden
2013-06-14 03:55:53 -07:00
Daniel Antunes bef3a5f669 Adding index.php with silence is golden security method 2013-06-14 00:40:47 -03:00
Tom McFarlin 8c16872062 Merge pull request #55 from tokkonopapa/issue1
added empty array for dependency to fix version number.
2013-05-25 05:01:41 -07: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
Tom McFarlin 4b05ac70b9 Merge pull request #51 from grappler/master
Replace text-domain with Variable and update pot
2013-05-17 04:29:36 -07:00
Ulrich Pogson 773a3ad9d4 Replace text-domain with variable and update pot 2013-05-16 23:18:27 +02:00
Ulrich Pogson e121073eb1 Merge pull request #3 from tommcfarlin/master
Update 16.05.2013
2013-05-16 14:15:55 -07: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 0ac81cc38f adding notes for the new tag 2013-05-16 09:44:58 -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 8ead067e39 updating the change log for 2.4 2013-05-15 22:55:21 -04:00
Tom McFarlin 945b5a1bd4 updating the README file
related #48
2013-05-15 22:52:00 -04:00
Ulrich Pogson a59d520420 Merge pull request #2 from tommcfarlin/master
Update 16.05.2013
2013-05-15 15:02:01 -07: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