Changeset 46684 for trunk/src/wp-includes/class-wp-rewrite.php
- Timestamp:
- 11/09/2019 12:57:27 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-rewrite.php
r46661 r46684 1412 1412 * @param string[] $rules Array of rewrite rules generated for tags, keyed by their regex pattern. 1413 1413 */ 1414 $rules = apply_filters ( 'tag_rewrite_rules', $rules);1414 $rules = apply_filters_deprecated( 'tag_rewrite_rules', array( $rules ), '3.1.0', 'post_tag_rewrite_rules' ); 1415 1415 } 1416 1416 … … 1561 1561 * @param string $rules mod_rewrite Rewrite rules formatted for .htaccess. 1562 1562 */ 1563 return apply_filters ( 'rewrite_rules', $rules);1563 return apply_filters_deprecated( 'rewrite_rules', array( $rules ), '1.5.0', 'mod_rewrite_rules' ); 1564 1564 } 1565 1565
Note: See TracChangeset
for help on using the changeset viewer.