Changeset 46146 for trunk/src/wp-includes/plugin.php
- Timestamp:
- 09/15/2019 12:03:04 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/plugin.php
r45674 r46146 182 182 global $wp_filter, $wp_current_filter; 183 183 184 $args = array();184 $args = func_get_args(); 185 185 186 186 // Do 'all' actions first. 187 187 if ( isset( $wp_filter['all'] ) ) { 188 188 $wp_current_filter[] = $tag; 189 $args = func_get_args();190 189 _wp_call_all_hook( $args ); 191 190 } … … 202 201 } 203 202 204 if ( empty( $args ) ) { 205 $args = func_get_args(); 206 } 207 208 // don't pass the tag name to WP_Hook 203 // Don't pass the tag name to WP_Hook. 209 204 array_shift( $args ); 210 205
Note: See TracChangeset
for help on using the changeset viewer.