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

WordPress Trac noreply at wordpress.org
Mon Mar 18 19:26:57 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):

 There are several tickets that were based upon this passing a $before and
 $after parameter. I’m on mobile so I can’t quite see about how this would
 effect those others.

 Your example above for #46269 doesn’t seem to provide and ending span, or
 does it?

 Passing variables to `wp_get_update_php_annotation()` was to provide for
 the parameter pass through. As you’ve moved the parameters into the
 echoing function this may not be necessary. But I’d have to test. Not sure
 I can get to that until tomorrow. Testing involves looking in all places
 that plugin updates occur with the annotation present.

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


More information about the wp-trac mailing list