Ticket #51081: 51081.3.diff
File 51081.3.diff, 648 bytes (added by , 5 years ago) |
---|
-
src/wp-admin/includes/template.php
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 the Customizer context. If any admin function is used within the filter, 2227 * their existence should be checked with `function_exists` before being used. 2226 2228 * 2227 2229 * @param string[] $post_states An array of post display states. 2228 2230 * @param WP_Post $post The current post object.