Skip to content

Commit 2d1e260

Browse files
Update src/wp-includes/post.php
Co-authored-by: Weston Ruter <[email protected]>
1 parent 4b7c59a commit 2d1e260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2296,7 +2296,7 @@ function add_post_type_support( $post_type, $feature, ...$args ) {
22962296
$features = (array) $feature;
22972297
foreach ( $features as $feature ) {
22982298
if ( $args ) {
2299-
// Check if feature already exists with args and if both are associative arrays that should be merged.
2299+
// Check if feature already exists with args and if both are arrays that should be merged.
23002300
if (
23012301
isset( $_wp_post_type_features[ $post_type ][ $feature ][0] ) &&
23022302
is_array( $_wp_post_type_features[ $post_type ][ $feature ][0] ) &&

0 commit comments

Comments
 (0)