Changeset 3205237
- Timestamp:
- 12/10/2024 04:52:16 AM (16 months ago)
- Location:
- smartpay
- Files:
-
- 16 edited
- 1 copied
-
tags/2.7.10 (copied) (copied from smartpay/trunk)
-
tags/2.7.10/framework/Application.php (modified) (2 diffs)
-
tags/2.7.10/framework/Container/Container.php (modified) (67 diffs)
-
tags/2.7.10/framework/Database/Eloquent/Model.php (modified) (7 diffs)
-
tags/2.7.10/framework/Database/Eloquent/ModelCollection.php (modified) (4 diffs)
-
tags/2.7.10/framework/Database/QueryBuilder/QueryBuilderHandler.php (modified) (1 diff)
-
tags/2.7.10/readme.txt (modified) (2 diffs)
-
tags/2.7.10/smartpay.php (modified) (4 diffs)
-
tags/2.7.10/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/framework/Application.php (modified) (2 diffs)
-
trunk/framework/Container/Container.php (modified) (67 diffs)
-
trunk/framework/Database/Eloquent/Model.php (modified) (7 diffs)
-
trunk/framework/Database/Eloquent/ModelCollection.php (modified) (4 diffs)
-
trunk/framework/Database/QueryBuilder/QueryBuilderHandler.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/smartpay.php (modified) (4 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smartpay/tags/2.7.10/framework/Application.php
r2446799 r3205237 205 205 * @return mixed 206 206 */ 207 public function make($abstract, array $parameters = []) 207 public function make($abstract, array $parameters = []) : mixed 208 208 { 209 209 $abstract = $this->getAlias($abstract); 210 210 211 if ( 212 !$this->bound($abstract) && 211 if (!$this->bound($abstract) && 213 212 array_key_exists($abstract, $this->availableBindings) && 214 213 !array_key_exists($this->availableBindings[$abstract], $this->ranServiceBinders) … … 288 287 * @return void 289 288 */ 290 public function flush() 289 public function flush() : void 291 290 { 292 291 parent::flush(); -
smartpay/tags/2.7.10/framework/Container/Container.php
r2674934 r3205237 39 39 * The container's method bindings. 40 40 * 41 * @var \Closure[]41 * @var Closure[] 42 42 */ 43 43 protected $methodBindings = []; … … 109 109 * All of the global resolving callbacks. 110 110 * 111 * @var \Closure[]111 * @var Closure[] 112 112 */ 113 113 protected $globalResolvingCallbacks = []; … … 116 116 * All of the global after resolving callbacks. 117 117 * 118 * @var \Closure[]118 * @var Closure[] 119 119 */ 120 120 protected $globalAfterResolvingCallbacks = []; … … 157 157 * @return bool 158 158 */ 159 public function bound($abstract) 159 public function bound($abstract) : bool 160 160 { 161 161 return isset($this->bindings[$abstract]) || … … 178 178 * @return bool 179 179 */ 180 public function resolved($abstract) 180 public function resolved($abstract) : bool 181 181 { 182 182 if ($this->isAlias($abstract)) { … … 194 194 * @return bool 195 195 */ 196 public function isShared($abstract) 196 public function isShared($abstract) : bool 197 197 { 198 198 return isset($this->instances[$abstract]) || … … 207 207 * @return bool 208 208 */ 209 public function isAlias($name) 209 public function isAlias($name) : bool 210 210 { 211 211 return isset($this->aliases[$name]); … … 216 216 * 217 217 * @param string $abstract 218 * @param \Closure|string|null $concrete218 * @param Closure|string|null $concrete 219 219 * @param bool $shared 220 * @return void 221 */ 222 public function bind($abstract, $concrete = null, $shared = false) 220 * 221 * @return void 222 */ 223 public function bind($abstract, $concrete = null, $shared = false) : void 223 224 { 224 225 $this->dropStaleInstances($abstract); … … 257 258 * @param string $abstract 258 259 * @param string $concrete 259 * @return \Closure 260 * 261 * @return Closure 260 262 */ 261 263 protected function getClosure($abstract, $concrete) … … 278 280 * 279 281 * @param string $method 280 * @return bool 281 */ 282 public function hasMethodBinding($method) 282 */ 283 public function hasMethodBinding($method) : bool 283 284 { 284 285 return isset($this->methodBindings[$method]); … … 289 290 * 290 291 * @param array|string $method 291 * @param \Closure $callback 292 * @return void 293 */ 294 public function bindMethod($method, $callback) 292 * @param Closure $callback 293 * 294 * @return void 295 */ 296 public function bindMethod($method, $callback) : void 295 297 { 296 298 $this->methodBindings[$this->parseBindMethod($method)] = $callback; … … 303 305 * @return string 304 306 */ 305 protected function parseBindMethod($method) 307 protected function parseBindMethod($method) : string 306 308 { 307 309 if (is_array($method)) { … … 319 321 * @return mixed 320 322 */ 321 public function callMethodBinding($method, $instance) 323 public function callMethodBinding($method, $instance) : mixed 322 324 { 323 325 return call_user_func($this->methodBindings[$method], $instance, $this); … … 329 331 * @param string $concrete 330 332 * @param string $abstract 331 * @param \Closure|string $implementation 332 * @return void 333 */ 334 public function addContextualBinding($concrete, $abstract, $implementation) 333 * @param Closure|string $implementation 334 * 335 * @return void 336 */ 337 public function addContextualBinding($concrete, $abstract, $implementation) : void 335 338 { 336 339 $this->contextual[$concrete][$this->getAlias($abstract)] = $implementation; … … 340 343 * Register a binding if it hasn't already been registered. 341 344 * 342 * @param string $abstract343 * @param \Closure|string|null $concrete345 * @param string $abstract 346 * @param Closure|string|null $concrete 344 347 * @param bool $shared 345 * @return void 346 */ 347 public function bindIf($abstract, $concrete = null, $shared = false) 348 * 349 * @return void 350 */ 351 public function bindIf($abstract, $concrete = null, $shared = false) : void 348 352 { 349 353 if (!$this->bound($abstract)) { … … 355 359 * Register a shared binding in the container. 356 360 * 357 * @param string $abstract 358 * @param \Closure|string|null $concrete 359 * @return void 360 */ 361 public function singleton($abstract, $concrete = null) 361 * @param string $abstract 362 * @param Closure|string|null $concrete 363 * 364 * @return void 365 */ 366 public function singleton($abstract, $concrete = null) : void 362 367 { 363 368 $this->bind($abstract, $concrete, true); … … 367 372 * Register a shared binding if it hasn't already been registered. 368 373 * 369 * @param string $abstract 370 * @param \Closure|string|null $concrete 371 * @return void 372 */ 373 public function singletonIf($abstract, $concrete = null) 374 * @param string $abstract 375 * @param Closure|string|null $concrete 376 * 377 * @return void 378 */ 379 public function singletonIf($abstract, $concrete = null) : void 374 380 { 375 381 if (!$this->bound($abstract)) { … … 381 387 * "Extend" an abstract type in the container. 382 388 * 383 * @param string $abstract 384 * @param \Closure $closure 389 * @param string $abstract 390 * @param Closure $closure 391 * 385 392 * @return void 386 393 * 387 394 * @throws \InvalidArgumentException 388 395 */ 389 public function extend($abstract, Closure $closure) 396 public function extend($abstract, Closure $closure) : void 390 397 { 391 398 $abstract = $this->getAlias($abstract); … … 411 418 * @return mixed 412 419 */ 413 public function instance($abstract, $instance) 420 public function instance($abstract, $instance) : mixed 414 421 { 415 422 $this->removeAbstractAlias($abstract); … … 437 444 * @return void 438 445 */ 439 protected function removeAbstractAlias($searched) 446 protected function removeAbstractAlias($searched) : void 440 447 { 441 448 if (!isset($this->aliases[$searched])) { … … 459 466 * @return void 460 467 */ 461 public function tag($abstracts, $tags) 468 public function tag($abstracts, $tags) : void 462 469 { 463 470 $tags = is_array($tags) ? $tags : array_slice(func_get_args(), 1); … … 502 509 * @throws \LogicException 503 510 */ 504 public function alias($abstract, $alias) 511 public function alias($abstract, $alias) : void 505 512 { 506 513 if ($alias === $abstract) { … … 517 524 * 518 525 * @param string $abstract 519 * @param \Closure $callback 520 * @return mixed 521 */ 522 public function rebinding($abstract, Closure $callback) 526 * @param Closure $callback 527 * 528 * @return mixed 529 */ 530 public function rebinding($abstract, Closure $callback) : mixed 523 531 { 524 532 $this->reboundCallbacks[$abstract = $this->getAlias($abstract)][] = $callback; … … 537 545 * @return mixed 538 546 */ 539 public function refresh($abstract, $target, $method) 547 public function refresh($abstract, $target, $method) : mixed 540 548 { 541 549 return $this->rebinding($abstract, function ($app, $instance) use ($target, $method) { … … 550 558 * @return void 551 559 */ 552 protected function rebound($abstract) 560 protected function rebound($abstract) : void 553 561 { 554 562 $instance = $this->make($abstract); … … 565 573 * @return array 566 574 */ 567 protected function getReboundCallbacks($abstract) 575 protected function getReboundCallbacks($abstract) : array 568 576 { 569 577 return $this->reboundCallbacks[$abstract] ?? []; … … 573 581 * Wrap the given closure such that its dependencies will be injected when executed. 574 582 * 575 * @param \Closure$callback583 * @param Closure $callback 576 584 * @param array $parameters 577 * @return \Closure 585 * 586 * @return Closure 578 587 */ 579 588 public function wrap(Closure $callback, array $parameters = []) … … 594 603 * @throws \InvalidArgumentException 595 604 */ 596 public function call($callback, array $parameters = [], $defaultMethod = null) 605 public function call($callback, array $parameters = [], $defaultMethod = null) : mixed 597 606 { 598 607 return BoundMethod::call($this, $callback, $parameters, $defaultMethod); … … 603 612 * 604 613 * @param string $abstract 605 * @return \Closure 614 * 615 * @return Closure 606 616 */ 607 617 public function factory($abstract) … … 621 631 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 622 632 */ 623 public function makeWith($abstract, array $parameters = []) 633 public function makeWith($abstract, array $parameters = []) : mixed 624 634 { 625 635 return $this->make($abstract, $parameters); … … 635 645 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 636 646 */ 637 public function make($abstract, array $parameters = []) 647 public function make($abstract, array $parameters = []) : mixed 638 648 { 639 649 return $this->resolve($abstract, $parameters); … … 666 676 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 667 677 */ 668 protected function resolve($abstract, $parameters = [], $raiseEvents = true) 678 protected function resolve($abstract, $parameters = [], $raiseEvents = true) : mixed 669 679 { 670 680 $abstract = $this->getAlias($abstract); … … 730 740 * @return mixed 731 741 */ 732 protected function getConcrete($abstract) 742 protected function getConcrete($abstract) : mixed 733 743 { 734 744 // If we don't have a registered resolver or concrete for the type, we'll just … … 746 756 * 747 757 * @param string $abstract 748 * @return \Closure|string|array|null 758 * 759 * @return Closure|string|array|null 749 760 */ 750 761 protected function getContextualConcrete($abstract) … … 772 783 * 773 784 * @param string $abstract 774 * @return \Closure|string|null 785 * 786 * @return Closure|string|null 775 787 */ 776 788 protected function findInContextualBindings($abstract) … … 786 798 * @return bool 787 799 */ 788 protected function isBuildable($concrete, $abstract) 800 protected function isBuildable($concrete, $abstract) : bool 789 801 { 790 802 return $concrete === $abstract || $concrete instanceof Closure; … … 794 806 * Instantiate a concrete instance of the given type. 795 807 * 796 * @param \Closure|string $concrete 808 * @param Closure|string $concrete 809 * 797 810 * @return mixed 798 811 * 799 812 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 800 813 */ 801 public function build($concrete) 814 public function build($concrete) : mixed 802 815 { 803 816 // If the concrete type is actually a Closure, we will just execute it and … … 860 873 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 861 874 */ 862 protected function resolveDependencies(array $dependencies) 875 protected function resolveDependencies(array $dependencies) : array 863 876 { 864 877 $results = []; … … 897 910 * @return bool 898 911 */ 899 protected function hasParameterOverride($dependency) 912 protected function hasParameterOverride($dependency) : bool 900 913 { 901 914 return array_key_exists( … … 911 924 * @return mixed 912 925 */ 913 protected function getParameterOverride($dependency) 926 protected function getParameterOverride($dependency) : mixed 914 927 { 915 928 return $this->getLastParameterOverride()[$dependency->name]; … … 921 934 * @return array 922 935 */ 923 protected function getLastParameterOverride() 936 protected function getLastParameterOverride() : array 924 937 { 925 938 return count($this->with) ? end($this->with) : []; … … 934 947 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 935 948 */ 936 protected function resolvePrimitive(ReflectionParameter $parameter) 949 protected function resolvePrimitive(ReflectionParameter $parameter) : mixed 937 950 { 938 951 if (!is_null($concrete = $this->getContextualConcrete('$' . $parameter->getName()))) { … … 955 968 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 956 969 */ 957 protected function resolveClass(ReflectionParameter $parameter) 970 protected function resolveClass(ReflectionParameter $parameter) : mixed 958 971 { 959 972 try { … … 985 998 * @return mixed 986 999 */ 987 protected function resolveVariadicClass(ReflectionParameter $parameter) 1000 protected function resolveVariadicClass(ReflectionParameter $parameter) : mixed 988 1001 { 989 1002 $className = Util::getParameterClassName($parameter); … … 1008 1021 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 1009 1022 */ 1010 protected function notInstantiable($concrete) 1023 protected function notInstantiable($concrete) : void 1011 1024 { 1012 1025 if (!empty($this->buildStack)) { … … 1029 1042 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 1030 1043 */ 1031 protected function unresolvablePrimitive(ReflectionParameter $parameter) 1044 protected function unresolvablePrimitive(ReflectionParameter $parameter) : void 1032 1045 { 1033 1046 $message = "Unresolvable dependency resolving [$parameter] in class {$parameter->getDeclaringClass()->getName()}"; … … 1039 1052 * Register a new resolving callback. 1040 1053 * 1041 * @param \Closure|string $abstract 1042 * @param \Closure|null $callback 1043 * @return void 1044 */ 1045 public function resolving($abstract, Closure $callback = null) 1054 * @param Closure|string $abstract 1055 * @param Closure|null $callback 1056 * 1057 * @return void 1058 */ 1059 public function resolving($abstract, Closure $callback = null) : void 1046 1060 { 1047 1061 if (is_string($abstract)) { … … 1059 1073 * Register a new after resolving callback for all types. 1060 1074 * 1061 * @param \Closure|string $abstract 1062 * @param \Closure|null $callback 1063 * @return void 1064 */ 1065 public function afterResolving($abstract, Closure $callback = null) 1075 * @param Closure|string $abstract 1076 * @param Closure|null $callback 1077 * 1078 * @return void 1079 */ 1080 public function afterResolving($abstract, Closure $callback = null) : void 1066 1081 { 1067 1082 if (is_string($abstract)) { … … 1083 1098 * @return void 1084 1099 */ 1085 protected function fireResolvingCallbacks($abstract, $object) 1100 protected function fireResolvingCallbacks($abstract, $object) : void 1086 1101 { 1087 1102 $this->fireCallbackArray($object, $this->globalResolvingCallbacks); … … 1102 1117 * @return void 1103 1118 */ 1104 protected function fireAfterResolvingCallbacks($abstract, $object) 1119 protected function fireAfterResolvingCallbacks($abstract, $object) : void 1105 1120 { 1106 1121 $this->fireCallbackArray($object, $this->globalAfterResolvingCallbacks); … … 1121 1136 * @return array 1122 1137 */ 1123 protected function getCallbacksForType($abstract, $object, array $callbacksPerType) 1138 protected function getCallbacksForType($abstract, $object, array $callbacksPerType) : array 1124 1139 { 1125 1140 $results = []; … … 1141 1156 * @return void 1142 1157 */ 1143 protected function fireCallbackArray($object, array $callbacks) 1158 protected function fireCallbackArray($object, array $callbacks) : void 1144 1159 { 1145 1160 foreach ($callbacks as $callback) { … … 1153 1168 * @return array 1154 1169 */ 1155 public function getBindings() 1170 public function getBindings() : array 1156 1171 { 1157 1172 return $this->bindings; … … 1164 1179 * @return string 1165 1180 */ 1166 public function getAlias($abstract) 1181 public function getAlias($abstract) : string 1167 1182 { 1168 1183 return isset($this->aliases[$abstract]) … … 1177 1192 * @return array 1178 1193 */ 1179 protected function getExtenders($abstract) 1194 protected function getExtenders($abstract) : array 1180 1195 { 1181 1196 return $this->extenders[$this->getAlias($abstract)] ?? []; … … 1188 1203 * @return void 1189 1204 */ 1190 public function forgetExtenders($abstract) 1205 public function forgetExtenders($abstract) : void 1191 1206 { 1192 1207 unset($this->extenders[$this->getAlias($abstract)]); … … 1199 1214 * @return void 1200 1215 */ 1201 protected function dropStaleInstances($abstract) 1216 protected function dropStaleInstances($abstract) : void 1202 1217 { 1203 1218 unset($this->instances[$abstract], $this->aliases[$abstract]); … … 1210 1225 * @return void 1211 1226 */ 1212 public function forgetInstance($abstract) 1227 public function forgetInstance($abstract) : void 1213 1228 { 1214 1229 unset($this->instances[$abstract]); … … 1220 1235 * @return void 1221 1236 */ 1222 public function forgetInstances() 1237 public function forgetInstances() : void 1223 1238 { 1224 1239 $this->instances = []; … … 1230 1245 * @return void 1231 1246 */ 1232 public function flush() 1247 public function flush() : void 1233 1248 { 1234 1249 $this->aliases = []; … … 1244 1259 * @return static 1245 1260 */ 1246 public static function getInstance() 1261 public static function getInstance() : static 1247 1262 { 1248 1263 if (is_null(static::$instance)) { … … 1270 1285 * @return bool 1271 1286 */ 1272 public function offsetExists($key) 1287 public function offsetExists($key) : bool 1273 1288 { 1274 1289 return $this->bound($key); … … 1281 1296 * @return mixed 1282 1297 */ 1283 public function offsetGet($key) 1298 public function offsetGet($key) : mixed 1284 1299 { 1285 1300 return $this->make($key); … … 1293 1308 * @return void 1294 1309 */ 1295 public function offsetSet($key, $value) 1310 public function offsetSet($key, $value) : void 1296 1311 { 1297 1312 $this->bind($key, $value instanceof Closure ? $value : function () use ($value) { … … 1306 1321 * @return void 1307 1322 */ 1308 public function offsetUnset($key) 1323 public function offsetUnset($key) : void 1309 1324 { 1310 1325 unset($this->bindings[$key], $this->instances[$key], $this->resolved[$key]); … … 1317 1332 * @return mixed 1318 1333 */ 1319 public function __get($key) 1334 public function __get($key) : mixed 1320 1335 { 1321 1336 return $this[$key]; … … 1329 1344 * @return void 1330 1345 */ 1331 public function __set($key, $value) 1346 public function __set($key, $value) : void 1332 1347 { 1333 1348 $this[$key] = $value; -
smartpay/tags/2.7.10/framework/Database/Eloquent/Model.php
r2542354 r3205237 389 389 } 390 390 391 public function jsonSerialize() 391 public function jsonSerialize(): array 392 392 { 393 393 return $this->toArray(); 394 394 } 395 395 396 public function toArray() 396 public function toArray(): array 397 397 { 398 398 $attributes = $this->getAttributes(); … … 509 509 public function push() 510 510 { 511 if (!$this->save()) return false; 511 if (!$this->save()) { 512 return false; 513 } 512 514 513 515 foreach ($this->relations as $models) { 514 516 $relations = ModelCollection::make($models); 515 517 foreach ($relations as $relation) { 516 if (!$relation->push()) return false; 518 if (!$relation->push()) { 519 return false; 520 } 517 521 } 518 522 } … … 686 690 if (!array_key_exists($key, $this->original)) { 687 691 $dirty[$key] = $value; 688 } elseif ( 689 $value !== $this->original[$key] && 692 } elseif ($value !== $this->original[$key] && 690 693 !$this->originalIsNumericallyEquivalent($key) 691 694 ) { … … 830 833 * @return bool 831 834 */ 832 public function offsetExists($offset) 835 public function offsetExists($offset): bool 833 836 { 834 837 return !is_null($this->getAttribute($offset)); … … 841 844 * @return mixed 842 845 */ 843 public function offsetGet($offset) 846 public function offsetGet($offset): mixed 844 847 { 845 848 return $this->getAttribute($offset); … … 853 856 * @return void 854 857 */ 855 public function offsetSet($offset, $value) 858 public function offsetSet($offset, $value): void 856 859 { 857 860 $this->setAttribute($offset, $value); … … 864 867 * @return void 865 868 */ 866 public function offsetUnset($offset) 869 public function offsetUnset($offset): void 867 870 { 868 871 unset($this->attributes[$offset], $this->relations[$offset]); -
smartpay/tags/2.7.10/framework/Database/Eloquent/ModelCollection.php
r2446799 r3205237 20 20 public static function make($items) 21 21 { 22 if (is_null($items)) return new static; 23 24 if ($items instanceof self) return $items; 22 if (is_null($items)) { 23 return new static; 24 } 25 26 if ($items instanceof self) { 27 return $items; 28 } 25 29 26 30 return new static(is_array($items) ? $items : [$items]); … … 32 36 } 33 37 34 public function count() 38 public function count(): int 35 39 { 36 40 return count($this->models); … … 289 293 } 290 294 291 public function jsonSerialize() 295 public function jsonSerialize(): array 292 296 { 293 297 return $this->toArray(); 294 298 } 295 299 296 public function getIterator() 300 public function getIterator(): ArrayIterator 297 301 { 298 302 return new ArrayIterator($this->models); 299 303 } 300 304 301 public function offsetExists($offset) 305 public function offsetExists($offset): bool 302 306 { 303 307 return isset($this->models[$offset]); 304 308 } 305 309 306 public function offsetGet($offset) 310 public function offsetGet($offset): mixed 307 311 { 308 312 if ($this->offsetExists($offset)) { … … 311 315 } 312 316 313 public function offsetSet($offset, $value) 317 public function offsetSet($offset, $value): void 314 318 { 315 319 $this->models[$offset] = $value; 316 320 } 317 321 318 public function offsetUnset($offset) 322 public function offsetUnset($offset): void 319 323 { 320 324 unset($this->models[$offset]); -
smartpay/tags/2.7.10/framework/Database/QueryBuilder/QueryBuilderHandler.php
r2542354 r3205237 50 50 */ 51 51 protected $fetchParameters = array(\PDO::FETCH_OBJ); 52 protected string $adapter; 53 protected array $adapterConfig; 52 54 53 55 /** -
smartpay/tags/2.7.10/readme.txt
r3205236 r3205237 5 5 Tested up to: 6.6.2 6 6 Requires PHP: 7.4.0 7 Stable Tag: 2.7. 97 Stable Tag: 2.7.10 8 8 License: GNU Version 2 or later 9 9 … … 113 113 114 114 == Changelog == 115 = [2.7.10] = 116 * Fix - Errors due to return type declaration. 117 * Fix - Error due to early triggering text domain. 118 115 119 = [2.7.9] = 116 120 * Fix - Form builder unaccessible due to overlapping styles. -
smartpay/tags/2.7.10/smartpay.php
r3205236 r3205237 6 6 * Plugin URI: https://wpsmartpay.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash 7 7 * Tags: download manager, digital product, donation, ecommerce, paddle, stripe, paypal, document manager, file manager, download protection, recurring payment, donations, donation plugin, wordpress donation plugin, wp donation, fundraising, fundraiser, crowdfunding, wordpress donations, gutenberg, gutenberg donations, nonprofit, paypal donations, paypal donate, stripe donations, stripe donate, authorize.net, authorize.net donations, bkash, bkash payment, 8 * Version: 2.7. 98 * Version: 2.7.10 9 9 * Author: WPSmartPay 10 10 * Author URI: https://wpsmartpay.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash … … 28 28 defined('ABSPATH') || exit; 29 29 30 define('SMARTPAY_VERSION', '2.7. 9');30 define('SMARTPAY_VERSION', '2.7.10'); 31 31 define('SMARTPAY_PLUGIN_FILE', __FILE__); 32 32 define('SMARTPAY_PLUGIN_ASSETS', plugins_url('public', __FILE__)); … … 43 43 do_action('smartpay_loaded'); 44 44 45 load_plugin_textdomain('smartpay', false, dirname(plugin_basename(__FILE__)) . '/resources/languages');46 47 45 // Run The Application 48 46 $app->boot(); … … 51 49 add_action('init', function () { 52 50 do_action('smartpay_init'); 51 52 // Load translations 53 load_plugin_textdomain('smartpay', false, dirname(plugin_basename(__FILE__)) . '/resources/languages'); 53 54 }); -
smartpay/tags/2.7.10/vendor/composer/installed.php
r3205236 r3205237 2 2 'root' => array( 3 3 'name' => 'wp-smartpay/core', 4 'pretty_version' => 'v2.7. 9',5 'version' => '2.7. 9.0',6 'reference' => ' 1e531f029adbdeef65469698ca6d1ebcd2b1791d',4 'pretty_version' => 'v2.7.10', 5 'version' => '2.7.10.0', 6 'reference' => '2987689bd103036669562bccabbcc3b9d4a1391c', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 108 108 ), 109 109 'wp-smartpay/core' => array( 110 'pretty_version' => 'v2.7. 9',111 'version' => '2.7. 9.0',112 'reference' => ' 1e531f029adbdeef65469698ca6d1ebcd2b1791d',110 'pretty_version' => 'v2.7.10', 111 'version' => '2.7.10.0', 112 'reference' => '2987689bd103036669562bccabbcc3b9d4a1391c', 113 113 'type' => 'library', 114 114 'install_path' => __DIR__ . '/../../', -
smartpay/trunk/framework/Application.php
r2446799 r3205237 205 205 * @return mixed 206 206 */ 207 public function make($abstract, array $parameters = []) 207 public function make($abstract, array $parameters = []) : mixed 208 208 { 209 209 $abstract = $this->getAlias($abstract); 210 210 211 if ( 212 !$this->bound($abstract) && 211 if (!$this->bound($abstract) && 213 212 array_key_exists($abstract, $this->availableBindings) && 214 213 !array_key_exists($this->availableBindings[$abstract], $this->ranServiceBinders) … … 288 287 * @return void 289 288 */ 290 public function flush() 289 public function flush() : void 291 290 { 292 291 parent::flush(); -
smartpay/trunk/framework/Container/Container.php
r2674934 r3205237 39 39 * The container's method bindings. 40 40 * 41 * @var \Closure[]41 * @var Closure[] 42 42 */ 43 43 protected $methodBindings = []; … … 109 109 * All of the global resolving callbacks. 110 110 * 111 * @var \Closure[]111 * @var Closure[] 112 112 */ 113 113 protected $globalResolvingCallbacks = []; … … 116 116 * All of the global after resolving callbacks. 117 117 * 118 * @var \Closure[]118 * @var Closure[] 119 119 */ 120 120 protected $globalAfterResolvingCallbacks = []; … … 157 157 * @return bool 158 158 */ 159 public function bound($abstract) 159 public function bound($abstract) : bool 160 160 { 161 161 return isset($this->bindings[$abstract]) || … … 178 178 * @return bool 179 179 */ 180 public function resolved($abstract) 180 public function resolved($abstract) : bool 181 181 { 182 182 if ($this->isAlias($abstract)) { … … 194 194 * @return bool 195 195 */ 196 public function isShared($abstract) 196 public function isShared($abstract) : bool 197 197 { 198 198 return isset($this->instances[$abstract]) || … … 207 207 * @return bool 208 208 */ 209 public function isAlias($name) 209 public function isAlias($name) : bool 210 210 { 211 211 return isset($this->aliases[$name]); … … 216 216 * 217 217 * @param string $abstract 218 * @param \Closure|string|null $concrete218 * @param Closure|string|null $concrete 219 219 * @param bool $shared 220 * @return void 221 */ 222 public function bind($abstract, $concrete = null, $shared = false) 220 * 221 * @return void 222 */ 223 public function bind($abstract, $concrete = null, $shared = false) : void 223 224 { 224 225 $this->dropStaleInstances($abstract); … … 257 258 * @param string $abstract 258 259 * @param string $concrete 259 * @return \Closure 260 * 261 * @return Closure 260 262 */ 261 263 protected function getClosure($abstract, $concrete) … … 278 280 * 279 281 * @param string $method 280 * @return bool 281 */ 282 public function hasMethodBinding($method) 282 */ 283 public function hasMethodBinding($method) : bool 283 284 { 284 285 return isset($this->methodBindings[$method]); … … 289 290 * 290 291 * @param array|string $method 291 * @param \Closure $callback 292 * @return void 293 */ 294 public function bindMethod($method, $callback) 292 * @param Closure $callback 293 * 294 * @return void 295 */ 296 public function bindMethod($method, $callback) : void 295 297 { 296 298 $this->methodBindings[$this->parseBindMethod($method)] = $callback; … … 303 305 * @return string 304 306 */ 305 protected function parseBindMethod($method) 307 protected function parseBindMethod($method) : string 306 308 { 307 309 if (is_array($method)) { … … 319 321 * @return mixed 320 322 */ 321 public function callMethodBinding($method, $instance) 323 public function callMethodBinding($method, $instance) : mixed 322 324 { 323 325 return call_user_func($this->methodBindings[$method], $instance, $this); … … 329 331 * @param string $concrete 330 332 * @param string $abstract 331 * @param \Closure|string $implementation 332 * @return void 333 */ 334 public function addContextualBinding($concrete, $abstract, $implementation) 333 * @param Closure|string $implementation 334 * 335 * @return void 336 */ 337 public function addContextualBinding($concrete, $abstract, $implementation) : void 335 338 { 336 339 $this->contextual[$concrete][$this->getAlias($abstract)] = $implementation; … … 340 343 * Register a binding if it hasn't already been registered. 341 344 * 342 * @param string $abstract343 * @param \Closure|string|null $concrete345 * @param string $abstract 346 * @param Closure|string|null $concrete 344 347 * @param bool $shared 345 * @return void 346 */ 347 public function bindIf($abstract, $concrete = null, $shared = false) 348 * 349 * @return void 350 */ 351 public function bindIf($abstract, $concrete = null, $shared = false) : void 348 352 { 349 353 if (!$this->bound($abstract)) { … … 355 359 * Register a shared binding in the container. 356 360 * 357 * @param string $abstract 358 * @param \Closure|string|null $concrete 359 * @return void 360 */ 361 public function singleton($abstract, $concrete = null) 361 * @param string $abstract 362 * @param Closure|string|null $concrete 363 * 364 * @return void 365 */ 366 public function singleton($abstract, $concrete = null) : void 362 367 { 363 368 $this->bind($abstract, $concrete, true); … … 367 372 * Register a shared binding if it hasn't already been registered. 368 373 * 369 * @param string $abstract 370 * @param \Closure|string|null $concrete 371 * @return void 372 */ 373 public function singletonIf($abstract, $concrete = null) 374 * @param string $abstract 375 * @param Closure|string|null $concrete 376 * 377 * @return void 378 */ 379 public function singletonIf($abstract, $concrete = null) : void 374 380 { 375 381 if (!$this->bound($abstract)) { … … 381 387 * "Extend" an abstract type in the container. 382 388 * 383 * @param string $abstract 384 * @param \Closure $closure 389 * @param string $abstract 390 * @param Closure $closure 391 * 385 392 * @return void 386 393 * 387 394 * @throws \InvalidArgumentException 388 395 */ 389 public function extend($abstract, Closure $closure) 396 public function extend($abstract, Closure $closure) : void 390 397 { 391 398 $abstract = $this->getAlias($abstract); … … 411 418 * @return mixed 412 419 */ 413 public function instance($abstract, $instance) 420 public function instance($abstract, $instance) : mixed 414 421 { 415 422 $this->removeAbstractAlias($abstract); … … 437 444 * @return void 438 445 */ 439 protected function removeAbstractAlias($searched) 446 protected function removeAbstractAlias($searched) : void 440 447 { 441 448 if (!isset($this->aliases[$searched])) { … … 459 466 * @return void 460 467 */ 461 public function tag($abstracts, $tags) 468 public function tag($abstracts, $tags) : void 462 469 { 463 470 $tags = is_array($tags) ? $tags : array_slice(func_get_args(), 1); … … 502 509 * @throws \LogicException 503 510 */ 504 public function alias($abstract, $alias) 511 public function alias($abstract, $alias) : void 505 512 { 506 513 if ($alias === $abstract) { … … 517 524 * 518 525 * @param string $abstract 519 * @param \Closure $callback 520 * @return mixed 521 */ 522 public function rebinding($abstract, Closure $callback) 526 * @param Closure $callback 527 * 528 * @return mixed 529 */ 530 public function rebinding($abstract, Closure $callback) : mixed 523 531 { 524 532 $this->reboundCallbacks[$abstract = $this->getAlias($abstract)][] = $callback; … … 537 545 * @return mixed 538 546 */ 539 public function refresh($abstract, $target, $method) 547 public function refresh($abstract, $target, $method) : mixed 540 548 { 541 549 return $this->rebinding($abstract, function ($app, $instance) use ($target, $method) { … … 550 558 * @return void 551 559 */ 552 protected function rebound($abstract) 560 protected function rebound($abstract) : void 553 561 { 554 562 $instance = $this->make($abstract); … … 565 573 * @return array 566 574 */ 567 protected function getReboundCallbacks($abstract) 575 protected function getReboundCallbacks($abstract) : array 568 576 { 569 577 return $this->reboundCallbacks[$abstract] ?? []; … … 573 581 * Wrap the given closure such that its dependencies will be injected when executed. 574 582 * 575 * @param \Closure$callback583 * @param Closure $callback 576 584 * @param array $parameters 577 * @return \Closure 585 * 586 * @return Closure 578 587 */ 579 588 public function wrap(Closure $callback, array $parameters = []) … … 594 603 * @throws \InvalidArgumentException 595 604 */ 596 public function call($callback, array $parameters = [], $defaultMethod = null) 605 public function call($callback, array $parameters = [], $defaultMethod = null) : mixed 597 606 { 598 607 return BoundMethod::call($this, $callback, $parameters, $defaultMethod); … … 603 612 * 604 613 * @param string $abstract 605 * @return \Closure 614 * 615 * @return Closure 606 616 */ 607 617 public function factory($abstract) … … 621 631 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 622 632 */ 623 public function makeWith($abstract, array $parameters = []) 633 public function makeWith($abstract, array $parameters = []) : mixed 624 634 { 625 635 return $this->make($abstract, $parameters); … … 635 645 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 636 646 */ 637 public function make($abstract, array $parameters = []) 647 public function make($abstract, array $parameters = []) : mixed 638 648 { 639 649 return $this->resolve($abstract, $parameters); … … 666 676 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 667 677 */ 668 protected function resolve($abstract, $parameters = [], $raiseEvents = true) 678 protected function resolve($abstract, $parameters = [], $raiseEvents = true) : mixed 669 679 { 670 680 $abstract = $this->getAlias($abstract); … … 730 740 * @return mixed 731 741 */ 732 protected function getConcrete($abstract) 742 protected function getConcrete($abstract) : mixed 733 743 { 734 744 // If we don't have a registered resolver or concrete for the type, we'll just … … 746 756 * 747 757 * @param string $abstract 748 * @return \Closure|string|array|null 758 * 759 * @return Closure|string|array|null 749 760 */ 750 761 protected function getContextualConcrete($abstract) … … 772 783 * 773 784 * @param string $abstract 774 * @return \Closure|string|null 785 * 786 * @return Closure|string|null 775 787 */ 776 788 protected function findInContextualBindings($abstract) … … 786 798 * @return bool 787 799 */ 788 protected function isBuildable($concrete, $abstract) 800 protected function isBuildable($concrete, $abstract) : bool 789 801 { 790 802 return $concrete === $abstract || $concrete instanceof Closure; … … 794 806 * Instantiate a concrete instance of the given type. 795 807 * 796 * @param \Closure|string $concrete 808 * @param Closure|string $concrete 809 * 797 810 * @return mixed 798 811 * 799 812 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 800 813 */ 801 public function build($concrete) 814 public function build($concrete) : mixed 802 815 { 803 816 // If the concrete type is actually a Closure, we will just execute it and … … 860 873 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 861 874 */ 862 protected function resolveDependencies(array $dependencies) 875 protected function resolveDependencies(array $dependencies) : array 863 876 { 864 877 $results = []; … … 897 910 * @return bool 898 911 */ 899 protected function hasParameterOverride($dependency) 912 protected function hasParameterOverride($dependency) : bool 900 913 { 901 914 return array_key_exists( … … 911 924 * @return mixed 912 925 */ 913 protected function getParameterOverride($dependency) 926 protected function getParameterOverride($dependency) : mixed 914 927 { 915 928 return $this->getLastParameterOverride()[$dependency->name]; … … 921 934 * @return array 922 935 */ 923 protected function getLastParameterOverride() 936 protected function getLastParameterOverride() : array 924 937 { 925 938 return count($this->with) ? end($this->with) : []; … … 934 947 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 935 948 */ 936 protected function resolvePrimitive(ReflectionParameter $parameter) 949 protected function resolvePrimitive(ReflectionParameter $parameter) : mixed 937 950 { 938 951 if (!is_null($concrete = $this->getContextualConcrete('$' . $parameter->getName()))) { … … 955 968 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 956 969 */ 957 protected function resolveClass(ReflectionParameter $parameter) 970 protected function resolveClass(ReflectionParameter $parameter) : mixed 958 971 { 959 972 try { … … 985 998 * @return mixed 986 999 */ 987 protected function resolveVariadicClass(ReflectionParameter $parameter) 1000 protected function resolveVariadicClass(ReflectionParameter $parameter) : mixed 988 1001 { 989 1002 $className = Util::getParameterClassName($parameter); … … 1008 1021 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 1009 1022 */ 1010 protected function notInstantiable($concrete) 1023 protected function notInstantiable($concrete) : void 1011 1024 { 1012 1025 if (!empty($this->buildStack)) { … … 1029 1042 * @throws \SmartPay\Framework\Contracts\Container\BindingResolutionException 1030 1043 */ 1031 protected function unresolvablePrimitive(ReflectionParameter $parameter) 1044 protected function unresolvablePrimitive(ReflectionParameter $parameter) : void 1032 1045 { 1033 1046 $message = "Unresolvable dependency resolving [$parameter] in class {$parameter->getDeclaringClass()->getName()}"; … … 1039 1052 * Register a new resolving callback. 1040 1053 * 1041 * @param \Closure|string $abstract 1042 * @param \Closure|null $callback 1043 * @return void 1044 */ 1045 public function resolving($abstract, Closure $callback = null) 1054 * @param Closure|string $abstract 1055 * @param Closure|null $callback 1056 * 1057 * @return void 1058 */ 1059 public function resolving($abstract, Closure $callback = null) : void 1046 1060 { 1047 1061 if (is_string($abstract)) { … … 1059 1073 * Register a new after resolving callback for all types. 1060 1074 * 1061 * @param \Closure|string $abstract 1062 * @param \Closure|null $callback 1063 * @return void 1064 */ 1065 public function afterResolving($abstract, Closure $callback = null) 1075 * @param Closure|string $abstract 1076 * @param Closure|null $callback 1077 * 1078 * @return void 1079 */ 1080 public function afterResolving($abstract, Closure $callback = null) : void 1066 1081 { 1067 1082 if (is_string($abstract)) { … … 1083 1098 * @return void 1084 1099 */ 1085 protected function fireResolvingCallbacks($abstract, $object) 1100 protected function fireResolvingCallbacks($abstract, $object) : void 1086 1101 { 1087 1102 $this->fireCallbackArray($object, $this->globalResolvingCallbacks); … … 1102 1117 * @return void 1103 1118 */ 1104 protected function fireAfterResolvingCallbacks($abstract, $object) 1119 protected function fireAfterResolvingCallbacks($abstract, $object) : void 1105 1120 { 1106 1121 $this->fireCallbackArray($object, $this->globalAfterResolvingCallbacks); … … 1121 1136 * @return array 1122 1137 */ 1123 protected function getCallbacksForType($abstract, $object, array $callbacksPerType) 1138 protected function getCallbacksForType($abstract, $object, array $callbacksPerType) : array 1124 1139 { 1125 1140 $results = []; … … 1141 1156 * @return void 1142 1157 */ 1143 protected function fireCallbackArray($object, array $callbacks) 1158 protected function fireCallbackArray($object, array $callbacks) : void 1144 1159 { 1145 1160 foreach ($callbacks as $callback) { … … 1153 1168 * @return array 1154 1169 */ 1155 public function getBindings() 1170 public function getBindings() : array 1156 1171 { 1157 1172 return $this->bindings; … … 1164 1179 * @return string 1165 1180 */ 1166 public function getAlias($abstract) 1181 public function getAlias($abstract) : string 1167 1182 { 1168 1183 return isset($this->aliases[$abstract]) … … 1177 1192 * @return array 1178 1193 */ 1179 protected function getExtenders($abstract) 1194 protected function getExtenders($abstract) : array 1180 1195 { 1181 1196 return $this->extenders[$this->getAlias($abstract)] ?? []; … … 1188 1203 * @return void 1189 1204 */ 1190 public function forgetExtenders($abstract) 1205 public function forgetExtenders($abstract) : void 1191 1206 { 1192 1207 unset($this->extenders[$this->getAlias($abstract)]); … … 1199 1214 * @return void 1200 1215 */ 1201 protected function dropStaleInstances($abstract) 1216 protected function dropStaleInstances($abstract) : void 1202 1217 { 1203 1218 unset($this->instances[$abstract], $this->aliases[$abstract]); … … 1210 1225 * @return void 1211 1226 */ 1212 public function forgetInstance($abstract) 1227 public function forgetInstance($abstract) : void 1213 1228 { 1214 1229 unset($this->instances[$abstract]); … … 1220 1235 * @return void 1221 1236 */ 1222 public function forgetInstances() 1237 public function forgetInstances() : void 1223 1238 { 1224 1239 $this->instances = []; … … 1230 1245 * @return void 1231 1246 */ 1232 public function flush() 1247 public function flush() : void 1233 1248 { 1234 1249 $this->aliases = []; … … 1244 1259 * @return static 1245 1260 */ 1246 public static function getInstance() 1261 public static function getInstance() : static 1247 1262 { 1248 1263 if (is_null(static::$instance)) { … … 1270 1285 * @return bool 1271 1286 */ 1272 public function offsetExists($key) 1287 public function offsetExists($key) : bool 1273 1288 { 1274 1289 return $this->bound($key); … … 1281 1296 * @return mixed 1282 1297 */ 1283 public function offsetGet($key) 1298 public function offsetGet($key) : mixed 1284 1299 { 1285 1300 return $this->make($key); … … 1293 1308 * @return void 1294 1309 */ 1295 public function offsetSet($key, $value) 1310 public function offsetSet($key, $value) : void 1296 1311 { 1297 1312 $this->bind($key, $value instanceof Closure ? $value : function () use ($value) { … … 1306 1321 * @return void 1307 1322 */ 1308 public function offsetUnset($key) 1323 public function offsetUnset($key) : void 1309 1324 { 1310 1325 unset($this->bindings[$key], $this->instances[$key], $this->resolved[$key]); … … 1317 1332 * @return mixed 1318 1333 */ 1319 public function __get($key) 1334 public function __get($key) : mixed 1320 1335 { 1321 1336 return $this[$key]; … … 1329 1344 * @return void 1330 1345 */ 1331 public function __set($key, $value) 1346 public function __set($key, $value) : void 1332 1347 { 1333 1348 $this[$key] = $value; -
smartpay/trunk/framework/Database/Eloquent/Model.php
r2542354 r3205237 389 389 } 390 390 391 public function jsonSerialize() 391 public function jsonSerialize(): array 392 392 { 393 393 return $this->toArray(); 394 394 } 395 395 396 public function toArray() 396 public function toArray(): array 397 397 { 398 398 $attributes = $this->getAttributes(); … … 509 509 public function push() 510 510 { 511 if (!$this->save()) return false; 511 if (!$this->save()) { 512 return false; 513 } 512 514 513 515 foreach ($this->relations as $models) { 514 516 $relations = ModelCollection::make($models); 515 517 foreach ($relations as $relation) { 516 if (!$relation->push()) return false; 518 if (!$relation->push()) { 519 return false; 520 } 517 521 } 518 522 } … … 686 690 if (!array_key_exists($key, $this->original)) { 687 691 $dirty[$key] = $value; 688 } elseif ( 689 $value !== $this->original[$key] && 692 } elseif ($value !== $this->original[$key] && 690 693 !$this->originalIsNumericallyEquivalent($key) 691 694 ) { … … 830 833 * @return bool 831 834 */ 832 public function offsetExists($offset) 835 public function offsetExists($offset): bool 833 836 { 834 837 return !is_null($this->getAttribute($offset)); … … 841 844 * @return mixed 842 845 */ 843 public function offsetGet($offset) 846 public function offsetGet($offset): mixed 844 847 { 845 848 return $this->getAttribute($offset); … … 853 856 * @return void 854 857 */ 855 public function offsetSet($offset, $value) 858 public function offsetSet($offset, $value): void 856 859 { 857 860 $this->setAttribute($offset, $value); … … 864 867 * @return void 865 868 */ 866 public function offsetUnset($offset) 869 public function offsetUnset($offset): void 867 870 { 868 871 unset($this->attributes[$offset], $this->relations[$offset]); -
smartpay/trunk/framework/Database/Eloquent/ModelCollection.php
r2446799 r3205237 20 20 public static function make($items) 21 21 { 22 if (is_null($items)) return new static; 23 24 if ($items instanceof self) return $items; 22 if (is_null($items)) { 23 return new static; 24 } 25 26 if ($items instanceof self) { 27 return $items; 28 } 25 29 26 30 return new static(is_array($items) ? $items : [$items]); … … 32 36 } 33 37 34 public function count() 38 public function count(): int 35 39 { 36 40 return count($this->models); … … 289 293 } 290 294 291 public function jsonSerialize() 295 public function jsonSerialize(): array 292 296 { 293 297 return $this->toArray(); 294 298 } 295 299 296 public function getIterator() 300 public function getIterator(): ArrayIterator 297 301 { 298 302 return new ArrayIterator($this->models); 299 303 } 300 304 301 public function offsetExists($offset) 305 public function offsetExists($offset): bool 302 306 { 303 307 return isset($this->models[$offset]); 304 308 } 305 309 306 public function offsetGet($offset) 310 public function offsetGet($offset): mixed 307 311 { 308 312 if ($this->offsetExists($offset)) { … … 311 315 } 312 316 313 public function offsetSet($offset, $value) 317 public function offsetSet($offset, $value): void 314 318 { 315 319 $this->models[$offset] = $value; 316 320 } 317 321 318 public function offsetUnset($offset) 322 public function offsetUnset($offset): void 319 323 { 320 324 unset($this->models[$offset]); -
smartpay/trunk/framework/Database/QueryBuilder/QueryBuilderHandler.php
r2542354 r3205237 50 50 */ 51 51 protected $fetchParameters = array(\PDO::FETCH_OBJ); 52 protected string $adapter; 53 protected array $adapterConfig; 52 54 53 55 /** -
smartpay/trunk/readme.txt
r3205236 r3205237 5 5 Tested up to: 6.6.2 6 6 Requires PHP: 7.4.0 7 Stable Tag: 2.7. 97 Stable Tag: 2.7.10 8 8 License: GNU Version 2 or later 9 9 … … 113 113 114 114 == Changelog == 115 = [2.7.10] = 116 * Fix - Errors due to return type declaration. 117 * Fix - Error due to early triggering text domain. 118 115 119 = [2.7.9] = 116 120 * Fix - Form builder unaccessible due to overlapping styles. -
smartpay/trunk/smartpay.php
r3205236 r3205237 6 6 * Plugin URI: https://wpsmartpay.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash 7 7 * Tags: download manager, digital product, donation, ecommerce, paddle, stripe, paypal, document manager, file manager, download protection, recurring payment, donations, donation plugin, wordpress donation plugin, wp donation, fundraising, fundraiser, crowdfunding, wordpress donations, gutenberg, gutenberg donations, nonprofit, paypal donations, paypal donate, stripe donations, stripe donate, authorize.net, authorize.net donations, bkash, bkash payment, 8 * Version: 2.7. 98 * Version: 2.7.10 9 9 * Author: WPSmartPay 10 10 * Author URI: https://wpsmartpay.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash … … 28 28 defined('ABSPATH') || exit; 29 29 30 define('SMARTPAY_VERSION', '2.7. 9');30 define('SMARTPAY_VERSION', '2.7.10'); 31 31 define('SMARTPAY_PLUGIN_FILE', __FILE__); 32 32 define('SMARTPAY_PLUGIN_ASSETS', plugins_url('public', __FILE__)); … … 43 43 do_action('smartpay_loaded'); 44 44 45 load_plugin_textdomain('smartpay', false, dirname(plugin_basename(__FILE__)) . '/resources/languages');46 47 45 // Run The Application 48 46 $app->boot(); … … 51 49 add_action('init', function () { 52 50 do_action('smartpay_init'); 51 52 // Load translations 53 load_plugin_textdomain('smartpay', false, dirname(plugin_basename(__FILE__)) . '/resources/languages'); 53 54 }); -
smartpay/trunk/vendor/composer/installed.php
r3205236 r3205237 2 2 'root' => array( 3 3 'name' => 'wp-smartpay/core', 4 'pretty_version' => 'v2.7. 9',5 'version' => '2.7. 9.0',6 'reference' => ' 1e531f029adbdeef65469698ca6d1ebcd2b1791d',4 'pretty_version' => 'v2.7.10', 5 'version' => '2.7.10.0', 6 'reference' => '2987689bd103036669562bccabbcc3b9d4a1391c', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 108 108 ), 109 109 'wp-smartpay/core' => array( 110 'pretty_version' => 'v2.7. 9',111 'version' => '2.7. 9.0',112 'reference' => ' 1e531f029adbdeef65469698ca6d1ebcd2b1791d',110 'pretty_version' => 'v2.7.10', 111 'version' => '2.7.10.0', 112 'reference' => '2987689bd103036669562bccabbcc3b9d4a1391c', 113 113 'type' => 'library', 114 114 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.