← All changes
|
freemius/includes/entities/class-fs-plugin-license.php
+4
-0
2.5.3
→
5.0.1
View file →
| @@ -288,8 +288,12 @@ | ||
| 288 | 288 | * |
| 289 | 289 | * @return bool |
| 290 | 290 | */ |
| 291 | 291 | function is_first_payment_pending() { |
| 292 | + if ( $this->is_lifetime() ) { | |
| 293 | + return false; | |
| 294 | + } | |
| 295 | + | |
| 292 | 296 | return ( WP_FS__TIME_24_HOURS_IN_SEC >= strtotime( $this->expiration ) - strtotime( $this->created ) ); |
| 293 | 297 | } |
| 294 | 298 | |
| 295 | 299 | /** |