| @@ -46,8 +46,19 @@ | ||
| 46 | 46 | $this->additional_hooks(); |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | + * Use the plugin version for cache-busting wizard assets. | |
| 51 | + * | |
| 52 | + * @since 4.2.0 | |
| 53 | + * | |
| 54 | + * @return string Version number. | |
| 55 | + */ | |
| 56 | + protected function get_version() { | |
| 57 | + return TOP_TEN_VERSION; | |
| 58 | + } | |
| 59 | + | |
| 60 | + /** | |
| 50 | 61 | * Additional hooks specific to Top 10. |
| 51 | 62 | * |
| 52 | 63 | * @since 4.2.0 |
| 53 | 64 | */ |
| @@ -198,9 +209,8 @@ | ||
| 198 | 209 | 'step_of' => __( 'Step %1$d of %2$d', 'top-10' ), |
| 199 | 210 | 'wizard_complete' => __( 'Setup Complete!', 'top-10' ), |
| 200 | 211 | 'setup_complete' => __( 'Your Top 10 plugin has been configured successfully. You can now start displaying popular posts on your site!', 'top-10' ), |
| 201 | 212 | 'go_to_settings' => __( 'Go to Settings', 'top-10' ), |
| 202 | - 'checkbox_modified' => __( 'Modified from default setting', 'top-10' ), | |
| 203 | 213 | ); |
| 204 | 214 | } |
| 205 | 215 | |
| 206 | 216 | /** |