Changeset 123
- Timestamp:
- Mar 19, 2009, 8:49:19 PM (16 years ago)
- Location:
- trunk/wp-content
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/include/pluggable-override.php
r114 r123 164 164 if ( !function_exists('wp_redirect') ) : 165 165 function wp_redirect($location, $status = 302) { 166 global $is_IIS,$xoops_config ;166 global $is_IIS,$xoops_config,$action; 167 167 168 168 if ($location == 'wp-login.php?loggedout=true') $location = $xoops_config->xoops_url.'/user.php?op=logout'; //xoops logout at wp logout 169 169 if ($location == 'wp-login.php?action=register') $location = $xoops_config->xoops_url."/register.php"; //wp-register to xoops register 170 if ($action == 'logout') $location = $xoops_config->xoops_url.'/user.php?op=logout'; //xoops logout at comment logout 170 171 171 172 $location = apply_filters('wp_redirect', $location, $status); -
trunk/wp-content/themes/xpress_default/comments.php
r64 r123 88 88 <?php if ( $user_ID ) : ?> 89 89 90 <p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.', 'xpress'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account', 'xpress'); ?>"><?php _e('Log out »', 'xpress'); ?></a></p>90 <p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.', 'xpress'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php _e('Log out of this account', 'xpress'); ?>"><?php _e('Log out »', 'xpress'); ?></a></p> 91 91 92 92 <?php else : ?>
Note: See TracChangeset
for help on using the changeset viewer.