update devenv and readme
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
language: php
|
||||
php:
|
||||
- '5.6'
|
||||
- '7.2'
|
||||
- '7.3'
|
||||
- '7.4'
|
||||
|
11
README.md
11
README.md
@@ -1,5 +1,6 @@
|
||||
[](https://travis-ci.org/stklcode/wp-liveticker)
|
||||
[](https://sonarcloud.io/dashboard?id=de.stklcode.web.wordpress.plugins%3Awp-liveticker)
|
||||
[](https://wordpress.org/plugins/stklcode-liveticker/)
|
||||
[](https://packagist.org/packages/stklcode/stklcode-liveticker)
|
||||
[](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
|
||||
|
@@ -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",
|
||||
|
@@ -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"
|
||||
}
|
||||
|
Reference in New Issue
Block a user