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

15 commits

Author SHA1 Message Date
Ulrich Pogson e75e6e2c57 Move restore_current_blog in the correct position 2014-06-01 00:06:29 +02:00
Timo 9555d7bd46 grammar mistake 2014-05-02 15:58:45 +02:00
Tom McFarlin 87a5d4e5e1 Merge pull request #128 from grappler/patch-1
Add load_plugin_textdomain
2014-01-26 06:38:17 -08:00
Chad Warren 4c0f5d2666 Update @copyright date to reflect new year 2014-01-02 16:43:49 -05:00
Chad Warren 5341a73090 Update class-plugin-name.php 2014-01-02 16:43:28 -05:00
Barry Ceelen ee1bc1dfbe Missing space in code comment 2013-12-15 01:00:36 +01:00
Ulrich Pogson 09a565b1b5 Add load_plugin_textdomain
If there is no `load_plugin_textdomain` then the translations will not be loaded from the languages folder.
2013-11-22 22:54:43 +01:00
Tom McFarlin 01319c57e3 removing plugin textdomain
related #120

Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2013-11-19 17:24:35 -05:00
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 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
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
Silvan Hagen 7dbfeb95bd Fix textdomain not loading
Before: public/languages
After: plugin-name/languages
2013-11-07 17:41:03 +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 9d8f38b339 moving all public related code to a self-contained subdirectory
related #100
2013-10-30 16:50:36 -04:00