Opened 10 years ago
Closed 9 years ago
#36862 closed defect (bug) (fixed)
Inccorrect @since tags in WP_Plugins_List_Table::single_row()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.7 | Priority: | normal |
| Severity: | normal | Version: | 4.4 |
| Component: | Plugins | Keywords: | has-patch commit |
| Focuses: | docs | Cc: |
Description
For the (network_admin_)plugin_action_links_{$plugin_file} filters, the individual @since tag indicating the introduction of the filters is incorrect. The old $prefix included a trailing underscore. In case of the network_admin_* filters, also the version is incorrect (see the according/general plugin_* filters).
Attachments (2)
Change History (13)
#2
in reply to:
↑ description
@
9 years ago
- Milestone changed from Awaiting Review to 4.7
This ticket was mentioned in Slack in #core by stevenkword. View the logs.
9 years ago
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
9 years ago
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
9 years ago
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
9 years ago
#8
@
9 years ago
- Keywords 2nd-opinion added
I think I'd be interested in @johnbillion's take here, since he introduced the docs. I do agree that the underscore wasn't there before so if we keep the initial introduce changelog entries, that at least should be fixed.
Some history:
plugin_action_linkswas introduced in [7517] (2.5.0).$contextparameter was added [8049] (2.6.0).plugin_action_links_$plugin_filewas added in [9124] (2.7.0).network_admin_*versions were added in [17004] (3.1.0).Replying to tfrommen:
I think the version is correct, as those were introduced in [17004].
I'm not sure the "As hook_name" notation is needed here. We use that for renamed hooks, but these ones were not renamed, just explicitly written out. Using it for the last two hooks is also incorrect, because they were introduced without
$prefix.36862.2.patch is my take on the corrections.