Changeset 2250667
- Timestamp:
- 02/26/2020 12:29:13 PM (6 years ago)
- Location:
- wordloader
- Files:
-
- 13 added
- 2 edited
-
tags/0.0.3 (added)
-
tags/0.0.3/admin (added)
-
tags/0.0.3/admin/assets (added)
-
tags/0.0.3/admin/assets/admin.css (added)
-
tags/0.0.3/admin/options.php (added)
-
tags/0.0.3/admin/views (added)
-
tags/0.0.3/admin/views/options.php (added)
-
tags/0.0.3/front (added)
-
tags/0.0.3/front/assets (added)
-
tags/0.0.3/front/assets/word-loader.min.css (added)
-
tags/0.0.3/front/assets/word-loader.min.js (added)
-
tags/0.0.3/readme.txt (added)
-
tags/0.0.3/word-loader.php (added)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/word-loader.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordloader/trunk/readme.txt
r2240886 r2250667 27 27 == Changelog == 28 28 29 = 0.0.3 = 30 * Added filter `word-loader-visibility` to fully disable loader in some pages 31 29 32 = 0.0.2 = 30 33 * First release -
wordloader/trunk/word-loader.php
r2240886 r2250667 3 3 * Plugin Name: WordLoader 4 4 * Description: Add a loader that shows words in a random position and order 5 * Version: 0.0. 25 * Version: 0.0.3 6 6 * Author: Enrico Atzeni 7 7 * Author URI: https://enricoatzeni.it … … 30 30 { 31 31 if ($this->canIdo === null) { 32 $WLOptions = WordLoaderOptions::getInstance(); 33 $wordList = $WLOptions->getOption('word_list', null); 32 $canShow = apply_filters('word-loader-visibility', true); 34 33 35 $this->canIdo = !!$wordList; 34 if (!$canShow) { 35 $this->canIdo = false; 36 } else { 37 $WLOptions = WordLoaderOptions::getInstance(); 38 $wordList = $WLOptions->getOption('word_list', null); 39 40 $this->canIdo = !!$wordList; 41 } 36 42 } 37 43
Note: See TracChangeset
for help on using the changeset viewer.