| @@ -28,8 +28,12 @@ | ||
| 28 | 28 | * @property $heading |
| 29 | 29 | * |
| 30 | 30 | * @since 1.0 |
| 31 | 31 | */ |
| 32 | +// __set() accepts any key, so keys without a declared property become dynamic ones. PHP 8.2 deprecates | |
| 33 | +// those, and the notice is printed mid-request, which breaks any redirect that follows. | |
| 34 | +// PHP 7.4 reads this line as a comment, so it is safe on the minimum supported version. | |
| 35 | +#[AllowDynamicProperties] | |
| 32 | 36 | class Give_Emails { |
| 33 | 37 | |
| 34 | 38 | /** |
| 35 | 39 | * Holds the from address. |