Last weekend was WordCamp US (WCUS ), during which Matt Mullenweg gave his yearly “State of the Word” keynote speech. It’s interesting, particularly this year, as it’s not just about the previous year but also about what to expect from WordPress in the coming year.
(more…)Category: Development
-

Ironic WPScan Vulnerability Database Website Message
The irony of getting this message when attempting to visit the WPScan Vulnerability Database site is not lost on me 😉

-

How to work out the current state of a plugin
It’s a rare instance where you need to know, from your own code, the state of a plugin but, for instance, this may be something particularly relevant to a theme.
The usual way is to use the PHP command
functions_existsto check whether a specific function is present. Of course, hard-coding this is probably not the best idea as function names change. Instead the WordPress functionis_plugin_activeis a better solution and you only need to specify the (non-changing) plugin slug for this to work.Now, this will tell you if the plugin is active but what if you also want to know if it’s installed or not?
(more…) -

Why WordPress developers often get the is_admin function wrong
Let me first say that I’m guilty. For “performance reasons” I’m always careful to only run functions in their appropriate area of WordPress – so, something only used in the admin area will be checked via the use of
is_admin. Only if this is true will I then run that code. It makes sense.But for plugins there is no performance improvement.
(more…)


