Changeset 2925032
- Timestamp:
- 06/13/2023 01:39:13 AM (3 years ago)
- Location:
- blogcard-for-wp/trunk
- Files:
-
- 3 edited
-
blogcard-for-wp.php (modified) (6 diffs)
-
inc/return_json.php (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
blogcard-for-wp/trunk/blogcard-for-wp.php
r2911535 r2925032 4 4 Plugin URI: https://e-joint.jp/works/blogcard-for-wp 5 5 Description: URLを貼るだけで、ブログカード風のリンクが作れるGutenbergブロックです。 6 Version: 1.0. 26 Version: 1.0.3 7 7 Author: Takashi Fujisaki 8 8 Author URI: https://e-joint.jp … … 26 26 */ 27 27 28 29 define('WPBC_ASSETS_CACHE', '2023-02-25 10:26:24');30 31 28 include_once plugin_dir_path(__FILE__) . 'inc/return_json.php'; 32 29 … … 39 36 plugins_url('dist/index.js', __FILE__), 40 37 [], 41 WPBC_ASSETS_CACHE,38 filemtime(plugin_dir_path(__FILE__) . 'dist/index.js'), 42 39 '', 43 40 true … … 50 47 plugins_url('dist/editor-style.css', __FILE__), 51 48 [], 52 WPBC_ASSETS_CACHE,49 filemtime(plugin_dir_path(__FILE__) . 'dist/editor-style.css'), 53 50 'all' 54 51 ); … … 59 56 plugins_url('dist/style.css', __FILE__), 60 57 [], 61 WPBC_ASSETS_CACHE,58 filemtime(plugin_dir_path(__FILE__) . 'dist/style.css'), 62 59 'all' 63 60 ); … … 152 149 return 'wpbc--' . rawurlencode($url); 153 150 } 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 124 124 125 125 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 135 126 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;146 127 } 147 128 } -
blogcard-for-wp/trunk/readme.txt
r2911535 r2925032 4 4 Tags: link, blog, blogcard, card, url 5 5 Requires at least: 5.0 6 Tested up to: 6.2. 07 Stable tag: 1.0. 26 Tested up to: 6.2.2 7 Stable tag: 1.0.3 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 21 21 22 22 23 24 23 == 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.33 24 34 25 == Screenshots == … … 42 33 == Changelog == 43 34 35 = 1.0.3 = 36 バグ修正 37 44 38 = 1.0.2 = 45 39 バグ修正 … … 47 41 = 1.0.1 = 48 42 バグ修正 43 49 44 = 1.0.0 = 50 51 45 リリース
Note: See TracChangeset
for help on using the changeset viewer.