Plugin Directory

Changeset 3493656


Ignore:
Timestamp:
03/29/2026 03:56:48 AM (6 days ago)
Author:
wpmiyake
Message:

update link structure

Location:
hotelipp/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • hotelipp/trunk/class/Setting.php

    r3492663 r3493656  
    112112            // ── 一休.com ─────────────────────────────────────────
    113113            case 'ikyu':
    114                 // VCリンクのvc_urlはトップページのみ有効(検索URLはリンク切れになる)
    115                 $base = 'https://www.ikyu.com/';
     114                // 一休はVC経由でもクエリパラメータ付き検索URLが有効なため、検索ページを使用
     115                $kw = trim( (string) ( $hotel_data['hotel_name'] ?? '' ) );
     116                $base = $kw
     117                    ? 'https://www.ikyu.com/ap/srch/UspW11103.aspx?kwd=' . rawurlencode( $kw )
     118                    : 'https://www.ikyu.com/';
    116119                if ( ! empty( $s['valuecommerce_sid'] ) && ! empty( $s['valuecommerce_pid_ikyu'] ) ) {
    117120                    return self::wrap_vc( $base, $s['valuecommerce_sid'], $s['valuecommerce_pid_ikyu'] );
  • hotelipp/trunk/hotelipp.php

    r3492663 r3493656  
    55 * Description: 楽天トラベル・じゃらん・Yahoo!トラベル・Agodaなど複数の予約サイトに対応したアフィリエイトリンク付きのホテルカードを作成・管理できるプラグインです。Gutenbergブロックおよびショートコードに対応しています。
    66 * Author: wpmiyake
    7  * Version: 0.0.1
     7 * Version: 0.0.2
    88 * Author URI: https://dormykatsu.com/
    99 * Text Domain: hotelipp
     
    2222define( 'HOTELIPP_PATH',     plugin_dir_path( __FILE__ ) );
    2323define( 'HOTELIPP_BASENAME', plugin_basename( __FILE__ ) );
    24 define( 'HOTELIPP_VERSION', '0.0.0' );
     24define( 'HOTELIPP_VERSION', '0.0.2' );
    2525
    2626/**
  • hotelipp/trunk/readme.txt

    r3492663 r3493656  
    44Requires at least: 5.9
    55Tested up to: 6.9
    6 Stable tag: 0.0.1
     6Stable tag: 0.0.2
    77Requires PHP: 7.4
    88License: GPLv3 or later
     
    117117== Changelog ==
    118118
     119= 0.0.2 =
     120* Improved affiliate link structure for Ikyu.com
     121
    119122= 0.0.1 =
    120123* Fixed affiliate link structure for Rurubu Travel, Ikyu.com, and KNT
Note: See TracChangeset for help on using the changeset viewer.