We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e9b0802 + 11ddd34 commit 99b8b95Copy full SHA for 99b8b95
1 file changed
wcfsetup/install/files/lib/acp/form/PageEditForm.class.php
@@ -375,4 +375,15 @@ public function assignVariables()
375
'supportsCustomUrl' => $this->supportsCustomUrl,
376
]);
377
}
378
+
379
+ #[\Override]
380
+ protected function validateTitle()
381
+ {
382
+ if ($this->page->pageType === 'system' && $this->page->requireObjectID) {
383
+ // Allow an empty title for pages that dynamically generate their title based on a given ID (e.g. `ArticlePage`).
384
+ return;
385
+ }
386
387
+ parent::validateTitle();
388
389
0 commit comments