diff --git a/lib/compat/wordpress-5.9/template-parts.php b/lib/compat/wordpress-5.9/template-parts.php index ff91d574bfb4e7..102c9275be4085 100644 --- a/lib/compat/wordpress-5.9/template-parts.php +++ b/lib/compat/wordpress-5.9/template-parts.php @@ -12,8 +12,8 @@ */ // Only run any of the code in this file if the version is less than 5.9. -// wp_is_block_theme was introduced in 5.9. -if ( ! function_exists( 'wp_is_block_theme' ) ) { +// wp_list_users was introduced in 5.9. +if ( ! function_exists( 'wp_list_users' ) ) { /** * Registers block editor 'wp_template_part' post type. */ diff --git a/lib/compat/wordpress-5.9/templates.php b/lib/compat/wordpress-5.9/templates.php index 18f6f871adcf08..d5bdf1c55c4866 100644 --- a/lib/compat/wordpress-5.9/templates.php +++ b/lib/compat/wordpress-5.9/templates.php @@ -12,8 +12,8 @@ */ // Only run any of the code in this file if the version is less than 5.9. -// wp_is_block_theme was introduced in 5.9. -if ( ! function_exists( 'wp_is_block_theme' ) ) { +// wp_list_users was introduced in 5.9. +if ( ! function_exists( 'wp_list_users' ) ) { /** * Registers block editor 'wp_template' post type. */