Skip to content

Commit

Permalink
Merge pull request #1221 from vektor-inc/update/mobile-nav-0-3-3
Browse files Browse the repository at this point in the history
[ G3 / G2 ] Update VK Mobile Nav 0.3.3
  • Loading branch information
kurudrive authored Jan 13, 2025
2 parents 43674fa + 95e9c7c commit b28cd29
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions _g2/inc/vk-mobile-nav/package/class-vk-mobile-nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
if ( ! class_exists( 'Vk_Mobile_Nav' ) ) {
class Vk_Mobile_Nav {

public static $version = '0.3.2';
public static $version = '0.3.3';

public function __construct() {
/* Can not call get_called_class() on PHP5.2 */
if ( function_exists( 'get_called_class' ) ) {
add_action( 'after_setup_theme', array( get_called_class(), 'setup_menu' ) );
// 11 指定がないと Lightning G2系などテーマによってカスタマイザーで選択できない場合がある
add_action( 'after_setup_theme', array( get_called_class(), 'setup_menu' ), 11 );
add_action( 'widgets_init', array( get_called_class(), 'setup_widget' ) );
$vk_mobile_nav_html_hook_point = apply_filters( 'vk_mobile_nav_html_hook_point', 'wp_footer' );
add_action( $vk_mobile_nav_html_hook_point, array( get_called_class(), 'menu_set_html' ) );
Expand Down
5 changes: 3 additions & 2 deletions _g3/inc/vk-mobile-nav/package/class-vk-mobile-nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
if ( ! class_exists( 'Vk_Mobile_Nav' ) ) {
class Vk_Mobile_Nav {

public static $version = '0.3.2';
public static $version = '0.3.3';

public function __construct() {
/* Can not call get_called_class() on PHP5.2 */
if ( function_exists( 'get_called_class' ) ) {
add_action( 'after_setup_theme', array( get_called_class(), 'setup_menu' ) );
// 11 指定がないと Lightning G2系などテーマによってカスタマイザーで選択できない場合がある
add_action( 'after_setup_theme', array( get_called_class(), 'setup_menu' ), 11 );
add_action( 'widgets_init', array( get_called_class(), 'setup_widget' ) );
$vk_mobile_nav_html_hook_point = apply_filters( 'vk_mobile_nav_html_hook_point', 'wp_footer' );
add_action( $vk_mobile_nav_html_hook_point, array( get_called_class(), 'menu_set_html' ) );
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ [email protected]

[ G3 ][ Design Bug Fix ] Excluded child elements from expanding to full content width when the parent has the `.is-layout-flex` class by adding a `:not` selector.
[ G3 ][ Bug fix ] Fix block width on editor with narrow screen.
[ G3 / G2 ] Update VK Mobile Nav 0.3.3

v15.29.3
[ Bug fix ][ G3 ] Fix prev next design on post page.
Expand Down

0 comments on commit b28cd29

Please sign in to comment.