Changeset 2516408
- Timestamp:
- 04/16/2021 03:00:32 PM (5 years ago)
- Location:
- astrology
- Files:
-
- 22 edited
- 1 copied
-
tags/1.0.4 (copied) (copied from astrology/trunk)
-
tags/1.0.4/astrology.php (modified) (1 diff)
-
tags/1.0.4/dependencies/vendor/autoload.php (modified) (1 diff)
-
tags/1.0.4/dependencies/vendor/composer/autoload_real.php (modified) (3 diffs)
-
tags/1.0.4/dependencies/vendor/composer/autoload_static.php (modified) (2 diffs)
-
tags/1.0.4/readme.txt (modified) (4 diffs)
-
tags/1.0.4/src/Configuration.php (modified) (1 diff)
-
tags/1.0.4/src/Front/Front.php (modified) (1 diff)
-
tags/1.0.4/src/vendor/autoload.php (modified) (1 diff)
-
tags/1.0.4/src/vendor/composer/autoload_real.php (modified) (3 diffs)
-
tags/1.0.4/src/vendor/composer/autoload_static.php (modified) (2 diffs)
-
tags/1.0.4/templates/front/form/panchang.tpl.php (modified) (1 diff)
-
trunk/astrology.php (modified) (1 diff)
-
trunk/dependencies/vendor/autoload.php (modified) (1 diff)
-
trunk/dependencies/vendor/composer/autoload_real.php (modified) (3 diffs)
-
trunk/dependencies/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/src/Configuration.php (modified) (1 diff)
-
trunk/src/Front/Front.php (modified) (1 diff)
-
trunk/src/vendor/autoload.php (modified) (1 diff)
-
trunk/src/vendor/composer/autoload_real.php (modified) (3 diffs)
-
trunk/src/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/templates/front/form/panchang.tpl.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
astrology/tags/1.0.4/astrology.php
r2513947 r2516408 12 12 * Plugin URI: https://api.prokerala.com 13 13 * Description: Integrate astrology calculators powered by Prokerala's Astrology API 14 * Version: 1.0. 314 * Version: 1.0.4 15 15 * Author: Prokerala 16 16 * Author URI: https://www.prokerala.com -
astrology/tags/1.0.4/dependencies/vendor/autoload.php
r2514021 r2516408 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 17f7767e001cf98c1f342c2d0d186d67::getLoader();7 return ComposerAutoloaderInitb7b83f594773eb9c7444f58dd4447ff2::getLoader(); -
astrology/tags/1.0.4/dependencies/vendor/composer/autoload_real.php
r2514021 r2516408 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 17f7767e001cf98c1f342c2d0d186d675 class ComposerAutoloaderInitb7b83f594773eb9c7444f58dd4447ff2 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 17f7767e001cf98c1f342c2d0d186d67', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInitb7b83f594773eb9c7444f58dd4447ff2', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Prokerala_WP_Astrology_Composer\Autoload\ClassLoader(); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 17f7767e001cf98c1f342c2d0d186d67', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInitb7b83f594773eb9c7444f58dd4447ff2', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require_once __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInit 17f7767e001cf98c1f342c2d0d186d67::getInitializer($loader));33 call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInitb7b83f594773eb9c7444f58dd4447ff2::getInitializer($loader)); 34 34 } else { 35 35 $classMap = require __DIR__ . '/autoload_classmap.php'; -
astrology/tags/1.0.4/dependencies/vendor/composer/autoload_static.php
r2514021 r2516408 5 5 namespace Prokerala_WP_Astrology_Composer\Autoload; 6 6 7 class ComposerStaticInit 17f7767e001cf98c1f342c2d0d186d677 class ComposerStaticInitb7b83f594773eb9c7444f58dd4447ff2 8 8 { 9 9 public static $classMap = array ( … … 342 342 { 343 343 return \Closure::bind(function () use ($loader) { 344 $loader->classMap = ComposerStaticInit 17f7767e001cf98c1f342c2d0d186d67::$classMap;344 $loader->classMap = ComposerStaticInitb7b83f594773eb9c7444f58dd4447ff2::$classMap; 345 345 346 346 }, null, ClassLoader::class); -
astrology/tags/1.0.4/readme.txt
r2514006 r2516408 4 4 Requires at least: 5.5 5 5 Tested up to: 5.7 6 Stable tag: 1.0. 36 Stable tag: 1.0.4 7 7 Requires PHP: 7.2.0 8 8 License: GPLV2+ … … 62 62 If you are unable to use the block editor, then you can also activate the plugin using the short code `astrology`. 63 63 64 <code> 65 [astrology report="REPORT_NAME"] 66 </code> 64 <code>[astrology report="REPORT_NAME"]</code> 67 65 68 66 Where `REPORT_NAME` must be one of following … … 87 85 - `ThirumanaPorutham` 88 86 87 *Shortcode attributes* 88 89 - `display_charts` 90 91 The `display_charts` option allows showing _Rasi_ / _Navamsa_ chart in Kundli result. This will cost two additional API calls. The value of the attribute must be `lagna,navamsa`. 92 93 `[astrology report="Kundli" display_charts="lagna,rasi"]` 94 95 - `result_type` 96 97 In calculators that support `basic` and `advanced` results, the result type can be forced using the `result_type` attribute. Settings this attribute will remove the corresponding input fields from the form. 98 99 `[astrology report="Kundli" result_type="advanced"]` 100 101 - `chart_style` 102 103 You can set the `chart_style` attribute to one of `north-indian`, `south-indian` or `east-indian` to force the result chart style. Setting this attribute will remove the corresponding input fields from the form. 104 105 `[astrology report="Kundli" chart_style="south-indian"]` 106 89 107 == Frequently Asked Questions == 90 108 … … 98 116 99 117 == Changelog == 118 119 = 1.0.4 = 120 * Fix php notices 100 121 101 122 = 1.0.3 = -
astrology/tags/1.0.4/src/Configuration.php
r2513947 r2516408 224 224 'astrology_plugin_options', 225 225 [ 226 'attribution' => '1', 226 227 'ayanamsa' => '1', 227 'timezone' => date_default_timezone_get(),228 228 'client_id' => '', 229 229 'client_secret' => '', 230 'theme' => '', 231 'timezone' => date_default_timezone_get(), 230 232 ] 231 233 ); -
astrology/tags/1.0.4/src/Front/Front.php
r2513947 r2516408 178 178 global $post; 179 179 180 return is_a( $post, 'WP_Post' ) ||has_shortcode( $post->post_content, 'astrology' );180 return is_a( $post, 'WP_Post' ) && has_shortcode( $post->post_content, 'astrology' ); 181 181 } 182 182 } -
astrology/tags/1.0.4/src/vendor/autoload.php
r2514021 r2516408 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit af9575f43f247c5a42c304c9131753db::getLoader();7 return ComposerAutoloaderInit97350fc22183ab553e127f2ec2225b7e::getLoader(); -
astrology/tags/1.0.4/src/vendor/composer/autoload_real.php
r2514021 r2516408 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit af9575f43f247c5a42c304c9131753db5 class ComposerAutoloaderInit97350fc22183ab553e127f2ec2225b7e 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit af9575f43f247c5a42c304c9131753db', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit97350fc22183ab553e127f2ec2225b7e', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Prokerala_WP_Astrology_Composer\Autoload\ClassLoader(); 27 spl_autoload_unregister(array('ComposerAutoloaderInit af9575f43f247c5a42c304c9131753db', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit97350fc22183ab553e127f2ec2225b7e', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require_once __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInit af9575f43f247c5a42c304c9131753db::getInitializer($loader));33 call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInit97350fc22183ab553e127f2ec2225b7e::getInitializer($loader)); 34 34 } else { 35 35 $classMap = require __DIR__ . '/autoload_classmap.php'; -
astrology/tags/1.0.4/src/vendor/composer/autoload_static.php
r2514021 r2516408 5 5 namespace Prokerala_WP_Astrology_Composer\Autoload; 6 6 7 class ComposerStaticInit af9575f43f247c5a42c304c9131753db7 class ComposerStaticInit97350fc22183ab553e127f2ec2225b7e 8 8 { 9 9 public static $classMap = array ( … … 41 41 { 42 42 return \Closure::bind(function () use ($loader) { 43 $loader->classMap = ComposerStaticInit af9575f43f247c5a42c304c9131753db::$classMap;43 $loader->classMap = ComposerStaticInit97350fc22183ab553e127f2ec2225b7e::$classMap; 44 44 45 45 }, null, ClassLoader::class); -
astrology/tags/1.0.4/templates/front/form/panchang.tpl.php
r2513947 r2516408 46 46 47 47 <?php $this->render( __DIR__ . '/panchang-form.tpl.php' ); ?> 48 <?php $this->render( __DIR__ . '/result-type-option.tpl.php', [ 're port_type' => $options['report_type'] ] ); ?>48 <?php $this->render( __DIR__ . '/result-type-option.tpl.php', [ 'result_type' => $options['result_type'] ] ); ?> 49 49 50 50 <div class="pk-astrology-text-right"> -
astrology/trunk/astrology.php
r2513947 r2516408 12 12 * Plugin URI: https://api.prokerala.com 13 13 * Description: Integrate astrology calculators powered by Prokerala's Astrology API 14 * Version: 1.0. 314 * Version: 1.0.4 15 15 * Author: Prokerala 16 16 * Author URI: https://www.prokerala.com -
astrology/trunk/dependencies/vendor/autoload.php
r2514021 r2516408 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 17f7767e001cf98c1f342c2d0d186d67::getLoader();7 return ComposerAutoloaderInitb7b83f594773eb9c7444f58dd4447ff2::getLoader(); -
astrology/trunk/dependencies/vendor/composer/autoload_real.php
r2514021 r2516408 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 17f7767e001cf98c1f342c2d0d186d675 class ComposerAutoloaderInitb7b83f594773eb9c7444f58dd4447ff2 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 17f7767e001cf98c1f342c2d0d186d67', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInitb7b83f594773eb9c7444f58dd4447ff2', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Prokerala_WP_Astrology_Composer\Autoload\ClassLoader(); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 17f7767e001cf98c1f342c2d0d186d67', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInitb7b83f594773eb9c7444f58dd4447ff2', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require_once __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInit 17f7767e001cf98c1f342c2d0d186d67::getInitializer($loader));33 call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInitb7b83f594773eb9c7444f58dd4447ff2::getInitializer($loader)); 34 34 } else { 35 35 $classMap = require __DIR__ . '/autoload_classmap.php'; -
astrology/trunk/dependencies/vendor/composer/autoload_static.php
r2514021 r2516408 5 5 namespace Prokerala_WP_Astrology_Composer\Autoload; 6 6 7 class ComposerStaticInit 17f7767e001cf98c1f342c2d0d186d677 class ComposerStaticInitb7b83f594773eb9c7444f58dd4447ff2 8 8 { 9 9 public static $classMap = array ( … … 342 342 { 343 343 return \Closure::bind(function () use ($loader) { 344 $loader->classMap = ComposerStaticInit 17f7767e001cf98c1f342c2d0d186d67::$classMap;344 $loader->classMap = ComposerStaticInitb7b83f594773eb9c7444f58dd4447ff2::$classMap; 345 345 346 346 }, null, ClassLoader::class); -
astrology/trunk/readme.txt
r2514006 r2516408 4 4 Requires at least: 5.5 5 5 Tested up to: 5.7 6 Stable tag: 1.0. 36 Stable tag: 1.0.4 7 7 Requires PHP: 7.2.0 8 8 License: GPLV2+ … … 62 62 If you are unable to use the block editor, then you can also activate the plugin using the short code `astrology`. 63 63 64 <code> 65 [astrology report="REPORT_NAME"] 66 </code> 64 <code>[astrology report="REPORT_NAME"]</code> 67 65 68 66 Where `REPORT_NAME` must be one of following … … 87 85 - `ThirumanaPorutham` 88 86 87 *Shortcode attributes* 88 89 - `display_charts` 90 91 The `display_charts` option allows showing _Rasi_ / _Navamsa_ chart in Kundli result. This will cost two additional API calls. The value of the attribute must be `lagna,navamsa`. 92 93 `[astrology report="Kundli" display_charts="lagna,rasi"]` 94 95 - `result_type` 96 97 In calculators that support `basic` and `advanced` results, the result type can be forced using the `result_type` attribute. Settings this attribute will remove the corresponding input fields from the form. 98 99 `[astrology report="Kundli" result_type="advanced"]` 100 101 - `chart_style` 102 103 You can set the `chart_style` attribute to one of `north-indian`, `south-indian` or `east-indian` to force the result chart style. Setting this attribute will remove the corresponding input fields from the form. 104 105 `[astrology report="Kundli" chart_style="south-indian"]` 106 89 107 == Frequently Asked Questions == 90 108 … … 98 116 99 117 == Changelog == 118 119 = 1.0.4 = 120 * Fix php notices 100 121 101 122 = 1.0.3 = -
astrology/trunk/src/Configuration.php
r2513947 r2516408 224 224 'astrology_plugin_options', 225 225 [ 226 'attribution' => '1', 226 227 'ayanamsa' => '1', 227 'timezone' => date_default_timezone_get(),228 228 'client_id' => '', 229 229 'client_secret' => '', 230 'theme' => '', 231 'timezone' => date_default_timezone_get(), 230 232 ] 231 233 ); -
astrology/trunk/src/Front/Front.php
r2513947 r2516408 178 178 global $post; 179 179 180 return is_a( $post, 'WP_Post' ) ||has_shortcode( $post->post_content, 'astrology' );180 return is_a( $post, 'WP_Post' ) && has_shortcode( $post->post_content, 'astrology' ); 181 181 } 182 182 } -
astrology/trunk/src/vendor/autoload.php
r2514021 r2516408 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit af9575f43f247c5a42c304c9131753db::getLoader();7 return ComposerAutoloaderInit97350fc22183ab553e127f2ec2225b7e::getLoader(); -
astrology/trunk/src/vendor/composer/autoload_real.php
r2514021 r2516408 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit af9575f43f247c5a42c304c9131753db5 class ComposerAutoloaderInit97350fc22183ab553e127f2ec2225b7e 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit af9575f43f247c5a42c304c9131753db', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit97350fc22183ab553e127f2ec2225b7e', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Prokerala_WP_Astrology_Composer\Autoload\ClassLoader(); 27 spl_autoload_unregister(array('ComposerAutoloaderInit af9575f43f247c5a42c304c9131753db', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit97350fc22183ab553e127f2ec2225b7e', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require_once __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInit af9575f43f247c5a42c304c9131753db::getInitializer($loader));33 call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInit97350fc22183ab553e127f2ec2225b7e::getInitializer($loader)); 34 34 } else { 35 35 $classMap = require __DIR__ . '/autoload_classmap.php'; -
astrology/trunk/src/vendor/composer/autoload_static.php
r2514021 r2516408 5 5 namespace Prokerala_WP_Astrology_Composer\Autoload; 6 6 7 class ComposerStaticInit af9575f43f247c5a42c304c9131753db7 class ComposerStaticInit97350fc22183ab553e127f2ec2225b7e 8 8 { 9 9 public static $classMap = array ( … … 41 41 { 42 42 return \Closure::bind(function () use ($loader) { 43 $loader->classMap = ComposerStaticInit af9575f43f247c5a42c304c9131753db::$classMap;43 $loader->classMap = ComposerStaticInit97350fc22183ab553e127f2ec2225b7e::$classMap; 44 44 45 45 }, null, ClassLoader::class); -
astrology/trunk/templates/front/form/panchang.tpl.php
r2513947 r2516408 46 46 47 47 <?php $this->render( __DIR__ . '/panchang-form.tpl.php' ); ?> 48 <?php $this->render( __DIR__ . '/result-type-option.tpl.php', [ 're port_type' => $options['report_type'] ] ); ?>48 <?php $this->render( __DIR__ . '/result-type-option.tpl.php', [ 'result_type' => $options['result_type'] ] ); ?> 49 49 50 50 <div class="pk-astrology-text-right">
Note: See TracChangeset
for help on using the changeset viewer.