mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
REST API: Only use Latin characters in test filenames.
Non-Latin characters can break SVN checkout in some environments. Follow up from [55294]. See #57329, #57761. git-svn-id: https://develop.svn.wordpress.org/trunk@55362 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
<!-- wp:paragraph -->
|
||||
<p>(τεστ) Page Template</p>
|
||||
<!-- /wp:paragraph -->
|
||||
@@ -300,7 +300,7 @@ class Tests_REST_WpRestTemplatesController extends WP_Test_REST_Controller_Testc
|
||||
'args' => array(
|
||||
'post_name' => 'small-header-τεστ',
|
||||
'post_title' => 'Small Header τεστ Template',
|
||||
'post_content' => file_get_contents( $theme_root_dir . '/block-theme-non-latin/parts/small-header-τεστ.html' ),
|
||||
'post_content' => file_get_contents( $theme_root_dir . '/block-theme-non-latin/parts/small-header-test.html' ),
|
||||
'post_excerpt' => 'Description of small header τεστ template.',
|
||||
),
|
||||
),
|
||||
@@ -310,7 +310,7 @@ class Tests_REST_WpRestTemplatesController extends WP_Test_REST_Controller_Testc
|
||||
'args' => array(
|
||||
'post_name' => 'page-τεστ',
|
||||
'post_title' => 'τεστ Page Template',
|
||||
'post_content' => file_get_contents( $theme_root_dir . 'block-theme-non-latin/templates/page-τεστ.html' ),
|
||||
'post_content' => file_get_contents( $theme_root_dir . 'block-theme-non-latin/templates/page-test.html' ),
|
||||
'post_excerpt' => 'Description of page τεστ template.',
|
||||
),
|
||||
),
|
||||
@@ -320,7 +320,7 @@ class Tests_REST_WpRestTemplatesController extends WP_Test_REST_Controller_Testc
|
||||
'args' => array(
|
||||
'post_name' => 'small-header-测试',
|
||||
'post_title' => 'Small Header 测试 Template',
|
||||
'post_content' => file_get_contents( $theme_root_dir . '/block-theme-non-latin/parts/small-header-测试.html' ),
|
||||
'post_content' => file_get_contents( $theme_root_dir . '/block-theme-non-latin/parts/small-header-test.html' ),
|
||||
'post_excerpt' => 'Description of small header 测试 template.',
|
||||
),
|
||||
),
|
||||
@@ -330,7 +330,7 @@ class Tests_REST_WpRestTemplatesController extends WP_Test_REST_Controller_Testc
|
||||
'args' => array(
|
||||
'post_name' => 'page-测试',
|
||||
'post_title' => '测试 Page Template',
|
||||
'post_content' => file_get_contents( $theme_root_dir . 'block-theme-non-latin/templates/page-测试.html' ),
|
||||
'post_content' => file_get_contents( $theme_root_dir . 'block-theme-non-latin/templates/page-test.html' ),
|
||||
'post_excerpt' => 'Description of page 测试 template.',
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user