WordPress.org

Make WordPress Core

Ticket #13638: 13638.2.patch

File 13638.2.patch, 670 bytes (added by ocean90, 5 years ago)

Set is_home = true to get name+description as title, same for wp-signup.php

  • wp-activate.php

     
    2323} 
    2424add_action( 'wp_head', 'do_activate_header' ); 
    2525 
     26// Fix for page title 
     27$wp_query->is_home = true; 
     28 
    2629function wpmu_activate_stylesheet() { 
    2730        ?> 
    2831        <style type="text/css"> 
  • wp-signup.php

     
    3333} 
    3434 
    3535// Fix for page title 
    36 $wp_query->is_404 = false; 
     36$wp_query->is_home = true; 
    3737 
    3838function wpmu_signup_stylesheet() { 
    3939        ?>