Changeset 50791
- Timestamp:
- 04/26/2021 03:36:55 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-template.php
r50396 r50791 877 877 * @param bool $required Whether the user needs to supply a password. True if password has not been 878 878 * provided or is incorrect, false if password has been supplied or is not required. 879 * @param WP_Post $post Post data.879 * @param WP_Post $post Post object. 880 880 */ 881 881 return apply_filters( 'post_password_required', $required, $post ); … … 1644 1644 * 1645 1645 * @since 2.7.0 1646 * @since 5.1.0 Added the $attrparameter.1646 * @since 5.1.0 Added the `$attr` parameter. 1647 1647 * 1648 1648 * @param string $link_html The page link HTML output. … … 1735 1735 * 1736 1736 * @since 2.7.0 1737 * 1738 * @param string $output The password form HTML output. 1737 * @since 5.8.0 Added the `$post` parameter. 1738 * 1739 * @param string $output The password form HTML output. 1740 * @param WP_Post $post Post object. 1739 1741 */ 1740 return apply_filters( 'the_password_form', $output );1742 return apply_filters( 'the_password_form', $output, $post ); 1741 1743 } 1742 1744
Note: See TracChangeset
for help on using the changeset viewer.