Changeset 3175339
- Timestamp:
- 10/24/2024 09:10:32 PM (17 months ago)
- Location:
- calj/trunk
- Files:
-
- 3 edited
-
CalJPlugin.php (modified) (1 diff)
-
calj.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
calj/trunk/CalJPlugin.php
r3175332 r3175339 141 141 142 142 $city = self::getoptopt('city', ''); 143 $response = file_get_contents('https://api.calj.net/wp/1/shabbat.json?city='.$city.'&key='.$key); 143 // Fixed by idokd ( ido@yalla-ya.com ): instead of file_get_contents 144 $url = 'https://api.calj.net/wp/1/shabbat.json?city='.$city.'&key='.$key; 145 $response = wp_remote_get( $url ); 146 $response = wp_remote_retrieve_body( $response ); 144 147 145 148 $response = json_decode($response, true); -
calj/trunk/calj.php
r3175332 r3175339 6 6 * Plugin URI: https://calj.net 7 7 * Description: Add the Shabbat times on your site. 8 * Version: 1. 4.38 * Version: 1.5 9 9 * Author: Gabriel Zerbib <gabriel@calj.net> 10 10 * Author URI: https://calj.net -
calj/trunk/readme.txt
r3175296 r3175339 146 146 == Changelog == 147 147 148 = 1.5 = 149 Fix by @idokd for wp_remote_get 150 148 151 = 1.4.2 = 149 152 Better error handling
Note: See TracChangeset
for help on using the changeset viewer.