Plugin Directory

Changeset 3057107


Ignore:
Timestamp:
03/22/2024 11:20:03 PM (2 years ago)
Author:
lclutch
Message:

git commit:17da2ae1c7d65191ca363021bae4f4a76685bea4

Location:
l-clutch/trunk
Files:
1 deleted
13 edited

Legend:

Unmodified
Added
Removed
  • l-clutch/trunk/NOTICE.md

    r3035315 r3057107  
    164164### Gutenberg
    165165
    166     Copyright 2016-2023 by the contributors
     166    Copyright 2016-2024 by the contributors
    167167
    168168**License for Contributions (on and after April 15, 2021)**
  • l-clutch/trunk/includes/api/openapi/class-openapi-api.php

    r3048415 r3057107  
    6060                'title'       => 'LClutch',
    6161                'description' => 'LClutchのOpenAPI',
    62                 'version'     => '1.0.3',
     62                'version'     => '1.0.4',
    6363            ),
    6464            'servers'    => array(
  • l-clutch/trunk/includes/controller/class-shortcode-controller.php

    r3048415 r3057107  
    5252    public function create_blocks( string $name ) {
    5353        return function ( $attributes, $content ) use ( $name ) {
    54             $attribute = is_array( $attributes ) ? $attributes['attribute'] : '';
     54            $attribute = $attributes['attribute'] ?? '';
    5555            if ( $attribute ) {
    5656                $attribute = str_replace( '(|', '[', $attribute );
  • l-clutch/trunk/includes/model/dao/class-richmenu-dao.php

    r3048415 r3057107  
    9090            $dto = $this->manager->upsert( $dto );
    9191        } catch ( InvalidArgumentException | RuntimeException $e ) {
    92             $dto = $dto->with( array( 'status' => 'draft' ) );
    93             $this->db_dao->update( $dto );
     92            $this->db_dao->delete( $dto );
    9493            throw $e;
    9594        }
  • l-clutch/trunk/includes/model/dto/line-action/class-postback-action-dto.php

    r3048415 r3057107  
    5151
    5252    /**
    53      * テキストを取得する
    54      *
    55      * @return ?string
    56      */
    57     public function get_text() {
    58         return $this->get_container( 'text' );
    59     }
    60 
    61     /**
    6253     * 入力オプションを取得する
    6354     *
  • l-clutch/trunk/includes/model/dto/line-action/class-rich-menu-switch-action-dto.php

    r3048415 r3057107  
    3535     * データを取得する
    3636     *
    37      * @return ?string
     37     * @return string
    3838     */
    3939    public function get_data() {
    40         return $this->get_container( 'data' ) ?? 'dummy';
     40        return $this->get_container( 'data' ) ?? 'richmenu-switch-to-' . $this->get_rich_menu_alias_id();
    4141    }
    4242
     
    5454     */
    5555    public function to_openapi() {
    56         $action = new RichMenuSwitchAction( $this->to_array() );
     56        $props         = $this->to_array();
     57        $props['data'] = $this->get_data();
     58        $action        = new RichMenuSwitchAction( $props );
    5759        $action->setType( 'richmenuswitch' );
    5860        return $action;
  • l-clutch/trunk/readme.txt

    r3056414 r3057107  
    44Requires at least: 6.2
    55Tested up to: 6.5
    6 Stable tag: 1.0.3
     6Stable tag: 1.0.4
    77License: GPL-3.0
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
  • l-clutch/trunk/schemas/line-action/postback-action.json

    r3041601 r3057107  
    1515      "description": "アクション実行時に送信されるテキスト"
    1616    },
    17     "text": {
    18       "type": "string",
    19       "description": "アクション実行時に送信されるテキスト"
    20     },
    2117    "input_option": {
    2218      "type": "string",
  • l-clutch/trunk/src/packages/core/types/api.d.ts

    r3048415 r3057107  
    597597    /** @description アクション実行時に送信されるテキスト */
    598598    display_text?: string;
    599     /** @description アクション実行時に送信されるテキスト */
    600     text?: string;
    601599    /**
    602600     * @description アクションに応じた、リッチメニューなどの表示方法
  • l-clutch/trunk/vendor/autoload.php

    r3041601 r3057107  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInita1bfa2ef2bc77b74b5e128751873736e::getLoader();
     25return ComposerAutoloaderInite756e8ba6b5a4a42eadfc509a37601ac::getLoader();
  • l-clutch/trunk/vendor/composer/autoload_real.php

    r3041601 r3057107  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInita1bfa2ef2bc77b74b5e128751873736e
     5class ComposerAutoloaderInite756e8ba6b5a4a42eadfc509a37601ac
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInita1bfa2ef2bc77b74b5e128751873736e', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInite756e8ba6b5a4a42eadfc509a37601ac', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInita1bfa2ef2bc77b74b5e128751873736e', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInite756e8ba6b5a4a42eadfc509a37601ac', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInita1bfa2ef2bc77b74b5e128751873736e::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInite756e8ba6b5a4a42eadfc509a37601ac::getInitializer($loader));
    3333
    3434        $loader->register(true);
    3535
    36         $filesToLoad = \Composer\Autoload\ComposerStaticInita1bfa2ef2bc77b74b5e128751873736e::$files;
     36        $filesToLoad = \Composer\Autoload\ComposerStaticInite756e8ba6b5a4a42eadfc509a37601ac::$files;
    3737        $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
    3838            if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • l-clutch/trunk/vendor/composer/autoload_static.php

    r3048415 r3057107  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInita1bfa2ef2bc77b74b5e128751873736e
     7class ComposerStaticInite756e8ba6b5a4a42eadfc509a37601ac
    88{
    99    public static $files = array (
     
    180180    {
    181181        return \Closure::bind(function () use ($loader) {
    182             $loader->prefixLengthsPsr4 = ComposerStaticInita1bfa2ef2bc77b74b5e128751873736e::$prefixLengthsPsr4;
    183             $loader->prefixDirsPsr4 = ComposerStaticInita1bfa2ef2bc77b74b5e128751873736e::$prefixDirsPsr4;
    184             $loader->classMap = ComposerStaticInita1bfa2ef2bc77b74b5e128751873736e::$classMap;
     182            $loader->prefixLengthsPsr4 = ComposerStaticInite756e8ba6b5a4a42eadfc509a37601ac::$prefixLengthsPsr4;
     183            $loader->prefixDirsPsr4 = ComposerStaticInite756e8ba6b5a4a42eadfc509a37601ac::$prefixDirsPsr4;
     184            $loader->classMap = ComposerStaticInite756e8ba6b5a4a42eadfc509a37601ac::$classMap;
    185185
    186186        }, null, ClassLoader::class);
  • l-clutch/trunk/vendor/composer/installed.php

    r3048415 r3057107  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '0630d8e04a7e940dc1031ec51f4ea15e75811b52',
     6        'reference' => '17da2ae1c7d65191ca363021bae4f4a76685bea4',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    4141            'pretty_version' => 'dev-main',
    4242            'version' => 'dev-main',
    43             'reference' => '0630d8e04a7e940dc1031ec51f4ea15e75811b52',
     43            'reference' => '17da2ae1c7d65191ca363021bae4f4a76685bea4',
    4444            'type' => 'library',
    4545            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.