Changeset 59565
- Timestamp:
- 12/29/2024 09:52:34 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r59161 r59565 2824 2824 if ( is_object( $post ) ) { 2825 2825 // Check if post already filtered for this context. 2826 if ( isset( $post->filter ) && $context == $post->filter ) {2826 if ( isset( $post->filter ) && $context === $post->filter ) { 2827 2827 return $post; 2828 2828 } … … 2836 2836 } elseif ( is_array( $post ) ) { 2837 2837 // Check if post already filtered for this context. 2838 if ( isset( $post['filter'] ) && $context == $post['filter'] ) {2838 if ( isset( $post['filter'] ) && $context === $post['filter'] ) { 2839 2839 return $post; 2840 2840 }
Note: See TracChangeset
for help on using the changeset viewer.