[ticket/17324] Allow targeting events to prep-releases

PHPBB3-17324
This commit is contained in:
rxu 2024-05-28 21:15:31 +07:00 committed by Marc Alexander
parent a88040df85
commit 9ea4aabe9a
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
2 changed files with 3 additions and 3 deletions

View file

@ -1601,14 +1601,14 @@ notification_dropdown_footer_after
=== ===
* Locations: * Locations:
+ styles/prosilver/template/notification_dropdown.html + styles/prosilver/template/notification_dropdown.html
* Since: prep-release-3.3.12 * Since: 3.3.12-prep-release
* Purpose: Add content after notifications list footer. * Purpose: Add content after notifications list footer.
notification_dropdown_footer_before notification_dropdown_footer_before
=== ===
* Locations: * Locations:
+ styles/prosilver/template/notification_dropdown.html + styles/prosilver/template/notification_dropdown.html
* Since: prep-release-3.3.12 * Since: 3.3.12-prep-release
* Purpose: Add content before notifications list footer. * Purpose: Add content before notifications list footer.
overall_footer_after overall_footer_after

View file

@ -489,7 +489,7 @@ class md_exporter
*/ */
public function validate_version($version) public function validate_version($version)
{ {
return preg_match('#^\d+\.\d+\.\d+(?:-(?:a|b|RC|pl)\d+)?$#', $version); return preg_match('#^\d+\.\d+\.\d+(?:-(?:a|b|RC|pl)\d+|(?:-prep-release))?$#', $version);
} }
/** /**