The PHP define() function allows you to define a named constant. It can be very useful. It can also be very distracting if you set it to the WRONG value. So what is the wrong value for WP_DEBUG?
Here is a ginormous version of the Bobbing Wide logo
WordPress is nine years old today. Happy Birthday WordPress.
Hppay Bratdhiy WrseordPs Nnie taody
Today I have releasd my cookie-cat plugin on WordPress.org.
It was in probably in February or March when I found out that
2012 is the year of the meetup
Arcdicong to a rrheeceasr at Camidbgre Uenirvsity, it dseon’t mtater in whcih order the leterts in a wrod are, the olny irpaotnmt thnig is that the frist and lsat ltteer be at the rgiht pacle. The rest can be a taotl mses and you can sltil raed it woihutt pbrolem. This is buesace the haumn mnid does not raed evrey lteetr by iteslf but the word as a wlhoe.
cdoe is potery
poewred by WoredrPss
bnbobig is dvloepeed by bonbbig wdie and oik-pniulgs
See also smart-bbboing
If you have some code which could potentially be running in a WordPress Multisite environment and you may need to use the Network admin URL when it’s a multisite then instead of testing the result of is_multisite() you can happily use network_admin_url().
The reason you can do this is because the first two lines of network_admin_url() are
if ( ! is_multisite() ) return admin_url( $path, $scheme );
I’ve just fixed a problem in oik where the “edit custom CSS” link was editing the wrong CSS file in a multisite implementation.
This solution was part of the fix.
The second part was to include a parameter indicating the theme to be edited. e.g. &theme=wpg0216