Changeset 2387285
- Timestamp:
- 09/23/2020 08:04:47 PM (6 years ago)
- Location:
- croct
- Files:
-
- 6 edited
- 1 copied
-
tags/1.0.1 (copied) (copied from croct/trunk)
-
tags/1.0.1/readme.txt (modified) (2 diffs)
-
tags/1.0.1/src/DependencyQueue.php (modified) (1 diff)
-
tags/1.0.1/src/Plugin.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/DependencyQueue.php (modified) (1 diff)
-
trunk/src/Plugin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
croct/tags/1.0.1/readme.txt
r2384748 r2387285 41 41 * Visitor interest tracking on a per-post basis. 42 42 43 ## HOW TO SET-UP AND A LLPY PERSONALIZATION?43 ## HOW TO SET-UP AND APPLY PERSONALIZATION? 44 44 45 45 It only takes a few clicks to install the plugin and unlock the power of personalization. No need to insert code snippets or play with the styling of the plugin. … … 73 73 This plugin collects information about the visitor activities and sends to Croct to help you better understand your audience and personalize the content for them. 74 74 75 By installing and activating the Croct for WordPress plugin you agree to our 76 [Terms of Service](https://croct.com/legal/customer/terms-of-service) and 77 [Privacy Policy](https://croct.com/legal/customer/privacy-policy). 75 By installing and activating the Croct for WordPress plugin you agree to our [Terms of Service](https://croct.com/legal/customer/terms-of-service) and [Privacy Policy](https://croct.com/legal/customer/privacy-policy). 78 76 79 77 == Installation == -
croct/tags/1.0.1/src/DependencyQueue.php
r2384748 r2387285 12 12 public function enqueue(array $dependencies) 13 13 { 14 \usort($dependencies, static function (Dependency $left, Dependency $right) { 15 if ($left instanceof ExternalDependency) { 16 return $right instanceof ExternalDependency ? 0 : -1; 14 $others = []; 15 foreach ($dependencies as $dependency) { 16 if ($dependency instanceof ExternalDependency) { 17 $this->enqueueDependency($dependency); 18 19 continue; 17 20 } 18 21 19 return $right instanceof ExternalDependency ? 1 : 0;20 } );22 $others[] = $dependency; 23 } 21 24 22 foreach ($ dependencies as $dependency) {25 foreach ($others as $dependency) { 23 26 $this->enqueueDependency($dependency); 24 27 } -
croct/tags/1.0.1/src/Plugin.php
r2384748 r2387285 13 13 final class Plugin 14 14 { 15 const VERSION = '1.0. 0';15 const VERSION = '1.0.1'; 16 16 17 17 const OPTIONS_GROUP = 'croct'; … … 126 126 $dependencies = [ 127 127 new PlugScript(), 128 new WpCroctScript($this->baseUrl), 128 129 new BootstrapScript($appId, $options->isDebugModeEnabled()), 129 new WpCroctScript($this->baseUrl),130 130 ]; 131 131 -
croct/trunk/readme.txt
r2384748 r2387285 41 41 * Visitor interest tracking on a per-post basis. 42 42 43 ## HOW TO SET-UP AND A LLPY PERSONALIZATION?43 ## HOW TO SET-UP AND APPLY PERSONALIZATION? 44 44 45 45 It only takes a few clicks to install the plugin and unlock the power of personalization. No need to insert code snippets or play with the styling of the plugin. … … 73 73 This plugin collects information about the visitor activities and sends to Croct to help you better understand your audience and personalize the content for them. 74 74 75 By installing and activating the Croct for WordPress plugin you agree to our 76 [Terms of Service](https://croct.com/legal/customer/terms-of-service) and 77 [Privacy Policy](https://croct.com/legal/customer/privacy-policy). 75 By installing and activating the Croct for WordPress plugin you agree to our [Terms of Service](https://croct.com/legal/customer/terms-of-service) and [Privacy Policy](https://croct.com/legal/customer/privacy-policy). 78 76 79 77 == Installation == -
croct/trunk/src/DependencyQueue.php
r2384748 r2387285 12 12 public function enqueue(array $dependencies) 13 13 { 14 \usort($dependencies, static function (Dependency $left, Dependency $right) { 15 if ($left instanceof ExternalDependency) { 16 return $right instanceof ExternalDependency ? 0 : -1; 14 $others = []; 15 foreach ($dependencies as $dependency) { 16 if ($dependency instanceof ExternalDependency) { 17 $this->enqueueDependency($dependency); 18 19 continue; 17 20 } 18 21 19 return $right instanceof ExternalDependency ? 1 : 0;20 } );22 $others[] = $dependency; 23 } 21 24 22 foreach ($ dependencies as $dependency) {25 foreach ($others as $dependency) { 23 26 $this->enqueueDependency($dependency); 24 27 } -
croct/trunk/src/Plugin.php
r2384748 r2387285 13 13 final class Plugin 14 14 { 15 const VERSION = '1.0. 0';15 const VERSION = '1.0.1'; 16 16 17 17 const OPTIONS_GROUP = 'croct'; … … 126 126 $dependencies = [ 127 127 new PlugScript(), 128 new WpCroctScript($this->baseUrl), 128 129 new BootstrapScript($appId, $options->isDebugModeEnabled()), 129 new WpCroctScript($this->baseUrl),130 130 ]; 131 131
Note: See TracChangeset
for help on using the changeset viewer.