Changeset 25310 for trunk/src/wp-includes/template.php
- Timestamp:
- 09/10/2013 02:27:24 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/template.php
r25291 r25310 257 257 // If a static page is set as the front page, $pagename will not be set. Retrieve it from the queried object 258 258 $post = get_queried_object(); 259 $pagename = $post->post_name; 259 if ( $post ) 260 $pagename = $post->post_name; 260 261 } 261 262
Note: See TracChangeset
for help on using the changeset viewer.