diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php
index ad87a89521..5eca225551 100644
a
|
b
|
function get_post_states( $post ) { |
2223 | 2223 | * |
2224 | 2224 | * @since 2.8.0 |
2225 | 2225 | * @since 3.6.0 Added the `$post` parameter. |
| 2226 | * @since 5.5.0 Now also applied in customizer context. If any admin function is used, |
| 2227 | * their existence needs to be checked before. |
2226 | 2228 | * |
2227 | 2229 | * @param string[] $post_states An array of post display states. |
2228 | 2230 | * @param WP_Post $post The current post object. |