diff --git a/.travis.yml b/.travis.yml index e5522b0..ec2cff1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: php php: -- '5.6' - '7.2' - '7.3' - '7.4' diff --git a/README.md b/README.md index f6c2956..86e7707 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ [![Build Status](https://travis-ci.org/stklcode/wp-liveticker.svg?branch=master)](https://travis-ci.org/stklcode/wp-liveticker) [![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=de.stklcode.web.wordpress.plugins%3Awp-liveticker&metric=alert_status)](https://sonarcloud.io/dashboard?id=de.stklcode.web.wordpress.plugins%3Awp-liveticker) +[![WP Plugin Version](https://img.shields.io/wordpress/plugin/v/stklcode-liveticker.svg)](https://wordpress.org/plugins/stklcode-liveticker/) [![Packagist Version](https://img.shields.io/packagist/v/stklcode/stklcode-liveticker.svg)](https://packagist.org/packages/stklcode/stklcode-liveticker) [![License](https://img.shields.io/badge/license-GPL%20v2-blue.svg)](https://github.com/stklcode/wp-liveticker/blob/master/LICENSE.md) @@ -28,7 +29,7 @@ Easily add multiple livetickers, add them to posts with shortcode or use them as * RSS feed capability * Gutenberg block and shortcode to display liveticker * Add ticker to sidebar widgets -* Ability to customise through CSS +* Ability to customize through CSS * Localization support @@ -59,9 +60,11 @@ You can deactivate the default stylesheet on the settings page and include your ### Does the liveticker work with caching? -It strongly depends on the use case. -If you update your ticker every 5 minutes, a caching time of 12 hours obviously makes no sense. -However the AJAX update will fetch the latest ticks and update cached tickers depending on the configured interval. +If you activate AJAX updates (enabled by default), the JavaScript will automatically update the content, even when the +page is loaded from cached. + +If AJAX is disabled, it depends on your update and caching intervals. If you update your ticker every 5 minutes, a +caching time of 12 hours obviously makes no sense. ## Screenshots diff --git a/composer.json b/composer.json index 3d74d39..f4a2f45 100644 --- a/composer.json +++ b/composer.json @@ -22,10 +22,10 @@ }, "require-dev": { "php": ">=5.2", - "consolidation/robo": "^1.4", + "consolidation/robo": "^2", "phpunit/phpunit": "*", "phpunit/php-code-coverage": "*", - "dealerdirect/phpcodesniffer-composer-installer": "^0.5", + "dealerdirect/phpcodesniffer-composer-installer": "^0.6", "slowprog/composer-copy-file": "~0.3", "squizlabs/php_codesniffer": "^3.5", "phpcompatibility/php-compatibility": "^9.3", diff --git a/package.json b/package.json index 874ef15..91ee954 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "author": "Stefan Kalscheuer", "license": "GPL-2.0+", "devDependencies": { + "@wordpress/eslint-plugin": "^3.4.1", "eslint": "^6", - "@wordpress/eslint-plugin": "^3", "stylelint": "^13", "stylelint-config-wordpress": "^16" }