Ticket #13212: 13212.diff
File 13212.diff, 405 bytes (added by , 15 years ago) |
---|
-
link-template.php
2170 2170 if ( false !== $shortlink ) 2171 2171 return $shortlink; 2172 2172 2173 global $wp_query ;2173 global $wp_query, $id; 2174 2174 $post_id = 0; 2175 2175 if ( 'query' == $context && is_single() ) 2176 2176 $post_id = $wp_query->get_queried_object_id();