Changeset 50374
- Timestamp:
- 02/17/2021 12:43:26 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-privacy-policy-content.php
r50161 r50374 670 670 * @since 4.9.6 671 671 * @since 5.0.0 Added the `$strings`, `$description`, and `$blocks` parameters. 672 * 673 * @deprecated 5.7.0 This filter has been deprecated. 672 * @deprecated 5.7.0 Use wp_add_privacy_policy_content() instead. 674 673 * 675 674 * @param string $content The default policy content. … … 678 677 * @param bool $blocks Whether the content should be formatted for the block editor. 679 678 */ 680 return apply_filters_deprecated( 'wp_get_default_privacy_policy_content', array( $content, $strings, $description, $blocks ), '5.7.0', false ); 679 return apply_filters_deprecated( 680 'wp_get_default_privacy_policy_content', 681 array( $content, $strings, $description, $blocks ), 682 '5.7.0', 683 'wp_add_privacy_policy_content()' 684 ); 681 685 } 682 686
Note: See TracChangeset
for help on using the changeset viewer.