Categories
So I don't forget

Get WordPress.org plugin info api

I keep losing this link. Maybe I won’t need to Google it every time if I actually write it down.

http://api.wordpress.org/plugins/info/1.0/jetpack.json

So, for example, get a nice list of all Jetpack versions (tags) in the .org svn repo.

$jetpack_info = json_decode( file_get_contents( 'http://api.wordpress.org/plugins/info/1.0/jetpack.json' ) );
var_dump( $jetpack_info->versions );

Categories
Uncategorized

7 Years with WordPress

Happy WordPressiversary, WordPress!

Categories
debugging

If you find this as annoying as I do…

If you debug by printing things to the wp-admin, then you probably find this as annoying as I do.  Add this to your functionality plugin!

add_action( 'admin_enqueue_scripts', 'friendly_debug_for_wp_admin' );
function friendly_debug_for_wp_admin() { ?>
   <style>
      #adminmenuback {
         position: relative !important;
      }
   </style>
<?php }
Categories
Uncategorized

Happy Thursday