Changeset 22564 for trunk/wp-includes/link-template.php
- Timestamp:
- 11/14/2012 05:05:34 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r22472 r22564 2422 2422 */ 2423 2423 function the_shortlink( $text = '', $title = '', $before = '', $after = '' ) { 2424 $post = get_post(); 2425 2424 2426 if ( empty( $text ) ) 2425 2427 $text = __('This is the short link.'); … … 2428 2430 $title = the_title_attribute( array( 'echo' => false ) ); 2429 2431 2430 $shortlink = wp_get_shortlink( );2432 $shortlink = wp_get_shortlink( $post->ID ); 2431 2433 2432 2434 if ( !empty( $shortlink ) ) {
Note: See TracChangeset
for help on using the changeset viewer.