Changeset 48794
- Timestamp:
- 08/15/2020 01:38:52 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r48629 r48794 398 398 * @since 5.3.1 399 399 * 400 * @param string $block_name Block name. 401 * @param array $block_attributes Block attributes. 402 * @param string $block_content Block save content. 400 * @param string|null $block_name Block name. Null if the block name is unknown, 401 * e.g. Classic blocks have their name set to null. 402 * @param array $block_attributes Block attributes. 403 * @param string $block_content Block save content. 403 404 * @return string Comment-delimited block content. 404 405 */ 405 function get_comment_delimited_block_content( $block_name = null, $block_attributes, $block_content ) {406 function get_comment_delimited_block_content( $block_name, $block_attributes, $block_content ) { 406 407 if ( is_null( $block_name ) ) { 407 408 return $block_content; -
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 -
trunk/src/wp-includes/nav-menu.php
r48793 r48794 1055 1055 * @access private 1056 1056 * 1057 * @param int $object_id Optional. The ID of the original object being trashed. Default 0.1057 * @param int $object_id The ID of the original object being trashed. 1058 1058 * @param int $tt_id Term taxonomy ID. Unused. 1059 1059 * @param string $taxonomy Taxonomy slug. 1060 1060 */ 1061 function _wp_delete_tax_menu_item( $object_id = 0, $tt_id, $taxonomy ) {1061 function _wp_delete_tax_menu_item( $object_id, $tt_id, $taxonomy ) { 1062 1062 $object_id = (int) $object_id; 1063 1063 -
trunk/tests/phpunit/tests/rest-api/rest-attachments-controller.php
r48499 r48794 1570 1570 } 1571 1571 1572 protected function check_post_data( $attachment, $data, $context = 'view', $links ) {1572 protected function check_post_data( $attachment, $data, $context = 'view', $links = array() ) { 1573 1573 parent::check_post_data( $attachment, $data, $context, $links ); 1574 1574
Note: See TracChangeset
for help on using the changeset viewer.