[wp-trac] [WordPress Trac] #19790: function request : is_plugin_latest($plugin);

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 9 21:38:41 UTC 2012


#19790: function request : is_plugin_latest($plugin);
-----------------------------+------------------------------
 Reporter:  nohalfpixels     |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Plugins          |     Version:  3.3.1
 Severity:  minor            |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by nohalfpixels):

 ahh didnt spot that (probably because of its name).

 it looks a little more complex than what i wanted (but yes does do the
 same).

 i still belive we should action this maybe just as a wrapper of the above
 mentioned function.

 also this doesnt take into account themes and requires more conditionals
 to return either a true or false value.

 and that function requires you load extra files if your not on the right
 page. and also needs more info to return a result (i belive the $api var
 needs to be an array of values).

 wereas what i propose just needs the plugin/theme file

 i think many people after this type of information would have trouble "as
 i did" trying to find a function like the above due to its name.

 especially as wordpress has a naming structure for if functions (is_home,
 is_admin, etc).

 i spent many hours searching for a "is_latest****"

 thanks for pointing out the above, its great to learn new things, what do
 you think to my response?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19790#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list