#48777 closed defect (bug) (fixed)
get_preferred_from_update_core is missing a @since value
Reported by: | zodiac1978 | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Upgrade/Install | Keywords: | has-patch |
Focuses: | docs | Cc: | |
PR Number: |
Description
I was using https://wpseek.com/pluginfilecheck/ to check a plugin and got a "Missing version information" error for get_preferred_from_update_core
, so I think there is the @since
line missing.
It looks like this was the commit introducing the function:
https://github.com/WordPress/WordPress/commit/e55a05453a270fe551073ab25daa375271c40c0c
so the correct line would be:
* @since 2.7.0
Attachments (1)
Change History (6)
#1
follow-up:
↓ 2
@
9 hours ago
Wow, that was fast @sathyapulse! I was just preparing the patch myself and then your comment was coming in. Thanks for the fast patch.
#2
in reply to:
↑ 1
@
9 hours ago
Replying to zodiac1978:
Wow, that was fast @sathyapulse! I was just preparing the patch myself and then your comment was coming in. Thanks for the fast patch.
I thought you just reported the bug and not fixing it :-)
Note: See
TracTickets for help on using
tickets.
The patch make sure and adds the missing since version to all the functions introduced in the ticket #8023.