Ticket #24960: wp-activate.diff
File wp-activate.diff, 618 bytes (added by , 12 years ago) |
---|
-
wp-activate.php
21 21 if ( is_object( $wp_object_cache ) ) 22 22 $wp_object_cache->cache_enabled = false; 23 23 24 // Fix for page title 25 $wp_query->is_404 = false; 26 add_filter('wp_title', 'activate_title_fix', 1, 3); 27 function activate_title_fix($title, $sep, $seplocation) { 28 $title = __('Account Activation'); 29 $title = ($seplocation == "right") ? $title." ".$sep." " : $sep." ".$title." "; 30 return $title; 31 } 32 24 33 do_action( 'activate_header' ); 25 34 26 35 /**