Plugin Directory

Changeset 3298406


Ignore:
Timestamp:
05/22/2025 02:58:07 AM (11 months ago)
Author:
vaksin
Message:

0.2.1

  • Grouping package kind
  • Change non translated field type
Location:
radas
Files:
164 added
4 edited

Legend:

Unmodified
Added
Removed
  • radas/trunk/admin/option-page.php

    r3297657 r3298406  
    380380        */
    381381
     382        do_action( 'wpml_start_string_package_registration', $this->get_wpml_package_kind() );
    382383        /** @var Field $field */
    383384        foreach($this->fields as $field){
     
    394395                do_action( 'wpml_register_string', $field->get_sanitized_value(), $field->id, $this->get_wpml_package_kind(), $field->label, $type );
    395396            }
    396         }   
     397        }
     398        do_action( 'wpml_delete_unused_package_strings', $this->get_wpml_package_kind() );
    397399    }
    398400
    399401    protected function get_wpml_package_kind(){
    400402        return [
    401             'kind'      => $this->page['title'],
    402             'kind_slug' => $this->page['slug'],
     403            'kind'      => 'Radas',
     404            'kind_slug' => 'radas',
    403405            'name'      => $this->page['slug'],
    404             'title'     => $this->page['title'],
     406            'title'     => $this->page['title'] . ' Options',
    405407        ];
    406408    }
    407409
    408410    protected function get_wpml_non_translated_field_type(){
    409         return ['date', 'email', 'media', 'password', 'tel', 'url'];
     411        return ['date', 'media', 'password'];
    410412    }
    411413
  • radas/trunk/lib/bd/dynamic-data/opt-image-field.php

    r3297657 r3298406  
    11<?php
    2 // MyDynamicField.php
     2
    33
    44namespace Radas\Lib\BD\Dynamic_Data;
  • radas/trunk/radas.php

    r3297657 r3298406  
    44 * Plugin URI:        https://wpradas.com
    55 * Description:       The Lightweight WordPress Plugin for Effortless Options Page Creation
    6  * Version:           0.2.0
     6 * Version:           0.2.1
    77 * Requires at least: 6.5
    88 * Requires PHP:      8.0
  • radas/trunk/readme.txt

    r3297657 r3298406  
    55Requires at least: 6.5
    66Tested up to: 6.8.1
    7 Stable tag: 0.2.0
     7Stable tag: 0.2.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6565
    6666== Changelog ==
    67 = 0.0.2 =
     67= 0.2.1 =
     68
     69* Grouping package kind
     70* Change non translated field type
     71
     72= 0.2.0 =
    6873
    6974* Breakdance integration
Note: See TracChangeset for help on using the changeset viewer.