Changeset 49108 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 10/08/2020 09:13:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r48910 r49108 1322 1322 echo '<span class="screen-reader-text">' . __( 'Warning:' ) . ' </span>'; 1323 1323 } 1324 echo "{$box['title']}";1324 echo $box['title']; 1325 1325 echo "</h2>\n"; 1326 1326 … … 2206 2206 2207 2207 if ( 'page' === get_option( 'show_on_front' ) ) { 2208 if ( intval( get_option( 'page_on_front' )) === $post->ID ) {2208 if ( (int) get_option( 'page_on_front' ) === $post->ID ) { 2209 2209 $post_states['page_on_front'] = _x( 'Front Page', 'page label' ); 2210 2210 } 2211 2211 2212 if ( intval( get_option( 'page_for_posts' )) === $post->ID ) {2212 if ( (int) get_option( 'page_for_posts' ) === $post->ID ) { 2213 2213 $post_states['page_for_posts'] = _x( 'Posts Page', 'page label' ); 2214 2214 } 2215 2215 } 2216 2216 2217 if ( intval( get_option( 'wp_page_for_privacy_policy' )) === $post->ID ) {2217 if ( (int) get_option( 'wp_page_for_privacy_policy' ) === $post->ID ) { 2218 2218 $post_states['page_for_privacy_policy'] = _x( 'Privacy Policy Page', 'page label' ); 2219 2219 }
Note: See TracChangeset
for help on using the changeset viewer.