#54012 closed defect (bug) (fixed)
Multisite: SIte Title is not checked even if it shows that it is required
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.3 | Priority: | normal |
Severity: | normal | Version: | 5.8 |
Component: | Networks and Sites | Keywords: | has-patch |
Focuses: | administration | Cc: |
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)
#1
@
4 years ago
- Component changed from Administration to Networks and Sites
- Focuses administration added
This ticket was mentioned in PR #4477 on WordPress/wordpress-develop by @ideag.
22 months ago
#2
- Keywords has-patch added
#3
@
21 months ago
- Owner set to jorbin
- Resolution set to fixed
- Status changed from new to closed
In 55894:
Note: See
TracTickets for help on using
tickets.
#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