-
Good PHP practice says that files should either define stuff (classes, functions and so on) with no side effects, or be a file that uses those definitions and therefore has an effect.
See [PSR-1](htt…
-
Hi Tom,
I am having trouble working out how I can have the variable in further class.
Thanks
-
The first fork of the server-command repo has popped up (yay!):
https://github.com/leoj3n/server-command/compare/roots-rewrites
It would be neat if there was a way to support custom rewrite rules in…
-
`function wpfbogp_admin_warnings` is being displayed to all logged in users - even on the subscriber level.
solution is adding: `if ( current_user_can('manage_options') )` as condition but it does no…
-
_From [javalizard@gmail.com](https://code.google.com/u/javalizard@gmail.com/) on April 17, 2010 01:25:51_
Any subclass of THtmlElement will have the default tagname of 'span'
Subclasses should be ab…
-
Hi Daniel,
I want to start using your template because I want to start using TDD but it stops when it loads wp-load.php.
I've added a few echos and this is what I get:
`$ phpunit tests
reading Login…
-
@fracek I hope you can help me. I am one step away from a complete meltdown :imp:
This site seems to be the "main" reference for the hook: http://wpengineer.com/1295/meta-links-for-wordpress-plugins…
-
I'm developing a site with a multi-theme component, and each section of the site radically alters the base styles. This is being controlled through a single body class but Woocommerce makes the `_bod…
-
I mentioned this briefly on #209, but I thought I should try to spread the word around, see if anybody's interested in this direction.
Roots is a great theme, and it immediately felt good to use. It …
-
I would replace most PHP and MySQL, use more AJAX,fetch data as JSON directly with `getJSON` and read all data from the JSON object (1 database request => 1 object with all data?)
These scripts for p…