Changeset 48794 for trunk/src/wp-includes/functions.php
- Timestamp:
- 08/15/2020 01:38:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r48695 r48794 831 831 * @since 5.3.0 The `$content` parameter was made optional, and the `$post` parameter was 832 832 * updated to accept a post ID or a WP_Post object. 833 * @since 5.6.0 The `$content` parameter is no longer optional, but passing `null` to skip it 834 * is still supported. 833 835 * 834 836 * @global wpdb $wpdb WordPress database abstraction object. 835 837 * 836 * @param string 838 * @param string|null $content Post content. If `null`, the `post_content` field from `$post` is used. 837 839 * @param int|WP_Post $post Post ID or post object. 838 840 * @return null|bool Returns false if post is not found. 839 841 */ 840 function do_enclose( $content = null, $post ) {842 function do_enclose( $content, $post ) { 841 843 global $wpdb; 842 844
Note: See TracChangeset
for help on using the changeset viewer.