Plugin Directory

Changeset 3094701


Ignore:
Timestamp:
05/29/2024 03:29:43 PM (10 months ago)
Author:
rafasashi
Message:

3.7.6

Location:
language-switcher/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • language-switcher/trunk/includes/class-language-switcher.php

    r2956331 r3094701  
    557557                }
    558558            }
     559            elseif( $post_id = apply_filters('lsw_get_current_post_id',0) ){
     560               
     561                if( !$language = $this->get_post_language($post_id)){
     562                   
     563                    $language = array();
     564                }
     565
     566                if( empty($language['main']) ){
     567                   
     568                    $language['main'] = $default_lang;
     569                }   
     570            }           
    559571            elseif( !empty($_REQUEST['lang']) ){
    560572           
  • language-switcher/trunk/includes/lib/class-language-switcher-admin-api.php

    r2956331 r3094701  
    648648    public function save_meta_boxes ( $post_id = 0 ) {
    649649
    650         if( !$post_id || isset($_POST['_inline_edit']) ) return;
     650        if( !$post_id || isset($_POST['_inline_edit']) || isset($_GET['bulk_edit']) ) return;
    651651
    652652        $post_type = get_post_type( $post_id );
  • language-switcher/trunk/language-switcher.php

    r2956331 r3094701  
    44 * Plugin URI: https://code.recuweb.com/download/language-switcher/
    55 * Description: Add a Language Switcher to Post Types and Taxonomies
    6  * Version: 3.7.5
     6 * Version: 3.7.6
    77 * Author: Rafasashi
    88 * Author URI: https://code.recuweb.com/about-us/
  • language-switcher/trunk/readme.txt

    r2956331 r3094701  
    55Requires at least: 4.6
    66Tested up to: 6.3
    7 Stable tag: 3.7.5
     7Stable tag: 3.7.6
    88License: GPLv3
    99License URI: https://code.recuweb.com/product-licenses/
Note: See TracChangeset for help on using the changeset viewer.