Changeset 49196
- Timestamp:
- 10/18/2020 07:17:29 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-importer.php
r49193 r49196 262 262 * 263 263 * @global wpdb $wpdb WordPress database abstraction object. 264 * @global array$wp_actions264 * @global int[] $wp_actions 265 265 */ 266 266 public function stop_the_insanity() { -
trunk/src/wp-includes/plugin.php
r48327 r49196 26 26 27 27 /** @var WP_Hook[] $wp_filter */ 28 global $wp_filter, $wp_actions, $wp_current_filter; 28 global $wp_filter; 29 30 /** @var int[] $wp_actions */ 31 global $wp_actions; 32 33 /** @var string[] $wp_current_filter */ 34 global $wp_current_filter; 29 35 30 36 if ( $wp_filter ) { … … 94 100 * @since 0.71 95 101 * 96 * @global array$wp_filter A multidimensional array of all hooks and the callbacks hooked to them.102 * @global WP_Hook[] $wp_filter A multidimensional array of all hooks and the callbacks hooked to them. 97 103 * 98 104 * @param string $tag The name of the filter to hook the $function_to_add callback to. … … 120 126 * @since 2.5.0 121 127 * 122 * @global array$wp_filter Stores all of the filters and actions.128 * @global WP_Hook[] $wp_filter Stores all of the filters and actions. 123 129 * 124 130 * @param string $tag The name of the filter hook. … … 171 177 * @since 0.71 172 178 * 173 * @global array$wp_filter Stores all of the filters and actions.174 * @global array$wp_current_filter Stores the list of current filters with the current one last.179 * @global WP_Hook[] $wp_filter Stores all of the filters and actions. 180 * @global string[] $wp_current_filter Stores the list of current filters with the current one last. 175 181 * 176 182 * @param string $tag The name of the filter hook. … … 219 225 * functions hooked to `$tag` are supplied using an array. 220 226 * 221 * @global array$wp_filter Stores all of the filters and actions.222 * @global array$wp_current_filter Stores the list of current filters with the current one last.227 * @global WP_Hook[] $wp_filter Stores all of the filters and actions. 228 * @global string[] $wp_current_filter Stores the list of current filters with the current one last. 223 229 * 224 230 * @param string $tag The name of the filter hook. … … 267 273 * @since 1.2.0 268 274 * 269 * @global array$wp_filter Stores all of the filters and actions.275 * @global WP_Hook[] $wp_filter Stores all of the filters and actions. 270 276 * 271 277 * @param string $tag The filter hook to which the function to be removed is hooked. … … 293 299 * @since 2.7.0 294 300 * 295 * @global array$wp_filter Stores all of the filters and actions.301 * @global WP_Hook[] $wp_filter Stores all of the filters and actions. 296 302 * 297 303 * @param string $tag The filter to remove hooks from. … … 317 323 * @since 2.5.0 318 324 * 319 * @global array$wp_current_filter Stores the list of current filters with the current one last325 * @global string[] $wp_current_filter Stores the list of current filters with the current one last 320 326 * 321 327 * @return string Hook name of the current filter or action. … … 352 358 * @see current_filter() 353 359 * @see did_action() 354 * @global array$wp_current_filter Current filter.360 * @global string[] $wp_current_filter Current filter. 355 361 * 356 362 * @param null|string $filter Optional. Filter to check. Defaults to null, which … … 434 440 * by adding it to the function signature. 435 441 * 436 * @global array$wp_filter Stores all of the filters and actions.437 * @global array $wp_actions Increments the amount of timesaction was triggered.438 * @global array$wp_current_filter Stores the list of current filters with the current one last.442 * @global WP_Hook[] $wp_filter Stores all of the filters and actions. 443 * @global int[] $wp_actions Stores the number of times each action was triggered. 444 * @global string[] $wp_current_filter Stores the list of current filters with the current one last. 439 445 * 440 446 * @param string $tag The name of the action to be executed. … … 486 492 * @since 2.1.0 487 493 * 488 * @global array $wp_actions Increments the amount of timesaction was triggered.494 * @global int[] $wp_actions Stores the number of times each action was triggered. 489 495 * 490 496 * @param string $tag The name of the action hook. … … 508 514 * @see do_action() This function is identical, but the arguments passed to the 509 515 * functions hooked to `$tag` are supplied using an array. 510 * @global array $wp_filter Stores all of the filters and actions. 511 * @global array $wp_actions Increments the amount of times action was triggered. 512 * @global array $wp_current_filter Stores the list of current filters with the current one last. 516 * 517 * @global WP_Hook[] $wp_filter Stores all of the filters and actions. 518 * @global int[] $wp_actions Stores the number of times each action was triggered. 519 * @global string[] $wp_current_filter Stores the list of current filters with the current one last. 513 520 * 514 521 * @param string $tag The name of the action to be executed. … … 866 873 * @access private 867 874 * 868 * @global array$wp_filter Stores all of the filters and actions.875 * @global WP_Hook[] $wp_filter Stores all of the filters and actions. 869 876 * 870 877 * @param array $args The collected parameters from the hook that was called.
Note: See TracChangeset
for help on using the changeset viewer.