[wp-trac] [WordPress Trac] #9532: Get the readme.txt metadata
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 14 10:33:11 GMT 2009
#9532: Get the readme.txt metadata
-------------------------+--------------------------------------------------
Reporter: Txanny | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: Plugins | Version: 2.7.1
Severity: normal | Keywords: has-patch tested
-------------------------+--------------------------------------------------
Some times we need to know some more information about the plugin that
provided by plugin metadata: This in the header of the plugin file and
read with get_plugin_data().
Specially, the most interesting data located at the readme.txt file, is
the 'Required WordPress Version'.
A function to get this information would be really needed if we want to
check the Required WordPress or get the link to the donations page.
I attached here a patch with the function to be included in the wp-
admin/includes/plugin.php file. I've been using this function for a while,
so it is well tested.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9532>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list