From 99267c4e1d99196b2e1c1a8231dbeebd53f83ac6 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 31 Oct 2016 19:37:39 +0000 Subject: [PATCH] Plugins: Correct the `since` docs for the various `plugin_action_links` filters. Props tfrommen, SergeyBiryukov git-svn-id: https://develop.svn.wordpress.org/trunk@39063 602fd350-edb4-49c9-b593-d223f7449a82 --- .../includes/class-wp-plugins-list-table.php | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/wp-admin/includes/class-wp-plugins-list-table.php b/src/wp-admin/includes/class-wp-plugins-list-table.php index 6aa8788aec..136fbd4c73 100644 --- a/src/wp-admin/includes/class-wp-plugins-list-table.php +++ b/src/wp-admin/includes/class-wp-plugins-list-table.php @@ -653,8 +653,7 @@ class WP_Plugins_List_Table extends WP_List_Table { * The default action links for the Network plugins list table include * 'Network Activate', 'Network Deactivate', 'Edit', and 'Delete'. * - * @since 3.1.0 As `{$prefix}_plugin_action_links` - * @since 4.4.0 + * @since 3.1.0 * * @param array $actions An array of plugin action links. * @param string $plugin_file Path to the plugin file relative to the plugins directory. @@ -671,8 +670,7 @@ class WP_Plugins_List_Table extends WP_List_Table { * The dynamic portion of the hook name, $plugin_file, refers to the path * to the plugin file, relative to the plugins directory. * - * @since 3.1.0 As `{$prefix}_plugin_action_links_{$plugin_file}` - * @since 4.4.0 + * @since 3.1.0 * * @param array $actions An array of plugin action links. * @param string $plugin_file Path to the plugin file relative to the plugins directory. @@ -692,8 +690,8 @@ class WP_Plugins_List_Table extends WP_List_Table { * 'Activate', 'Deactivate', and 'Edit', for a network site, and * 'Activate', 'Deactivate', 'Edit', and 'Delete' for a single site. * - * @since 2.5.0 As `{$prefix}_plugin_action_links` - * @since 4.4.0 + * @since 2.5.0 + * @since 2.6.0 The `$context` parameter was added. * * @param array $actions An array of plugin action links. * @param string $plugin_file Path to the plugin file relative to the plugins directory. @@ -710,8 +708,7 @@ class WP_Plugins_List_Table extends WP_List_Table { * The dynamic portion of the hook name, $plugin_file, refers to the path * to the plugin file, relative to the plugins directory. * - * @since 2.7.0 As `{$prefix}_plugin_action_links_{$plugin_file}` - * @since 4.4.0 + * @since 2.7.0 * * @param array $actions An array of plugin action links. * @param string $plugin_file Path to the plugin file relative to the plugins directory.