For a while now I’ve been seeing strange links appearing on my blog pages. They first appeared after upgrading Google Analytics by Yoast from version 4.3.5 to version 5. I had hoped that the problem would have been fixed by now. But I’m still getting it with version 5.1.2. [Read more…]
In this blog post I show how to use Windows Symbolic Links when developing and testing a plugin to run on WordPress and WordPress Multisite using a single code base;
mklink /J target-dir source-dir
I’m just looking at some code I wrote a while ago and was a bit surprised to see a double slash comment that appeared to be over two lines. It looks wrong but it works… Well, it doesn’t go wrong.
// Handle http://oik-plugins.co.uk/plugins/download?plugin=x&version=y&id=z&action=update
I know I've suffered this myself I don't think it's a sin "I often find I can't do things until I am logged in"
By default, when you register a post type, WordPress sets the value of the required capability for Add New to that used for Edit (i.e. All Posts). If you want to prevent users from using Add New content but still allow them to Edit content then you will need to assign different capability names.
But that’s not all. With the current version of WordPress ( 4.0 ) you need to implement a small workaround. [Read more…]
The top ten questions to ask when something doesn’t work. [Read more…]
Hello WordCamp Bournemouth. [Read more…]
I’m just completing the finishing touches to phase 7 of a project first demoed in the Lake District, in July 2013, at Human Made’s pre WordCamp Lancaster retreat.
The vision of the project is to be
the complete reference for the WordPress Application Programming Interface
It’s nearly a month since WordPress 3.9 was officially released. I finally upgraded my local version. Then things went wrong. Turns out I’d not tested my new oik-batch plugin on WordPress 3.9 after all. [Read more…]
A while ago, I wrote some notes about a problem associated with restoring autosaves of CPTs. Now, in advance of WordCamp Sheffield I thought I’d spend some time investigating it. In fact, I’ve actually raised a ticket ( #27938 ) and developed a patch. Perhaps it can be tested at contributor day.