VK All in One Expansion Unit - Version 8.1.2

Version Description

[ bugfix ][ new-posts-widget ] Undefined variable error fixed

Download this release

Release Info

Developer kurudrive
Plugin Icon 128x128 VK All in One Expansion Unit
Version 8.1.2
Comparing to
See all releases

Code changes from version 8.1.1 to 8.1.2

plugins/other_widget/widget-new-posts.php CHANGED
@@ -1,8 +1,9 @@
1
  <?php
2
-
3
- /*-------------------------------------------*/
4
- /* Side Post list widget
5
  /*-------------------------------------------*/
 
 
6
  class WP_Widget_vkExUnit_post_list extends WP_Widget {
7
 
8
  public $taxonomies = array( 'category' );
@@ -17,8 +18,8 @@ class WP_Widget_vkExUnit_post_list extends WP_Widget {
17
  );
18
  }
19
 
20
- /*-------------------------------------------*/
21
- /* 一覧へのリンクhtmlを出力する関数
22
  /*-------------------------------------------*/
23
  static public function more_link_html( $instance ) {
24
  if ( ! empty( $instance['more_text'] ) && ! empty( $instance['more_url'] ) ) {
@@ -238,7 +239,7 @@ class WP_Widget_vkExUnit_post_list extends WP_Widget {
238
  $instance = static::get_options( $instance );
239
  ?>
240
  <br />
241
- <?php //タイトル ?>
242
  <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label><br/>
243
  <?php
244
  if ( isset( $instance['title'] ) && $instance['title'] ) {
@@ -267,10 +268,9 @@ class WP_Widget_vkExUnit_post_list extends WP_Widget {
267
  <label><input type="radio" name="<?php echo $this->get_field_name( 'format' ); ?>" value="1"<?php echo $checked; ?>/><?php echo __( 'Date', 'vkExUnit' ) . '/' . __( 'Category', 'vkExUnit' ) . '/' . __( 'Title', 'vkExUnit' ); ?></label>
268
  <br/><br/>
269
 
270
- <p><label for="<?php echo $this->get_field_id( $args['media_url'] ); ?>"><?php _e( 'Default thumbnail image:', 'vkExUnit' ); ?></label><br/>
271
-
272
  <?php
273
- /* media uploader
 
274
  /*-------------------------------------------*/
275
  $args = array(
276
  'media_url' => 'media_url',
@@ -278,6 +278,7 @@ $args = array(
278
  'media_alt' => 'media_alt',
279
  );
280
  ?>
 
281
  <div class="media_image_section">
282
  <div class="_display admin-custom-thumb-outer" style="height:auto">
283
  <?php
@@ -314,12 +315,12 @@ if ( ! empty( $instance[ $args['media_url'] ] ) ) :
314
  /><?php _e( 'Modified date', 'vkExUnit' ); ?></label>
315
  <br/><br/>
316
 
317
- <?php //表示件数 ?>
318
  <label for="<?php echo $this->get_field_id( 'count' ); ?>"><?php _e( 'Display count', 'vkExUnit' ); ?>:</label><br/>
319
  <input type="text" id="<?php echo $this->get_field_id( 'count' ); ?>" name="<?php echo $this->get_field_name( 'count' ); ?>" value="<?php echo esc_attr( $instance['count'] ); ?>" />
320
  <br /><br />
321
 
322
- <?php //投稿タイプ ?>
323
  <label for="<?php echo $this->get_field_id( 'post_type' ); ?>"><?php _e( 'Slug for the custom type you want to display', 'vkExUnit' ); ?>:</label><br />
324
  <input type="text" id="<?php echo $this->get_field_id( 'post_type' ); ?>" name="<?php echo $this->get_field_name( 'post_type' ); ?>" value="<?php echo esc_attr( $instance['post_type'] ); ?>" />
325
  <br/><br/>
1
  <?php
2
+ /*
3
+ Side Post list widget
 
4
  /*-------------------------------------------*/
5
+
6
+
7
  class WP_Widget_vkExUnit_post_list extends WP_Widget {
8
 
9
  public $taxonomies = array( 'category' );
18
  );
19
  }
20
 
21
+ /*
22
+ 一覧へのリンクhtmlを出力する関数
23
  /*-------------------------------------------*/
24
  static public function more_link_html( $instance ) {
25
  if ( ! empty( $instance['more_text'] ) && ! empty( $instance['more_url'] ) ) {
239
  $instance = static::get_options( $instance );
240
  ?>
241
  <br />
242
+ <?php // タイトル ?>
243
  <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label><br/>
244
  <?php
245
  if ( isset( $instance['title'] ) && $instance['title'] ) {
268
  <label><input type="radio" name="<?php echo $this->get_field_name( 'format' ); ?>" value="1"<?php echo $checked; ?>/><?php echo __( 'Date', 'vkExUnit' ) . '/' . __( 'Category', 'vkExUnit' ) . '/' . __( 'Title', 'vkExUnit' ); ?></label>
269
  <br/><br/>
270
 
 
 
271
  <?php
272
+ /*
273
+ media uploader
274
  /*-------------------------------------------*/
275
  $args = array(
276
  'media_url' => 'media_url',
278
  'media_alt' => 'media_alt',
279
  );
280
  ?>
281
+ <p><label for="<?php echo $this->get_field_id( $args['media_url'] ); ?>"><?php _e( 'Default thumbnail image:', 'vkExUnit' ); ?></label><br/>
282
  <div class="media_image_section">
283
  <div class="_display admin-custom-thumb-outer" style="height:auto">
284
  <?php
315
  /><?php _e( 'Modified date', 'vkExUnit' ); ?></label>
316
  <br/><br/>
317
 
318
+ <?php // 表示件数 ?>
319
  <label for="<?php echo $this->get_field_id( 'count' ); ?>"><?php _e( 'Display count', 'vkExUnit' ); ?>:</label><br/>
320
  <input type="text" id="<?php echo $this->get_field_id( 'count' ); ?>" name="<?php echo $this->get_field_name( 'count' ); ?>" value="<?php echo esc_attr( $instance['count'] ); ?>" />
321
  <br /><br />
322
 
323
+ <?php // 投稿タイプ ?>
324
  <label for="<?php echo $this->get_field_id( 'post_type' ); ?>"><?php _e( 'Slug for the custom type you want to display', 'vkExUnit' ); ?>:</label><br />
325
  <input type="text" id="<?php echo $this->get_field_id( 'post_type' ); ?>" name="<?php echo $this->get_field_name( 'post_type' ); ?>" value="<?php echo esc_attr( $instance['post_type'] ); ?>" />
326
  <br/><br/>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
  Requires at least: 4.4
6
  Tested up to: 5.1.1
7
- Stable tag: 8.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -86,6 +86,9 @@ e.g.
86
 
87
  == Changelog ==
88
 
 
 
 
89
  = 8.1.1 =
90
  [ bug fix ] sns title custom value do not save bug fix
91
 
4
  Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
  Requires at least: 4.4
6
  Tested up to: 5.1.1
7
+ Stable tag: 8.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
86
 
87
  == Changelog ==
88
 
89
+ = 8.1.2 =
90
+ [ bugfix ][ new-posts-widget ] Undefined variable error fixed
91
+
92
  = 8.1.1 =
93
  [ bug fix ] sns title custom value do not save bug fix
94
 
vkExUnit.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: VK All in One Expansion Unit
4
  * Plugin URI: https://ex-unit.nagoya
5
  * Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
- * Version: 8.1.1
7
  * Author: Vektor,Inc.
8
  * Text Domain: vkExUnit
9
  * Domain Path: /languages
3
  * Plugin Name: VK All in One Expansion Unit
4
  * Plugin URI: https://ex-unit.nagoya
5
  * Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
+ * Version: 8.1.2
7
  * Author: Vektor,Inc.
8
  * Text Domain: vkExUnit
9
  * Domain Path: /languages