Make WordPress Core


Ignore:
Timestamp:
11/21/2011 03:35:57 PM (14 years ago)
Author:
nacin
Message:

Set $parent_file for post-new.php when show_in_menu is a file. Provides for correct top-level highlighting. $submenu_file remains set to expect a post-new.php menu. see #19125.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/image.php

    r18335 r19374  
    3535                                    $metadata['height'],
    3636                                    esc_url( get_permalink( $post->post_parent ) ),
    37                                     get_the_title( $post->post_parent )
     37                                    $blah = get_the_title( $post->post_parent )
    3838                                );
     39                                var_dump( $blah );
    3940                            ?>
    4041                            <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
Note: See TracChangeset for help on using the changeset viewer.