← All changes
|
vendor/codeinwp/themeisle-sdk/src/Modules/Review.php
+2
-8
3.10.13
→
3.11.10
View file →
| @@ -53,18 +53,12 @@ | ||
| 53 | 53 | */ |
| 54 | 54 | public function add_notification( $all_notifications ) { |
| 55 | 55 | |
| 56 | 56 | $developers = [ |
| 57 | - 'Bogdan', | |
| 58 | 57 | 'Marius', |
| 59 | 58 | 'Hardeep', |
| 60 | - 'Rodica', | |
| 61 | - 'Stefan', | |
| 62 | - 'Uriahs', | |
| 63 | - 'Madalin', | |
| 64 | - 'Cristi', | |
| 65 | - 'Silviu', | |
| 66 | 59 | 'Andrei', |
| 60 | + 'Robert', | |
| 67 | 61 | ]; |
| 68 | 62 | |
| 69 | 63 | $link = 'https://wordpress.org/support/' . $this->product->get_type() . '/' . $this->product->get_slug() . '/reviews/#wporg-footer'; |
| 70 | 64 | |
| @@ -75,9 +69,9 @@ | ||
| 75 | 69 | $message = str_replace( |
| 76 | 70 | [ '{product}', '{developer}' ], |
| 77 | 71 | [ |
| 78 | 72 | $this->product->get_friendly_name(), |
| 79 | - $developers[ strlen( get_site_url() ) % 10 ], | |
| 73 | + $developers[ strlen( get_site_url() ) % count( $developers ) ], | |
| 80 | 74 | ], |
| 81 | 75 | $message |
| 82 | 76 | ); |
| 83 | 77 | |