Changeset 48184
- Timestamp:
- 06/26/2020 06:38:51 PM (3 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r48149 r48184 1012 1012 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 1013 1013 * @param array $plugin_data An array of plugin data. 1014 * @param string $status Status of the plugin. Defaults are 'All', 'Active', 1015 * 'Inactive', 'Recently Activated', 'Upgrade', 'Must-Use', 1016 * 'Drop-ins', 'Search', 'Paused'. 1014 * @param string $status Status filter currently applied to the plugin list. Possible 1015 * values are: 'all', 'active', 'inactive', 'recently_activated', 1016 * 'upgrade', 'mustuse', 'dropins', 'search', 'paused', 1017 * 'auto-update-enabled', 'auto-update-disabled'. 1017 1018 */ 1018 1019 $plugin_meta = apply_filters( 'plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $status ); … … 1132 1133 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 1133 1134 * @param array $plugin_data An array of plugin data. 1134 * @param string $status Status of the plugin. Defaults are 'All', 'Active',1135 * 'Inactive', 'Recently Activated', 'Upgrade', 'Must-Use',1136 * ' Drop-ins', 'Search', 'Paused', 'Auto-updates Enabled',1137 * ' Auto-updates Disabled'.1135 * @param string $status Status filter currently applied to the plugin list. Possible 1136 * values are: 'all', 'active', 'inactive', 'recently_activated', 1137 * 'upgrade', 'mustuse', 'dropins', 'search', 'paused', 1138 * 'auto-update-enabled', 'auto-update-disabled'. 1138 1139 */ 1139 1140 do_action( 'after_plugin_row', $plugin_file, $plugin_data, $status ); … … 1150 1151 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 1151 1152 * @param array $plugin_data An array of plugin data. 1152 * @param string $status Status of the plugin. Defaults are 'All', 'Active',1153 * 'Inactive', 'Recently Activated', 'Upgrade', 'Must-Use',1154 * ' Drop-ins', 'Search', 'Paused', 'Auto-updates Enabled',1155 * ' Auto-updates Disabled'.1153 * @param string $status Status filter currently applied to the plugin list. Possible 1154 * values are: 'all', 'active', 'inactive', 'recently_activated', 1155 * 'upgrade', 'mustuse', 'dropins', 'search', 'paused', 1156 * 'auto-update-enabled', 'auto-update-disabled'. 1156 1157 */ 1157 1158 do_action( "after_plugin_row_{$plugin_file}", $plugin_file, $plugin_data, $status ); -
trunk/src/wp-admin/includes/file.php
r48164 r48184 889 889 * @param string[] $file An array of data for a single file. 890 890 * @param string $new_file Filename of the newly-uploaded file. 891 * @param string $type File type.891 * @param string $type Mime type of the newly-uploaded file. 892 892 */ 893 893 $move_new_file = apply_filters( 'pre_move_uploaded_file', null, $file, $new_file, $type ); … … 941 941 * 942 942 * @type string $file Filename of the newly-uploaded file. 943 * @type string $url URL of the uploaded file.944 * @type string $type File type.943 * @type string $url URL of the newly-uploaded file. 944 * @type string $type Mime type of the newly-uploaded file. 945 945 * } 946 946 * @param string $context The type of upload action. Values include 'upload' or 'sideload'. -
trunk/src/wp-includes/canonical.php
r48182 r48184 851 851 * 852 852 * Passing a false value to the filter will disable the URL guessing 853 * and return early .853 * and return early without performing a redirect. 854 854 * 855 855 * @since 5.5.0 … … 863 863 864 864 /** 865 * Filters whether to short-circuitredirect URL guessing for 404 requests.865 * Short-circuits the redirect URL guessing for 404 requests. 866 866 * 867 867 * Passing a non-null value to the filter will effectively short-circuit … … 870 870 * @since 5.5.0 871 871 * 872 * @param null|string $pre Whether to short-circuit redirect guess 404 permalink.873 * Default null to continue with the URL guessing.872 * @param null|string|false $pre Whether to short-circuit guessing the redirect for a 404. 873 * Default null to continue with the URL guessing. 874 874 */ 875 875 $pre = apply_filters( 'pre_redirect_guess_404_permalink', null ); … … 880 880 if ( get_query_var( 'name' ) ) { 881 881 /** 882 * Filters whether to perform a strict or loose guess.882 * Filters whether to perform a strict guess for a 404 redirect. 883 883 * 884 884 * Passing a truthy value to the filter will redirect only exact post_name matches. … … 886 886 * @since 5.5.0 887 887 * 888 * @param bool $strict_guess Whether to perform a strict /exactguess. Default false (loose guess).888 * @param bool $strict_guess Whether to perform a strict guess. Default false (loose guess). 889 889 */ 890 890 $strict_guess = apply_filters( 'strict_redirect_guess_404_permalink', false ); -
trunk/src/wp-includes/class-wp-http-proxy.php
r48109 r48184 161 161 * @since 2.8.0 162 162 * 163 * @param string $uri UR I to check.164 * @return bool True, to send through the proxy and false if, the proxy should not be used.163 * @param string $uri URL of the request. 164 * @return bool Whether to send the request through the proxy. 165 165 */ 166 166 public function send_through_proxy( $uri ) { … … 182 182 * @since 3.5.0 183 183 * 184 * @param bool|null $override Whether to override the request result. Default null.185 * @param string $uri URL to check.186 * @param array $check Associative array result of parsing the request UR I.187 * @param array $home Associative array result of parsing the site URL .184 * @param bool|null $override Whether to send the request through the proxy. Default null. 185 * @param string $uri URL of the request. 186 * @param array $check Associative array result of parsing the request URL with `parse_url()`. 187 * @param array $home Associative array result of parsing the site URL with `parse_url()`. 188 188 */ 189 189 $result = apply_filters( 'pre_http_send_through_proxy', null, $uri, $check, $home );
Note: See TracChangeset
for help on using the changeset viewer.