#54012 closed defect (bug) (fixed)
Multisite: SIte Title is not checked even if it shows that it is required
| Reported by: | alucard001 | Owned by: | jorbin |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.3 |
| Component: | Networks and Sites | Version: | 5.8 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | administration |
Description
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
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
#54012 adds backend validation for a field that is marked as required in the UI (Site Title in Add New Site screen)
Trac ticket: https://core.trac.wordpress.org/ticket/54012