Changeset 56547
- Timestamp:
- 09/08/2023 09:30:38 AM (12 months ago)
- Location:
- trunk
- Files:
-
- 136 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-theme-upgrader.php
r56174 r56547 769 769 return $theme; 770 770 } 771 772 771 } -
trunk/src/wp-admin/includes/class-walker-nav-menu-checklist.php
r51779 r56547 124 124 $output .= '<input type="hidden" class="menu-item-xfn" name="menu-item[' . $possible_object_id . '][menu-item-xfn]" value="' . esc_attr( $menu_item->xfn ) . '" />'; 125 125 } 126 127 126 } -
trunk/src/wp-admin/includes/class-walker-nav-menu-edit.php
r55276 r56547 320 320 $output .= ob_get_clean(); 321 321 } 322 323 322 } -
trunk/src/wp-admin/includes/class-wp-filesystem-base.php
r56174 r56547 863 863 return false; 864 864 } 865 866 865 } -
trunk/src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php
r55911 r56547 165 165 } 166 166 } 167 168 167 } -
trunk/src/wp-admin/includes/class-wp-site-health.php
r56475 r56547 3634 3634 return apply_filters( 'site_status_available_object_cache_services', $services ); 3635 3635 } 3636 3637 3636 } -
trunk/src/wp-admin/includes/class-wp-users-list-table.php
r56450 r56547 681 681 return apply_filters( 'get_role_list', $role_list, $user_object ); 682 682 } 683 684 683 } -
trunk/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-svg-icons.php
r49184 r56547 455 455 456 456 ); 457 458 457 } -
trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php
r52022 r56547 464 464 return ( ( isset( $checked ) && true === $checked ) ? true : false ); 465 465 } 466 467 466 } 468 467 -
trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-script-loader.php
r51322 r56547 47 47 return $tag; 48 48 } 49 50 49 } 51 50 } -
trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-separator-control.php
r51322 r56547 25 25 echo '<hr/>'; 26 26 } 27 28 27 } 29 28 } -
trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php
r55061 r56547 336 336 337 337 ); 338 339 338 } 340 339 } -
trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php
r56526 r56547 385 385 wp_add_privacy_policy_content( __( 'Twenty Twenty-One', 'twentytwentyone' ), wp_kses_post( wpautop( $content, false ) ) ); 386 386 } 387 388 387 } -
trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php
r55061 r56547 250 250 return null; 251 251 } 252 253 252 } -
trunk/src/wp-includes/class-walker-category.php
r55883 r56547 276 276 $output .= "</li>\n"; 277 277 } 278 279 278 } -
trunk/src/wp-includes/class-walker-page.php
r55906 r56547 242 242 $output .= "</li>{$n}"; 243 243 } 244 245 244 } -
trunk/src/wp-includes/class-wp-block-list.php
r54133 r56547 211 211 return count( $this->blocks ); 212 212 } 213 214 213 } -
trunk/src/wp-includes/class-wp-block.php
r54867 r56547 310 310 return $block_content; 311 311 } 312 313 312 } -
trunk/src/wp-includes/class-wp-customize-control.php
r56177 r56547 702 702 */ 703 703 protected function content_template() {} 704 705 704 } 706 705 -
trunk/src/wp-includes/class-wp-dependencies.php
r54875 r56547 491 491 return true; 492 492 } 493 494 493 } -
trunk/src/wp-includes/class-wp-hook.php
r56511 r56547 565 565 reset( $this->callbacks ); 566 566 } 567 568 567 } -
trunk/src/wp-includes/class-wp-http.php
r56495 r56547 1103 1103 return false; 1104 1104 } 1105 1106 1105 } -
trunk/src/wp-includes/class-wp-image-editor-imagick.php
r56418 r56547 1044 1044 return true; 1045 1045 } 1046 1047 1046 } -
trunk/src/wp-includes/class-wp-role.php
r54133 r56547 101 101 } 102 102 } 103 104 103 } -
trunk/src/wp-includes/class-wp-text-diff-renderer-inline.php
r55163 r56547 31 31 return $words; 32 32 } 33 34 33 } -
trunk/src/wp-includes/class-wp-theme-json-data.php
r54481 r56547 70 70 return $this->theme_json->get_raw_data(); 71 71 } 72 73 72 } -
trunk/src/wp-includes/class-wp-walker.php
r54133 r56547 447 447 unset( $children_elements[ $id ] ); 448 448 } 449 450 449 } -
trunk/src/wp-includes/customize/class-wp-customize-cropped-image-control.php
r41162 r56547 83 83 $this->json['flex_height'] = absint( $this->flex_height ); 84 84 } 85 86 85 } -
trunk/src/wp-includes/pomo/streams.php
r56536 r56547 300 300 return $this->substr( $this->_str, $this->_pos, $this->strlen( $this->_str ) ); 301 301 } 302 303 302 } 304 303 endif; -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r56193 r56547 1452 1452 ); 1453 1453 } 1454 1455 1454 } -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
r55673 r56547 768 768 ); 769 769 } 770 771 770 } -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-blocks-controller.php
r56459 r56547 98 98 return $this->add_additional_fields_schema( $this->schema ); 99 99 } 100 101 100 } -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php
r51962 r56547 370 370 ); 371 371 } 372 373 372 } -
trunk/src/wp-includes/rest-api/search/class-wp-rest-post-search-handler.php
r54123 r56547 203 203 return rest_get_route_for_post( $post ); 204 204 } 205 206 205 } -
trunk/src/wp-includes/widgets/class-wp-widget-categories.php
r51967 r56547 204 204 <?php 205 205 } 206 207 206 } -
trunk/src/wp-includes/widgets/class-wp-widget-pages.php
r51967 r56547 183 183 <?php 184 184 } 185 186 185 } -
trunk/src/wp-includes/widgets/class-wp-widget-search.php
r52610 r56547 92 92 return $instance; 93 93 } 94 95 94 } -
trunk/tests/phpunit/includes/bootstrap.php
r56421 r56547 391 391 } 392 392 } 393 394 393 } 395 394 new WP_PHPUnit_Util_Getopt( $_SERVER['argv'] ); -
trunk/tests/phpunit/includes/factory/class-wp-unittest-factory-for-thing.php
r55020 r56547 247 247 return $value; 248 248 } 249 250 249 } -
trunk/tests/phpunit/includes/mock-fs.php
r52009 r56547 207 207 return $ret; 208 208 } 209 210 209 } 211 210 -
trunk/tests/phpunit/includes/phpunit6/compat.php
r51570 r56547 37 37 return array_unique( $tickets ); 38 38 } 39 40 39 } 41 40 -
trunk/tests/phpunit/includes/testcase-xmlrpc.php
r52035 r56547 35 35 ); 36 36 } 37 38 37 } -
trunk/tests/phpunit/tests/admin/includesTemplate.php
r55562 r56547 288 288 remove_meta_box( 'dashboard2', 'dashboard', 'normal' ); 289 289 } 290 291 290 } -
trunk/tests/phpunit/tests/admin/wpCommentsListTable.php
r54889 r56547 214 214 $this->assertSame( $expected, $this->table->get_views() ); 215 215 } 216 217 216 } -
trunk/tests/phpunit/tests/admin/wpPostCommentsListTable.php
r54889 r56547 36 36 $this->assertSame( $expected, $this->table->get_views() ); 37 37 } 38 39 38 } -
trunk/tests/phpunit/tests/admin/wpPostsListTable.php
r55756 r56547 331 331 $this->assertSame( $expected, $actual ); 332 332 } 333 334 333 } -
trunk/tests/phpunit/tests/attachment/slashes.php
r53680 r56547 69 69 $this->assertSame( wp_unslash( self::SLASH_6 ), $post->post_excerpt ); 70 70 } 71 72 71 } -
trunk/tests/phpunit/tests/avatar.php
r53480 r56547 280 280 $this->assertFalse( $actual_data['url'] ); 281 281 } 282 283 282 } -
trunk/tests/phpunit/tests/blocks/context.php
r55457 r56547 206 206 $this->assertSame( array( 'example' => 'ok' ), $provided_context[0] ); 207 207 } 208 209 208 } -
trunk/tests/phpunit/tests/blocks/render.php
r55471 r56547 522 522 return $content; 523 523 } 524 525 524 } -
trunk/tests/phpunit/tests/blocks/serialize.php
r55457 r56547 55 55 $this->assertSame( 'plugin/example', strip_core_block_namespace( 'plugin/example' ) ); 56 56 } 57 58 57 } -
trunk/tests/phpunit/tests/blocks/wpBlockList.php
r55457 r56547 103 103 $this->assertCount( 1, $blocks ); 104 104 } 105 106 105 } -
trunk/tests/phpunit/tests/canonical/https.php
r53948 r56547 66 66 remove_filter( 'home_url', array( $this, 'set_https' ) ); 67 67 } 68 69 68 } -
trunk/tests/phpunit/tests/canonical/paged.php
r52010 r56547 27 27 $this->assertCanonical( $link . '4/', $link ); 28 28 } 29 30 29 } -
trunk/tests/phpunit/tests/canonical/robots.php
r48166 r56547 13 13 $this->assertCanonical( '/robots.txt/', '/robots.txt' ); 14 14 } 15 16 15 } -
trunk/tests/phpunit/tests/comment/commentTime.php
r55632 r56547 127 127 $this->assertSame( '', $actual ); 128 128 } 129 130 129 } -
trunk/tests/phpunit/tests/comment/getCommentReplyLink.php
r53863 r56547 88 88 $this->assertNull( $actual ); 89 89 } 90 91 90 } -
trunk/tests/phpunit/tests/comment/isAvatarCommentType.php
r55337 r56547 73 73 return $types; 74 74 } 75 76 75 } -
trunk/tests/phpunit/tests/comment/slashes.php
r53863 r56547 195 195 $this->assertSame( wp_unslash( self::SLASH_4 ), $comment->comment_content ); 196 196 } 197 198 197 } -
trunk/tests/phpunit/tests/comment/template.php
r54090 r56547 200 200 ); 201 201 } 202 203 202 } -
trunk/tests/phpunit/tests/cron.php
r55038 r56547 1284 1284 $this->assertSame( 'could_not_set', $unscheduled->get_error_code() ); 1285 1285 } 1286 1287 1286 } -
trunk/tests/phpunit/tests/customize/manager.php
r56421 r56547 3670 3670 return true; 3671 3671 } 3672 3673 3672 } -
trunk/tests/phpunit/tests/customize/panel.php
r53851 r56547 238 238 <?php 239 239 } 240 241 240 } -
trunk/tests/phpunit/tests/customize/section.php
r53851 r56547 240 240 <?php 241 241 } 242 243 242 } -
trunk/tests/phpunit/tests/dependencies/wpSanitizeScriptAttributes.php
r52010 r56547 129 129 remove_theme_support( 'html5' ); 130 130 } 131 132 131 } -
trunk/tests/phpunit/tests/editor/navigation-fallback.php
r56202 r56547 365 365 return $navs_in_db->posts ? $navs_in_db->posts : array(); 366 366 } 367 368 367 } -
trunk/tests/phpunit/tests/filesystem/copyDir.php
r55938 r56547 80 80 $this->assertFileExists( $to . 'subfolder1/file2.txt', 'The destination subfolder file was not created.' ); 81 81 } 82 83 82 } -
trunk/tests/phpunit/tests/filesystem/findFolder.php
r52010 r56547 114 114 $this->assertSame( '/example.com/sub/wp-content/plugins/', $path ); 115 115 } 116 117 116 } -
trunk/tests/phpunit/tests/filesystem/moveDir.php
r55244 r56547 309 309 ); 310 310 } 311 312 311 } -
trunk/tests/phpunit/tests/formatting/escUrl.php
r54728 r56547 277 277 $this->assertSame( 'http://[::FFFF::127.0.0.1]/?foo%5Bbar%5D=baz', esc_url( 'http://[::FFFF::127.0.0.1]/?foo[bar]=baz' ) ); 278 278 } 279 280 279 } -
trunk/tests/phpunit/tests/formatting/makeClickable.php
r56444 r56547 519 519 ); 520 520 } 521 522 521 } -
trunk/tests/phpunit/tests/formatting/mapDeep.php
r54402 r56547 172 172 return $value . 'baba'; 173 173 } 174 175 174 } -
trunk/tests/phpunit/tests/formatting/urlencodeDeep.php
r55563 r56547 45 45 $this->assertSame( $expected, urlencode_deep( $actual ) ); 46 46 } 47 48 47 } -
trunk/tests/phpunit/tests/formatting/wpMakeLinkRelative.php
r53562 r56547 46 46 $this->assertSame( '', $relative_link ); 47 47 } 48 49 48 } -
trunk/tests/phpunit/tests/formatting/wpSlash.php
r54891 r56547 102 102 $this->assertSame( array( $new ), wp_slash( array( $old ) ) ); // Non-keyed. 103 103 } 104 105 104 } -
trunk/tests/phpunit/tests/formatting/wpTargetedLinkRel.php
r54088 r56547 137 137 $this->assertSame( $expected, wp_targeted_link_rel( $content ) ); 138 138 } 139 140 139 } -
trunk/tests/phpunit/tests/functions.php
r56510 r56547 2161 2161 $this->assertSameSetsWithIndex( $theme_json, $expected_theme_json ); 2162 2162 } 2163 2164 2163 } -
trunk/tests/phpunit/tests/functions/addMagicQuotes.php
r52010 r56547 62 62 ); 63 63 } 64 65 64 } -
trunk/tests/phpunit/tests/functions/anonymization.php
r55457 r56547 321 321 return $anonymous; 322 322 } 323 324 323 } -
trunk/tests/phpunit/tests/functions/canonicalCharset.php
r52010 r56547 89 89 update_option( 'blog_charset', $orig_blog_charset ); 90 90 } 91 92 91 } -
trunk/tests/phpunit/tests/functions/doEnclose.php
r55562 r56547 290 290 ); 291 291 } 292 293 292 } -
trunk/tests/phpunit/tests/functions/isNewDay.php
r55562 r56547 34 34 ); 35 35 } 36 37 36 } -
trunk/tests/phpunit/tests/functions/wp.php
r49006 r56547 17 17 $this->assertInstanceOf( 'WP_Query', $wp_the_query ); 18 18 } 19 20 19 } -
trunk/tests/phpunit/tests/functions/wpFuzzyNumberMatch.php
r53321 r56547 109 109 ); 110 110 } 111 112 111 } -
trunk/tests/phpunit/tests/functions/wpListUtil.php
r56141 r56547 1162 1162 ); 1163 1163 } 1164 1165 1164 } -
trunk/tests/phpunit/tests/general/wpPreloadResources.php
r55822 r56547 250 250 ); 251 251 } 252 253 252 } -
trunk/tests/phpunit/tests/hooks/applyFilters.php
r53804 r56547 43 43 $this->assertSame( 2, $a->get_call_count() ); 44 44 } 45 46 45 } -
trunk/tests/phpunit/tests/http/base.php
r56319 r56547 488 488 $this->assertNotWPError( $res ); 489 489 } 490 491 492 490 } -
trunk/tests/phpunit/tests/image/dimensions.php
r52010 r56547 182 182 $this->assertSame( array( 0, 0, 0, 40, 400, 500, 480, 600 ), $out ); 183 183 } 184 185 184 } -
trunk/tests/phpunit/tests/image/editor.php
r55562 r56547 364 364 ); 365 365 } 366 367 366 } -
trunk/tests/phpunit/tests/image/resizeGd.php
r51568 r56547 39 39 $this->assertSame( 'invalid_image', $image->get_error_code() ); 40 40 } 41 42 41 } -
trunk/tests/phpunit/tests/image/size.php
r52010 r56547 209 209 $content_width = $_content_width; 210 210 } 211 212 211 } -
trunk/tests/phpunit/tests/link/getNextCommentsLink.php
r51462 r56547 38 38 set_query_var( 'cpage', $cpage ); 39 39 } 40 41 40 } -
trunk/tests/phpunit/tests/link/getPostPermalink.php
r53733 r56547 15 15 $this->assertFalse( get_post_permalink( -1 ) ); 16 16 } 17 18 17 } -
trunk/tests/phpunit/tests/link/getPreviewPostLink.php
r48937 r56547 84 84 $this->assertSame( '', get_preview_post_link( $post ) ); 85 85 } 86 87 86 } -
trunk/tests/phpunit/tests/link/getPreviousCommentsLink.php
r51462 r56547 36 36 set_query_var( 'cpage', $cpage ); 37 37 } 38 39 38 } -
trunk/tests/phpunit/tests/link/getThePostsNavigation.php
r55442 r56547 105 105 ); 106 106 } 107 108 107 } -
trunk/tests/phpunit/tests/link/themeFile.php
r53455 r56547 183 183 ); 184 184 } 185 186 185 } -
trunk/tests/phpunit/tests/meta/isProtectedMeta.php
r55562 r56547 52 52 return $unprotected_keys; 53 53 } 54 55 54 } -
trunk/tests/phpunit/tests/meta/updateMetadata.php
r54940 r56547 106 106 $this->assertSame( 'value2', $found ); 107 107 } 108 109 108 } -
trunk/tests/phpunit/tests/multisite/getIdFromBlogname.php
r51860 r56547 137 137 $this->assertNull( $result ); 138 138 } 139 140 139 } 141 140 -
trunk/tests/phpunit/tests/multisite/getSite.php
r51860 r56547 48 48 $this->assertSame( self::$site_ids['wordpress.org/foo/'], $site->id ); 49 49 } 50 51 50 } 52 51 -
trunk/tests/phpunit/tests/multisite/updateBlogDetails.php
r54757 r56547 128 128 ); 129 129 } 130 131 130 } 132 131 endif; -
trunk/tests/phpunit/tests/option/sanitizeOption.php
r56132 r56547 175 175 ); 176 176 } 177 178 177 } -
trunk/tests/phpunit/tests/option/themeMods.php
r55100 r56547 130 130 ); 131 131 } 132 133 132 } -
trunk/tests/phpunit/tests/post/getBodyClass.php
r51568 r56547 258 258 $this->assertContains( "page-id-{$page_id}", $class ); 259 259 } 260 261 260 } -
trunk/tests/phpunit/tests/post/getPageByTitle.php
r55207 r56547 18 18 $this->assertNull( get_page_by_title( '#57041 Page' ) ); 19 19 } 20 21 20 } -
trunk/tests/phpunit/tests/privacy/wpPrivacySendRequestConfirmationNotification.php
r55337 r56547 241 241 return $headers; 242 242 } 243 244 243 } -
trunk/tests/phpunit/tests/query/conditionals.php
r54090 r56547 1693 1693 ); 1694 1694 } 1695 1696 1695 } -
trunk/tests/phpunit/tests/query/searchColumns.php
r55264 r56547 411 411 return $search_columns; 412 412 } 413 414 413 } -
trunk/tests/phpunit/tests/query/vars.php
r55043 r56547 81 81 ); 82 82 } 83 84 83 } -
trunk/tests/phpunit/tests/rest-api/rest-pages-controller.php
r55457 r56547 788 788 return $args; 789 789 } 790 791 790 } -
trunk/tests/phpunit/tests/rest-api/rest-post-statuses-controller.php
r55457 r56547 226 226 $this->check_post_status_obj( $obj, $data, $response->get_links() ); 227 227 } 228 229 228 } -
trunk/tests/phpunit/tests/rest-api/rest-post-types-controller.php
r55457 r56547 264 264 $this->check_post_type_obj( $context, $obj, $data, $response->get_links() ); 265 265 } 266 267 266 } -
trunk/tests/phpunit/tests/rest-api/rest-request-validation.php
r55457 r56547 203 203 $this->assertTrue( $ret ); 204 204 } 205 206 205 } -
trunk/tests/phpunit/tests/rest-api/rest-search-controller.php
r55457 r56547 889 889 ); 890 890 } 891 892 891 } -
trunk/tests/phpunit/tests/rest-api/rest-taxonomies-controller.php
r55457 r56547 317 317 ); 318 318 } 319 320 319 } -
trunk/tests/phpunit/tests/rest-api/rest-test-controller.php
r55457 r56547 181 181 return $this->add_additional_fields_schema( $schema ); 182 182 } 183 184 183 } -
trunk/tests/phpunit/tests/rewrite/addRewriteEndpoint.php
r51568 r56547 109 109 $this->assertSame( '', get_query_var( 'page_endpoint' ) ); 110 110 } 111 112 111 } -
trunk/tests/phpunit/tests/template.php
r54247 r56547 679 679 return $hierarchy; 680 680 } 681 682 681 } -
trunk/tests/phpunit/tests/term/wpUpdateTerm.php
r52010 r56547 803 803 $this->assertSame( 'invalid_term', $found->get_error_code() ); 804 804 } 805 806 805 } -
trunk/tests/phpunit/tests/theme/wpThemeJson.php
r56546 r56547 4918 4918 $this->assertEquals( $secondary_color, $styles['blocks']['core/quote']['variations']['plain']['color']['background'], 'Block variations: color' ); 4919 4919 } 4920 4921 4920 } -
trunk/tests/phpunit/tests/upload.php
r52010 r56547 106 106 $this->assertFalse( $info['error'] ); 107 107 } 108 109 108 } -
trunk/tests/phpunit/tests/user/countUsers.php
r54402 r56547 292 292 ); 293 293 } 294 295 294 } -
trunk/tests/phpunit/tests/user/multisite.php
r56421 r56547 449 449 $wp_roles->remove_role( $role ); 450 450 } 451 452 451 } 453 452 -
trunk/tests/phpunit/tests/user/passwordHash.php
r55313 r56547 31 31 $hasher->gensalt_blowfish( 'a password string' ); 32 32 } 33 34 33 } -
trunk/tests/phpunit/tests/user/slashes.php
r53818 r56547 231 231 $this->assertSame( wp_unslash( self::SLASH_4 ), $user->description ); 232 232 } 233 234 233 } -
trunk/tests/phpunit/tests/user/wpGetUsersWithNoRole.php
r53489 r56547 150 150 $this->assertEmpty( $users ); 151 151 } 152 153 152 } -
trunk/tests/phpunit/tests/user/wpRegisterPersistedPreferencesMeta.php
r54329 r56547 58 58 ); 59 59 } 60 61 60 } -
trunk/tests/phpunit/tests/walker.php
r53948 r56547 315 315 316 316 } 317 318 317 } 319 318 … … 341 340 $output .= '</li>'; 342 341 } 343 344 342 } -
trunk/tests/phpunit/tests/widgets/wpWidgetCustomHtml.php
r55553 r56547 354 354 $this->assertStringNotContainsString( 'rel="noopener"', $output ); 355 355 } 356 357 356 } -
trunk/tests/phpunit/tests/xmlrpc/message.php
r55105 r56547 31 31 $this->assertSame( array( '1' ), $message->params ); 32 32 } 33 34 33 } -
trunk/tests/phpunit/tests/xmlrpc/wp/getPages.php
r52010 r56547 88 88 remove_filter( 'map_meta_cap', array( $this, 'remove_editor_edit_page_cap' ), 10, 4 ); 89 89 } 90 91 90 } -
trunk/tests/phpunit/tests/xmlrpc/wp/getPosts.php
r52010 r56547 168 168 $this->assertCount( 1, $results ); 169 169 } 170 171 170 } -
trunk/tests/phpunit/tests/xmlrpc/wp/getRevisions.php
r52010 r56547 78 78 $this->assertCount( 1, $result ); 79 79 } 80 81 80 } -
trunk/tests/phpunit/tests/xmlrpc/wp/newPost.php
r54402 r56547 446 446 $this->assertSame( $date_string, $fetched_post->post_date_gmt ); 447 447 } 448 449 448 }
Note: See TracChangeset
for help on using the changeset viewer.