Changeset 56420
- Timestamp:
- 08/20/2023 12:08:49 AM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r56174 r56420 1034 1034 endif; // End hierarchical check. 1035 1035 1036 if ( count( get_page_templates( $post ) ) > 0 && get_option( 'page_for_posts' ) != $post->ID ) :1036 if ( count( get_page_templates( $post ) ) > 0 && (int) get_option( 'page_for_posts' ) !== $post->ID ) : 1037 1037 $template = ! empty( $post->page_template ) ? $post->page_template : false; 1038 1038 ?> … … 1497 1497 for ( $rating = 0; $rating <= 10; $rating++ ) { 1498 1498 echo '<option value="' . $rating . '"'; 1499 if ( isset( $link->link_rating ) && $link->link_rating == $rating ) {1499 if ( isset( $link->link_rating ) && $link->link_rating === $rating ) { 1500 1500 echo ' selected="selected"'; 1501 1501 }
Note: See TracChangeset
for help on using the changeset viewer.