[wp-trac] [WordPress Trac] #54012: Multisite: SIte Title is not checked even if it shows that it is required

WordPress Trac noreply at wordpress.org
Thu Aug 26 08:53:42 UTC 2021


#54012: Multisite: SIte Title is not checked even if it shows that it is required
----------------------------+-----------------------------
 Reporter:  alucard001      |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  5.8
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 In http://localhost/wp-admin/network/site-new.php, if we input everything
 except Site Title, which shows it is required, the process of adding is
 still going well.

 It is because in `wp_prepare_site_data()` function, the
 $allowed_data_fields did not contain field "title".  You will see that in
 wp_normalize_site_data(), it contains "title", but later in
 wp_validate_site_data action, $data did not contain "title", and there is
 actually no checking on this field.

 Please add this title validation back to the process.

 Thank you

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54012>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list