Changeset 3343
- Timestamp:
- 11/03/2010 07:34:25 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r3331 r3343 615 615 616 616 if ( defined( 'BP_ENABLE_MULTIBLOG' ) ) 617 $domain = get_ blog_option( $current_blog->blog_id, 'home');617 $domain = get_home_url( $current_blog->blog_id ); 618 618 else 619 $domain = get_ blog_option( BP_ROOT_BLOG, 'home');619 $domain = get_home_url( BP_ROOT_BLOG ); 620 620 621 621 return apply_filters( 'bp_core_get_root_domain', $domain ); -
trunk/bp-core/admin/bp-core-upgrade.php
r3232 r3343 485 485 <tr> 486 486 <th><label><input name="permalink_structure" type="radio"<?php if ( empty( $permalink_structure ) || false != strpos( $permalink_structure, $structures[1] ) ) : ?> checked="checked" <?php endif; ?>value="<?php echo esc_attr( $structures[1] ); ?>" class="tog" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Day and name'); ?></label></th> 487 <td><code><?php echo get_ option('home') . $prefix . '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/sample-post/'; ?></code></td>487 <td><code><?php echo get_home_url() . $prefix . '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/sample-post/'; ?></code></td> 488 488 </tr> 489 489 <tr> 490 490 <th><label><input name="permalink_structure" type="radio"<?php if ( empty( $permalink_structure ) || false != strpos( $permalink_structure, $structures[2] ) ) : ?> checked="checked" <?php endif; ?> value="<?php echo esc_attr( $structures[2] ); ?>" class="tog" <?php checked($structures[2], $permalink_structure); ?> /> <?php _e('Month and name'); ?></label></th> 491 <td><code><?php echo get_ option('home') . $prefix . '/' . date('Y') . '/' . date('m') . '/sample-post/'; ?></code></td>491 <td><code><?php echo get_home_url() . $prefix . '/' . date('Y') . '/' . date('m') . '/sample-post/'; ?></code></td> 492 492 </tr> 493 493 <tr> 494 494 <th><label><input name="permalink_structure" type="radio"<?php if ( empty( $permalink_structure ) || false != strpos( $permalink_structure, $structures[3] ) ) : ?> checked="checked" <?php endif; ?> value="<?php echo esc_attr( $structures[3] ); ?>" class="tog" <?php checked($structures[3], $permalink_structure); ?> /> <?php _e('Numeric'); ?></label></th> 495 <td><code><?php echo get_ option('home') . $prefix ?>/archives/123</code></td>495 <td><code><?php echo get_home_url() . $prefix ?>/archives/123</code></td> 496 496 </tr> 497 497 </table> -
trunk/bp-core/bp-core-avatars.php
r3300 r3343 568 568 // If multisite, and current blog does not match root blog, make adjustments 569 569 if ( bp_core_is_multisite() && BP_ROOT_BLOG != $current_blog->blog_id ) 570 $upload_dir['baseurl'] = str_replace( get_ blog_option( $current_blog->blog_id, 'home' ) , get_blog_option( BP_ROOT_BLOG, 'home'), $upload_dir['baseurl'] );570 $upload_dir['baseurl'] = str_replace( get_home_url( $current_blog->blog_id ) , get_home_url( BP_ROOT_BLOG ), $upload_dir['baseurl'] ); 571 571 572 572 return apply_filters( 'bp_core_avatar_url', $upload_dir['baseurl'] );
Note: See TracChangeset
for help on using the changeset viewer.