Changeset 3846958
- Timestamp:
- 12/06/2026 12:27:09 AM (less than one hour ago)
- Location:
- edebiyat-yarismalari-widget
- Files:
-
- 6 edited
- 1 copied
-
tags/1.2.0 (copied) (copied from edebiyat-yarismalari-widget/trunk )
-
tags/1.2.0/edebiyat-yarismalari-widget.php (modified) (3 diffs)
-
tags/1.2.0/includes/class-edyw-data-source.php (modified) (1 diff)
-
tags/1.2.0/readme.txt (modified) (2 diffs)
-
trunk/edebiyat-yarismalari-widget.php (modified) (3 diffs)
-
trunk/includes/class-edyw-data-source.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
edebiyat-yarismalari-widget/tags/1.2.0/edebiyat-yarismalari-widget.php
r3740132 r3846958 3 3 * Plugin Name: Edebiyat Yarışmaları Widget 4 4 * Description: edebiyatyarismalari.com'daki güncel edebiyat yarışması duyurularını [edyw_widget] shortcode'u ile sitenizde listeler. 5 * Version: 1. 1.05 * Version: 1.2.0 6 6 * Requires at least: 5.8 7 7 * Requires PHP: 7.4 … … 17 17 } 18 18 19 define( 'EDYW_VERSION', '1. 1.0' );19 define( 'EDYW_VERSION', '1.2.0' ); 20 20 define( 'EDYW_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 21 21 define( 'EDYW_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); 22 define( 'EDYW_FEED_URL', 'https://edebiyatyarismalari.com/yarismalar.json' ); 22 define( 'EDYW_FEED_URL', 'https://edebiyat-feed.ugur-7fb.workers.dev/yarismalar.json' ); 23 define( 'EDYW_FEED_FALLBACK_URL', 'https://edebiyatyarismalari.com/yarismalar.json' ); 23 24 define( 'EDYW_TRANSIENT_KEY', 'edyw_yarismalar' ); 24 25 define( 'EDYW_CACHE_TTL', 12 * HOUR_IN_SECONDS ); … … 29 30 add_action( 'wp_enqueue_scripts', 'edyw_register_assets' ); 30 31 /** 31 * Stil dosyasını kaydeder (henüz kuyruğa almaz —asıl enqueue shortcode render edildiğinde yapılır).32 * Stil dosyasını kaydeder (henüz kuyruğa almaz, asıl enqueue shortcode render edildiğinde yapılır). 32 33 */ 33 34 function edyw_register_assets() { -
edebiyat-yarismalari-widget/tags/1.2.0/includes/class-edyw-data-source.php
r3740132 r3846958 43 43 */ 44 44 private static function fetch_remote() { 45 $response = wp_remote_get( 46 EDYW_FEED_URL, 47 array(48 'timeout' => 5,49 )50 );45 $response = wp_remote_get( EDYW_FEED_URL, array( 'timeout' => 5 ) ); 46 47 if ( is_wp_error( $response ) || 200 !== wp_remote_retrieve_response_code( $response ) ) { 48 // Besleme sunucusu yanıt vermezse doğrudan kaynak adrese düş. 49 $response = wp_remote_get( EDYW_FEED_FALLBACK_URL, array( 'timeout' => 5 ) ); 50 } 51 51 52 52 if ( is_wp_error( $response ) || 200 !== wp_remote_retrieve_response_code( $response ) ) { -
edebiyat-yarismalari-widget/tags/1.2.0/readme.txt
r3740132 r3846958 3 3 Tags: literature, competitions, widget, writing, contest 4 4 Requires at least: 5.8 5 Tested up to: 7. 15 Tested up to: 7.2 6 6 Requires PHP: 7.4 7 Stable tag: 1. 1.07 Stable tag: 1.2.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 65 65 This plugin connects to edebiyatyarismalari.com, the site it is published by, to retrieve the list of current literary competition announcements shown by the `[edyw_widget]` shortcode. 66 66 67 It sends a plain server-side HTTP GET request to `https://edebiyat yarismalari.com/yarismalar.json` (a static, publicly available JSON feed) whenever the 12-hour cache has expired. No visitor data (IP address, cookies, user agent, or any other personal or site data) is included in this request — it is a fixed URL with no parameters. The response (competition titles, URLs, deadlines and prize info) is cached locally as a WordPress transient for 12 hours.67 It sends a plain server-side HTTP GET request to `https://edebiyat-feed.ugur-7fb.workers.dev/yarismalar.json` (a read-only copy of the public JSON feed, served by Cloudflare Workers) whenever the 12-hour cache has expired. If that address does not answer, the plugin requests `https://edebiyatyarismalari.com/yarismalar.json` directly. The URL has no parameters and no visitor data (IP address, cookies, or any other personal data of your visitors) is sent. As with every WordPress HTTP request, WordPress itself adds its standard User-Agent header (`WordPress/<version>; <your site address>`), so the service can see your site's address and WordPress version. We count the number of distinct sites that use the feed; this information is not shared with anyone. The response (competition titles, URLs, deadlines and prize info) is cached locally as a WordPress transient for 12 hours. 68 68 69 69 This service is provided by edebiyatyarismalari.com: [Privacy Policy](https://edebiyatyarismalari.com/gizlilik/). The site does not publish a separate terms-of-use page; the JSON feed is offered as public data for reuse. 70 70 71 71 == Changelog == 72 73 = 1.2.0 = 74 * Tested up to WordPress 7.2. 75 * The feed is now served from a Cloudflare Workers address, with the original address as automatic fallback. The external service section describes exactly what is sent. 72 76 73 77 = 1.1.0 = -
edebiyat-yarismalari-widget/trunk/edebiyat-yarismalari-widget.php
r3740132 r3846958 3 3 * Plugin Name: Edebiyat Yarışmaları Widget 4 4 * Description: edebiyatyarismalari.com'daki güncel edebiyat yarışması duyurularını [edyw_widget] shortcode'u ile sitenizde listeler. 5 * Version: 1. 1.05 * Version: 1.2.0 6 6 * Requires at least: 5.8 7 7 * Requires PHP: 7.4 … … 17 17 } 18 18 19 define( 'EDYW_VERSION', '1. 1.0' );19 define( 'EDYW_VERSION', '1.2.0' ); 20 20 define( 'EDYW_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 21 21 define( 'EDYW_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); 22 define( 'EDYW_FEED_URL', 'https://edebiyatyarismalari.com/yarismalar.json' ); 22 define( 'EDYW_FEED_URL', 'https://edebiyat-feed.ugur-7fb.workers.dev/yarismalar.json' ); 23 define( 'EDYW_FEED_FALLBACK_URL', 'https://edebiyatyarismalari.com/yarismalar.json' ); 23 24 define( 'EDYW_TRANSIENT_KEY', 'edyw_yarismalar' ); 24 25 define( 'EDYW_CACHE_TTL', 12 * HOUR_IN_SECONDS ); … … 29 30 add_action( 'wp_enqueue_scripts', 'edyw_register_assets' ); 30 31 /** 31 * Stil dosyasını kaydeder (henüz kuyruğa almaz —asıl enqueue shortcode render edildiğinde yapılır).32 * Stil dosyasını kaydeder (henüz kuyruğa almaz, asıl enqueue shortcode render edildiğinde yapılır). 32 33 */ 33 34 function edyw_register_assets() { -
edebiyat-yarismalari-widget/trunk/includes/class-edyw-data-source.php
r3740132 r3846958 43 43 */ 44 44 private static function fetch_remote() { 45 $response = wp_remote_get( 46 EDYW_FEED_URL, 47 array(48 'timeout' => 5,49 )50 );45 $response = wp_remote_get( EDYW_FEED_URL, array( 'timeout' => 5 ) ); 46 47 if ( is_wp_error( $response ) || 200 !== wp_remote_retrieve_response_code( $response ) ) { 48 // Besleme sunucusu yanıt vermezse doğrudan kaynak adrese düş. 49 $response = wp_remote_get( EDYW_FEED_FALLBACK_URL, array( 'timeout' => 5 ) ); 50 } 51 51 52 52 if ( is_wp_error( $response ) || 200 !== wp_remote_retrieve_response_code( $response ) ) { -
edebiyat-yarismalari-widget/trunk/readme.txt
r3740132 r3846958 3 3 Tags: literature, competitions, widget, writing, contest 4 4 Requires at least: 5.8 5 Tested up to: 7. 15 Tested up to: 7.2 6 6 Requires PHP: 7.4 7 Stable tag: 1. 1.07 Stable tag: 1.2.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 65 65 This plugin connects to edebiyatyarismalari.com, the site it is published by, to retrieve the list of current literary competition announcements shown by the `[edyw_widget]` shortcode. 66 66 67 It sends a plain server-side HTTP GET request to `https://edebiyat yarismalari.com/yarismalar.json` (a static, publicly available JSON feed) whenever the 12-hour cache has expired. No visitor data (IP address, cookies, user agent, or any other personal or site data) is included in this request — it is a fixed URL with no parameters. The response (competition titles, URLs, deadlines and prize info) is cached locally as a WordPress transient for 12 hours.67 It sends a plain server-side HTTP GET request to `https://edebiyat-feed.ugur-7fb.workers.dev/yarismalar.json` (a read-only copy of the public JSON feed, served by Cloudflare Workers) whenever the 12-hour cache has expired. If that address does not answer, the plugin requests `https://edebiyatyarismalari.com/yarismalar.json` directly. The URL has no parameters and no visitor data (IP address, cookies, or any other personal data of your visitors) is sent. As with every WordPress HTTP request, WordPress itself adds its standard User-Agent header (`WordPress/<version>; <your site address>`), so the service can see your site's address and WordPress version. We count the number of distinct sites that use the feed; this information is not shared with anyone. The response (competition titles, URLs, deadlines and prize info) is cached locally as a WordPress transient for 12 hours. 68 68 69 69 This service is provided by edebiyatyarismalari.com: [Privacy Policy](https://edebiyatyarismalari.com/gizlilik/). The site does not publish a separate terms-of-use page; the JSON feed is offered as public data for reuse. 70 70 71 71 == Changelog == 72 73 = 1.2.0 = 74 * Tested up to WordPress 7.2. 75 * The feed is now served from a Cloudflare Workers address, with the original address as automatic fallback. The external service section describes exactly what is sent. 72 76 73 77 = 1.1.0 =
Note:
See TracChangeset
for help on using the changeset viewer.