[wp-trac] [WordPress Trac] #18629: Show SVN revision in 'right now' (and footer)
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 18 01:28:40 UTC 2012
#18629: Show SVN revision in 'right now' (and footer)
----------------------------+-----------------------
Reporter: Ipstenu | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.5
Component: Administration | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+-----------------------
Changes (by SergeyBiryukov):
* keywords: has-patch needs-refresh => has-patch
Comment:
[attachment:18629.4.patch] is the refreshed patch.
However, the method of getting the revision number by parsing
`.svn/entries` no longer works since Subversion 1.7. It seems that now
there's no easy way to get SVN revision number from PHP without calling
external programs.
I guess we should still replace `$GLOBALS['wp_version']` with
`get_bloginfo()`, so that a plugin could implement `get_svn_revision()`
and hook into there. [attachment:18629.5.patch] does that.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18629#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list