This is a really simple fix, but I had spent over 2 hours trying to figure out what was going wrong. Here are the steps I took to get phpunit working: Create a site called wordpress.local cd into /app/public and clear out the contents of public/ (save your wp-config.php file) svn co https://develop.svn.wordpress.org/trunk/ into public/ … [Read more…]
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /…/wp-includes/functions.php on line 3622 If you’re getting the above notice, you’re going to need to disable _doing_it_wrong for the bbp_setup_current_user() function, here’s how! /** * Disables trigger_error … [Read more…]
In Aubrey’s first post (!), he goes over how t use git to test & update your plugins for WordPress 4.2 (and future releases as well!). Source: Use Git to Test & Update Your Plugins for WordPress 4.2
This is what I did anyhow… Here my external disk is Sling and it has the proper permissions root:admin. Before it had root:wheel which wasn’t allowing me to write to the disk as I did before. To get the right permissions I used sudo chown root:admin Sling/. I thought that this permission would only apply … [Read more…]
The documentation seems wrong, you should use: defaults write com.sublimetext.2 ApplePressAndHoldEnabled -bool true
If you’re like me you work with those (dot) folders and files quite often, but don’t really enjoy the clutter. Plus, you’re probably going to mess with them in Terminal most of the time. We can use Automator (an app build into your Mac) to create a new Service and add Run Shell Script with … [Read more…]
I recently installed Conque in my Vim configuration and wasn’t able to load by .bash_profile when I launched bash. I was Googeling around trying to find a solution, but couldn’t find it. Hope this helps someone. nnoremap <Leader>tt :ConqueTermSplit bash –rcfile ~/.bash_profile<CR> You can see this example in my .vimrc.after too.
Check out http://stackoverflow.com/questions/26703150/cant-add-new-rule-to-firefox-devtools and help me figure this out, or answer in the comments.
Recently I have been experiencing an issue with Preview Changes not working in WordPress on a Nginx VPS over at DigitalOcean. I use a few common config files from nginx-common-config. Before, the configuration did not fix the problem, but after it did. Thanks to the Varying-Vagrant-Vagrants/VVV guys for a configuration that solved the problem. To … [Read more…]
I recently had to find out how to do this while working on a site a couple weeks ago and thought I’d share. So, what we’re making is this. HTML From the above HTML you can see we first create three layers: a background (black solid background with rounded corners) a stroke (a white circle) … [Read more…]