WordPress.org

Make WordPress Core

Opened 7 weeks ago

Last modified 7 weeks ago

#54012 new defect (bug)

Multisite: SIte Title is not checked even if it shows that it is required

Reported by: alucard001 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.8
Component: Networks and Sites Keywords:
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 (1)

#1 @sabernhardt
7 weeks ago

  • Component changed from Administration to Networks and Sites
  • Focuses administration added
Note: See TracTickets for help on using tickets.