Plugin Directory

Changeset 2925032


Ignore:
Timestamp:
06/13/2023 01:39:13 AM (3 years ago)
Author:
ejointjp
Message:

v1.0.3

Location:
blogcard-for-wp/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • blogcard-for-wp/trunk/blogcard-for-wp.php

    r2911535 r2925032  
    44Plugin URI: https://e-joint.jp/works/blogcard-for-wp
    55Description: URLを貼るだけで、ブログカード風のリンクが作れるGutenbergブロックです。
    6 Version:     1.0.2
     6Version:     1.0.3
    77Author:      Takashi Fujisaki
    88Author URI:  https://e-joint.jp
     
    2626*/
    2727
    28 
    29 define('WPBC_ASSETS_CACHE', '2023-02-25 10:26:24');
    30 
    3128include_once plugin_dir_path(__FILE__) . 'inc/return_json.php';
    3229
     
    3936    plugins_url('dist/index.js', __FILE__),
    4037    [],
    41     WPBC_ASSETS_CACHE,
     38    filemtime(plugin_dir_path(__FILE__) . 'dist/index.js'),
    4239    '',
    4340    true
     
    5047    plugins_url('dist/editor-style.css', __FILE__),
    5148    [],
    52     WPBC_ASSETS_CACHE,
     49    filemtime(plugin_dir_path(__FILE__) . 'dist/editor-style.css'),
    5350    'all'
    5451  );
     
    5956    plugins_url('dist/style.css', __FILE__),
    6057    [],
    61     WPBC_ASSETS_CACHE,
     58    filemtime(plugin_dir_path(__FILE__) . 'dist/style.css'),
    6259    'all'
    6360  );
     
    152149  return 'wpbc--' . rawurlencode($url);
    153150}
    154 
    155 
    156 // if (!function_exists('savedump')) {
    157 //   function savedump($value, $file = 'dump.txt')
    158 //   {
    159 //     $dir = WP_PLUGIN_DIR . '/' . str_replace(basename(__FILE__), "", plugin_basename(__FILE__));
    160 //     ob_start();
    161 //     var_dump($value);
    162 //     $dump = ob_get_contents();
    163 //     ob_end_clean();
    164 //     file_put_contents($dir . '/' . $file, $dump);
    165 //   }
    166 // }
  • blogcard-for-wp/trunk/inc/return_json.php

    r2911535 r2925032  
    124124
    125125  if ($headers) {
    126 
    127     // ob_start();
    128     // //
    129     // var_dump($headers);
    130     // //
    131     // $dump = ob_get_contents();
    132     // ob_end_clean();
    133     // file_put_contents(ABSPATH . 'wp-content/uploads/log.txt', $dump);
    134 
    135126    return $headers['last-status'];
    136   } else {
    137 
    138     ob_start();
    139     //
    140     var_dump('unko');
    141     //
    142     $dump = ob_get_contents();
    143     ob_end_clean();
    144     file_put_contents(ABSPATH . 'wp-content/uploads/log.txt', $dump);
    145     return false;
    146127  }
    147128}
  • blogcard-for-wp/trunk/readme.txt

    r2911535 r2925032  
    44Tags: link, blog, blogcard, card, url
    55Requires at least: 5.0
    6 Tested up to: 6.2.0
    7 Stable tag: 1.0.2
     6Tested up to: 6.2.2
     7Stable tag: 1.0.3
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    2121
    2222
    23 
    2423== Frequently Asked Questions ==
    25 
    26 = A question that someone might have =
    27 
    28 An answer to that question.
    29 
    30 = What about foo bar? =
    31 
    32 Answer to foo bar dilemma.
    3324
    3425== Screenshots ==
     
    4233== Changelog ==
    4334
     35= 1.0.3 =
     36バグ修正
     37
    4438= 1.0.2 =
    4539バグ修正
     
    4741= 1.0.1 =
    4842バグ修正
     43
    4944= 1.0.0 =
    50 
    5145リリース
Note: See TracChangeset for help on using the changeset viewer.