Commit Graph

268 Commits

Author SHA1 Message Date
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 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
James W. Lane III 46c78c9dc5 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:35:07 -06:00
Tom McFarlin 0275b33691 Revert "Extended and aligned comment header (via franz-josef-kaiser)"
This reverts commit 0f2675ddb4.
2013-11-12 09:29:25 -05:00
Tom McFarlin 0f2675ddb4 Extended and aligned comment header (via franz-josef-kaiser) 2013-11-12 09:00:31 -05:00
Tom McFarlin 4a4d3f524d Merge pull request #122 from rockaut/master
Update class-plugin-name-admin.php
2013-11-11 15:03:14 -08:00
rockaut 66bf2e2a73 Update class-plugin-name-admin.php
added possibility for super admin check in constructor and get_instance()
2013-11-11 22:43:43 +01:00
Tom McFarlin 5396453073 Revert "Updated plugin-name.php to get all name replacement changes at one place"
This reverts commit a80b2ca7a4.
2013-11-08 16:54:33 -05:00
Tom McFarlin c3a94e9fd7 Revert "Replaced deleted comment block"
This reverts commit 630408340f.
2013-11-08 16:54:29 -05:00
Tom McFarlin b45971682f Revert "merge conflict resolution"
This reverts commit f293c94419.
2013-11-08 16:54:18 -05:00
Tom McFarlin 09e87acdcc Merge branch 'master' of https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate 2013-11-08 16:53:30 -05:00
Tom McFarlin f293c94419 merge conflict resolution 2013-11-08 16:53:27 -05:00
Tom McFarlin e3d13be33d Merge pull request #121 from akshayraje/master
All class and file name changes together
2013-11-08 13:50:09 -08:00
akshayraje 630408340f Replaced deleted comment block 2013-11-08 14:01:01 +05:30
akshayraje a80b2ca7a4 Updated plugin-name.php to get all name replacement changes at one place 2013-11-08 13:51:30 +05:30
Tom McFarlin fce6701179 Merge pull request #120 from neverything/patch-2
Fix textdomain not loading
2013-11-07 10:52:51 -08:00
Silvan Hagen 7dbfeb95bd Fix textdomain not loading
Before: public/languages
After: plugin-name/languages
2013-11-07 17:41:03 +01:00
Tom McFarlin 4a1c334c04 Merge pull request #116 from neverything/patch-1
Fix $plugin_basename to allow plugin_action_links
2013-11-04 08:25:24 -08:00
Silvan Hagen f844d0a075 Fix $plugin_basename to allow plugin_action_links
With the move to /admin and /public directory, the class-plugin-name-admin.php needed to be changed to use __DIR__ instead of __FILE__ to create the $plugin_basename, otherwise the hook would be something like plugin_action_links_plugin-name/admin/plugin-name.php which doesn't work.
2013-11-04 16:26:19 +01:00
Tom McFarlin ae381619d4 Merge pull request #110 from grappler/patch-1
Place the TODOs in the correct position
2013-11-01 07:02:08 -07:00
Ulrich Pogson b463e3398c Place the TODOs in the correct position 2013-11-01 14:53:10 +01:00
Tom McFarlin 7aa4d72497 finalizing the change log 2013-11-01 08:34:26 -04:00
Tom McFarlin 75aff22e52 updating the readme 2013-11-01 08:31:58 -04: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 1d0d01ced6 updating typos in the read. props @grappler. 2013-11-01 08:27:12 -04:00
Tom McFarlin 961f62407f updating the change log, moving the previous untagged 2.6.0 notes into the official, forthcoming 2.6.0 tag. 2013-10-31 13:24:51 -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
Tom McFarlin 4242cbe4f1 Merge pull request #103 from grappler/patch-1
Add TODO for Plugin_Name::VERSION
2013-10-27 13:25:36 -07:00
Ulrich Pogson 037e246074 Add TODO for Plugin_Name::VERSION 2013-10-27 20:55:36 +01:00
Tom McFarlin 8881946c1d Merge pull request #102 from grappler/patch-4
Replace plugin-name with plugin_slug & remove TODO
2013-10-27 12:37:53 -07: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
Tom McFarlin e8421c2980 Merge pull request #101 from haleeben/master
Added a TODO to prompt the user to change the plugin-name
2013-10-27 09:11:06 -07:00
haleeben 60d06f6446 Added a TODO to prompt the user to change the plugin-name 2013-10-27 16:37:26 +11:00
Tom McFarlin 285e95beab Merge pull request #98 from will83/patch-1
Update class-plugin-name-admin.php
2013-10-24 11:23:48 -07:00
will83 62769f4225 Update class-plugin-name-admin.php 2013-10-24 19:06:37 +02:00
Tom McFarlin cab0e15b08 Merge pull request #97 from grappler/patch-4
Update README.md
2013-10-21 11:44:35 -07:00
Ulrich Pogson 74b89e2fee Update README.md
This is not valid any more
2013-10-21 20:30:26 +02:00