Changeset 48105
- Timestamp:
- 06/20/2020 12:12:39 PM (4 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-automatic-updater.php
r48097 r48105 277 277 * @param string $type The type of update being checked: 'core', 'theme', 'plugin', 'translation'. 278 278 * @param object $item The update offer. 279 *280 279 * @return null|WP_Error 281 280 */ … … 1038 1037 * @type string $headers Any email headers, defaults to no headers. 1039 1038 * } 1040 * @param string $type The type of email being sent. Can be one of 1041 * 'success', 'fail', 'mixed'. 1042 * @param array $successful_updates The updates that succeeded. 1043 * @param array $failed_updates The updates that failed. 1039 * @param string $type The type of email being sent. Can be one of 'success', 'fail', 'mixed'. 1040 * @param array $successful_updates A list of updates that succeeded. 1041 * @param array $failed_updates A list of updates that failed. 1044 1042 */ 1045 1043 $email = apply_filters( 'auto_plugin_theme_update_email', $email, $type, $successful_updates, $failed_updates ); -
trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php
r48092 r48105 640 640 public function column_description( $theme ) { 641 641 global $status, $totals; 642 642 643 if ( $theme->errors() ) { 643 644 $pre = 'broken' === $status ? __( 'Broken Theme:' ) . ' ' : ''; … … 681 682 ); 682 683 } 684 683 685 /** 684 686 * Filters the array of row meta for each theme in the Multisite themes … … 687 689 * @since 3.1.0 688 690 * 689 * @param string[] $theme_meta An array of the theme's metadata, 690 * including the version, author, and 691 * theme URI. 691 * @param string[] $theme_meta An array of the theme's metadata, including 692 * the version, author, and theme URI. 692 693 * @param string $stylesheet Directory name of the theme. 693 694 * @param WP_Theme $theme WP_Theme object. … … 695 696 */ 696 697 $theme_meta = apply_filters( 'theme_row_meta', $theme_meta, $stylesheet, $theme, $status ); 698 697 699 echo implode( ' | ', $theme_meta ); 698 700 … … 769 771 * @since 5.5.0 770 772 * 771 * @param string $html The HTML for theme ’s auto-update setting including toggle auto-update action link772 * and time to next update.773 * @param string $html The HTML for theme's auto-update setting, including 774 * toggle auto-update action link and time to next update. 773 775 * @param string $stylesheet Directory name of the theme. 774 776 * @param WP_Theme $theme WP_Theme object. -
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r47550 r48105 118 118 119 119 /** 120 * Filters the tabs shown on the Plugin Installscreen.120 * Filters the tabs shown on the Add Plugins screen. 121 121 * 122 122 * @since 2.7.0 123 123 * 124 * @param string[] $tabs The tabs shown on the Plugin Install screen. Defaults include 'featured', 'popular',125 * 'recommended', 'favorites', and 'upload'.124 * @param string[] $tabs The tabs shown on the Add Plugins screen. Defaults include 125 * 'featured', 'popular', 'recommended', 'favorites', and 'upload'. 126 126 */ 127 127 $tabs = apply_filters( 'install_plugins_tabs', $tabs ); 128 128 129 129 /** 130 * Filters tabs not associated with a menu item on the Plugin Installscreen.130 * Filters tabs not associated with a menu item on the Add Plugins screen. 131 131 * 132 132 * @since 2.7.0 133 133 * 134 * @param string[] $nonmenu_tabs The tabs that don't have a menu item on the Plugin Installscreen.134 * @param string[] $nonmenu_tabs The tabs that don't have a menu item on the Add Plugins screen. 135 135 */ 136 136 $nonmenu_tabs = apply_filters( 'install_plugins_nonmenu_tabs', $nonmenu_tabs ); … … 208 208 209 209 /** 210 * Filters API request arguments for each Plugin Installscreen tab.210 * Filters API request arguments for each Add Plugins screen tab. 211 211 * 212 212 * The dynamic portion of the hook name, `$tab`, refers to the plugin install tabs. … … 215 215 * @since 3.7.0 216 216 * 217 * @param array| bool $args Plugin Install API arguments.217 * @param array|false $args Plugin install API arguments. 218 218 */ 219 219 $args = apply_filters( "install_plugins_table_api_args_{$tab}", $args ); -
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r48092 r48105 1007 1007 * @since 2.8.0 1008 1008 * 1009 * @param string[] $plugin_meta An array of the plugin's metadata, 1010 * including the version, author, 1011 * author URI, and plugin URI. 1009 * @param string[] $plugin_meta An array of the plugin's metadata, including 1010 * the version, author, author URI, and plugin URI. 1012 1011 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 1013 1012 * @param array $plugin_data An array of plugin data. … … 1017 1016 */ 1018 1017 $plugin_meta = apply_filters( 'plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $status ); 1018 1019 1019 echo implode( ' | ', $plugin_meta ); 1020 1020 … … 1090 1090 * @since 5.5.0 1091 1091 * 1092 * @param string $html The HTML of the plugin's auto-update column content, 1093 * includingtoggle auto-update action links and time to next update.1092 * @param string $html The HTML of the plugin's auto-update column content, including 1093 * toggle auto-update action links and time to next update. 1094 1094 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 1095 1095 * @param array $plugin_data An array of plugin data. -
trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php
r47550 r48105 138 138 * @since 3.7.0 139 139 * 140 * @param array $args An array of themesAPI arguments.140 * @param array|false $args Theme install API arguments. 141 141 */ 142 142 $args = apply_filters( "install_themes_table_api_args_{$tab}", $args ); -
trunk/src/wp-admin/includes/plugin.php
r48067 r48105 678 678 * @param string $plugin Path to the plugin file relative to the plugins directory. 679 679 * @param bool $network_wide Whether to enable the plugin for all sites in the network 680 * or just the current site. Multisite only. Default isfalse.680 * or just the current site. Multisite only. Default false. 681 681 */ 682 682 do_action( 'activate_plugin', $plugin, $network_wide ); … … 693 693 * 694 694 * @param bool $network_wide Whether to enable the plugin for all sites in the network 695 * or just the current site. Multisite only. Default isfalse.695 * or just the current site. Multisite only. Default false. 696 696 */ 697 697 do_action( "activate_{$plugin}", $network_wide ); … … 720 720 * @param string $plugin Path to the plugin file relative to the plugins directory. 721 721 * @param bool $network_wide Whether to enable the plugin for all sites in the network 722 * or just the current site. Multisite only. Default isfalse.722 * or just the current site. Multisite only. Default false. 723 723 */ 724 724 do_action( 'activated_plugin', $plugin, $network_wide ); -
trunk/src/wp-admin/themes.php
r48097 r48105 553 553 554 554 /** 555 * Returns the template for displayingthe auto-update setting for a theme.555 * Returns the JavaScript template used to display the auto-update setting for a theme. 556 556 * 557 557 * @since 5.5.0 … … 586 586 587 587 /** 588 * Filters the JavaScript template used in Backboneto display the auto-update setting for a theme (in the overlay).588 * Filters the JavaScript template used to display the auto-update setting for a theme (in the overlay). 589 589 * 590 590 * See {@see wp_prepare_themes_for_js()} for the properties of the `data` object.
Note: See TracChangeset
for help on using the changeset viewer.