Changeset 8600 for trunk/wp-includes/link-template.php
- Timestamp:
- 08/09/2008 05:36:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r8502 r8600 86 86 if ( empty($category) ) { 87 87 $default_category = get_category( get_option( 'default_category' ) ); 88 $category = is_wp_error( $default_category ) ? '' : $default_category->slug; 88 $category = is_wp_error( $default_category ) ? '' : $default_category->slug; 89 89 } 90 90 } … … 479 479 break; 480 480 endswitch; 481 481 482 482 return apply_filters( 'get_edit_post_link', admin_url("$file.php?{$action}$var=$post->ID"), $post->ID, $context ); 483 483 } … … 781 781 * @since 2.6 782 782 * 783 * Returns the 'site_url' option with the appropriate protocol, 'https' if is_ssl() and 'http' otherwise. 783 * Returns the 'site_url' option with the appropriate protocol, 'https' if is_ssl() and 'http' otherwise. 784 784 * If $scheme is 'http' or 'https', is_ssl() is overridden. 785 785 *
Note: See TracChangeset
for help on using the changeset viewer.