China Video Block - Version 0.2.3

Version Description

  • fixed the ver number on the script so that the block doesn't keep breaking
Download this release

Release Info

Developer cjyabraham
Plugin Icon wp plugin China Video Block
Version 0.2.3
Comparing to
See all releases

Code changes from version 0.2.2 to 0.2.3

Files changed (3) hide show
  1. plugin.php +1 -1
  2. readme.txt +3 -0
  3. src/init.php +1 -1
plugin.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://github.com/cncf/china-video-block
5
  * Description: Gutenberg block that embeds one video for users in China, another for everyone else. Useful to accomodate video sites that are blocked in China.
6
  * Author: cjyabraham
7
- * Version: 0.2.2
8
  * License: GPLv2
9
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
  *
4
  * Plugin URI: https://github.com/cncf/china-video-block
5
  * Description: Gutenberg block that embeds one video for users in China, another for everyone else. Useful to accomodate video sites that are blocked in China.
6
  * Author: cjyabraham
7
+ * Version: 0.2.3
8
  * License: GPLv2
9
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
  *
readme.txt CHANGED
@@ -31,6 +31,9 @@ The plugin has been developed for [CNCF](https://www.cncf.io/) and [The Linux Fo
31
 
32
  == Changelog ==
33
 
 
 
 
34
  = 0.2.2 =
35
  * added a browser-busting version querystring for the front.js file so that browsers download the new file when it updates
36
 
31
 
32
  == Changelog ==
33
 
34
+ = 0.2.3 =
35
+ * fixed the ver number on the script so that the block doesn't keep breaking
36
+
37
  = 0.2.2 =
38
  * added a browser-busting version querystring for the front.js file so that browsers download the new file when it updates
39
 
src/init.php CHANGED
@@ -49,7 +49,7 @@ function china_video_block_cvb_block_assets() { // phpcs:ignore
49
  'china_video_block-cgb-block-js',
50
  'cvbPHPVars',
51
  array(
52
- 'frontScriptURL' => plugins_url( '/src/block/front.js?ver=' . filemtime( dirname( __FILE__ ) . '/block/front.js' ), dirname( __FILE__ ) ),
53
  'cvbIPInfoToken' => $options['cvb_ipinfo_token'],
54
  'settingsURL' => get_site_url() . '/wp-admin/options-general.php?page=cvb',
55
  )
49
  'china_video_block-cgb-block-js',
50
  'cvbPHPVars',
51
  array(
52
+ 'frontScriptURL' => plugins_url( '/src/block/front.js?ver=0.2.3', dirname( __FILE__ ) ),
53
  'cvbIPInfoToken' => $options['cvb_ipinfo_token'],
54
  'settingsURL' => get_site_url() . '/wp-admin/options-general.php?page=cvb',
55
  )