[wp-trac] [WordPress Trac] #46044: Add `wp_get_update_php_annotation()` to return the Update PHP annotation

WordPress Trac noreply at wordpress.org
Tue Mar 19 13:56:39 UTC 2019


#46044: Add `wp_get_update_php_annotation()` to return the Update PHP annotation
-----------------------------------------------+---------------------
 Reporter:  afragen                            |       Owner:  (none)
     Type:  defect (bug)                       |      Status:  new
 Priority:  normal                             |   Milestone:  5.2
Component:  Plugins                            |     Version:  5.1
 Severity:  normal                             |  Resolution:
 Keywords:  has-patch servehappy dev-feedback  |     Focuses:
-----------------------------------------------+---------------------

Comment (by afragen):

 I will update the return type to return and empty string.

 @flixos90 I’m not sure why you think we can’t change the functions to that
 outlined above by @desrosj? Nothing would break and as far as I can tell
 these functions are only used within core. I’m all for ''doing it right''.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46044#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list