Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Show svn revision in the "Right Now" dashboard widget
<?php
function pm_right_now_svn_revision() {
if ( ! $svn = File( '.svn/entries' ) )
return;
echo "<p>SVN Revision: {$svn[3]}</p>";
}
add_action( 'rightnow_end', 'pm_right_now_svn_revision' );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.