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

20 commits

Author SHA1 Message Date
Gytis Repečka a57e6e7460
Add shortcode support. 2020-07-17 16:58:32 +03:00
Tal Ater 579fb9823a Fixed mistake in comment. 2015-11-25 20:48:25 -05:00
Devin 2508a4567b Merge pull request #340 from LeeRobertsMe/patch-1
Update class-plugin-name-public.php so the correct file type is defined.
2015-11-03 08:25:04 -05:00
LeeRobertsMe a11edd3138 Update plugin-name-public.js 2015-10-08 13:29:18 +01:00
LeeRobertsMe 1fe19e455f Update class-plugin-name-public.php 2015-10-08 12:25:28 +01:00
Devin Vinson 5391e0ca27 Remove .org parent folder structure
Flattening the folder structure for a bit easier auto-inclusion into
projects and local development.

See:
https://github.com/DevinVinson/WordPress-Plugin-Boilerplate/issues/295
2015-07-03 23:33:03 -04:00
Tom McFarlin eecfb8a4cd Restarting at ground zero.
Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
2014-03-13 10:28:40 -04: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