Changeset 16837 for trunk/wp-includes/post.php
- Timestamp:
- 12/09/2010 02:23:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r16825 r16837 5162 5162 return str_replace( "/{$term->slug}", '/' . $slugs[ str_replace( 'post-format-', '', $term->slug ) ], $link ); 5163 5163 } else { 5164 $link = remove_query_arg( ' format', $link );5165 return add_query_arg( ' format', str_replace( 'post-format-', $term->slug ), $link );5164 $link = remove_query_arg( 'post_format', $link ); 5165 return add_query_arg( 'post_format', str_replace( 'post-format-', '', $term->slug ), $link ); 5166 5166 } 5167 5167 }
Note: See TracChangeset
for help on using the changeset viewer.