Reputation
826
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
6 27
Impact
~37k people reached

  • 0 posts edited
  • 4 helpful flags
  • 157 votes cast
Mar
30
accepted How to get the active theme's slug?
Mar
17
comment How to get the active theme's slug?
Thanks @toscho, for pointing that out.
Mar
17
answered How to get the active theme's slug?
Mar
17
comment How to get the active theme's slug?
@PieterGoosen That's a good rule of thumb but there are exceptions :P
Mar
17
comment How to get the active theme's slug?
I need it because I'm adding theme-specific styling to a plugin I built so need a unique identifier.
Mar
17
asked How to get the active theme's slug?
Mar
7
accepted Who's job is it to load a plugin's translated strings?
Mar
5
revised Who's job is it to load a plugin's translated strings?
deleted 76 characters in body
Mar
5
comment Who's job is it to load a plugin's translated strings?
If I have no translated strings to distribute with my plugin, is it necessary to make the call to load_plugin_textdomain()? Aside from myplugin.pot, there's nothing in myplugin/languages.
Mar
5
comment Who's job is it to load a plugin's translated strings?
Regarding the third bullet, why is supplying the default myplugin.mo file necessary?
Mar
5
asked Who's job is it to load a plugin's translated strings?
Feb
28
awarded  Popular Question
Feb
18
accepted When unit testing a plugin, does the plugin need to be in the wp-content/plugins directory of the WordPress tests install?
Feb
18
asked When unit testing a plugin, does the plugin need to be in the wp-content/plugins directory of the WordPress tests install?
Feb
17
comment Implement phpunit testing on a plugin
You mention in your tutorial that after requiring TEST_PLUGIN_FILE, the plugin needs to be installed. My question is how do you install it? Is it as simple as updating the active_plugins option?
Feb
16
comment How to set the plugin load order when updating the active_plugins option?
I don't understand what you mean. Imagine what would happen if I didn't load BuddyPress first and then I tried to use a BuddyPress function made available through their API?
Feb
16
comment How to set the plugin load order when updating the active_plugins option?
I'm unit testing my plugin and need a particular plugin (BuddyPress) to be available before my code is executed.
Feb
16
asked How to set the plugin load order when updating the active_plugins option?
Jan
24
comment Using Travis CI to run unit tests and running phpunit locally
I suppose there's also the advantage of having a clean commit history. If a build fails locally, then you can fix before committing
Jan
23
comment Using Travis CI to run unit tests and running phpunit locally
Aside from the wait time, are there any more advantages of running phpunit locally?