Plugin Directory

Changeset 3442435


Ignore:
Timestamp:
01/19/2026 10:46:49 AM (7 weeks ago)
Author:
themepure
Message:

Updated trunk for version 1.4.8

Location:
pure-metafields/trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • pure-metafields/trunk/README.txt

    r3394876 r3442435  
    55Requires PHP: 8.0
    66Requires at least: 5.6
    7 Tested up to: 6.8
    8 Stable tag: 1.4.7
     7Tested up to: 6.9
     8Stable tag: 1.4.8
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    616616* Fix: Block Widget Bug Fixed.
    617617
    618  = 1.4.6  =
     618= 1.4.6  =
    619619* Fix: Datepicker field fixed
    620620
     
    623623* Gallery drag drop issue fixed
    624624
     625= 1.4.8  =
     626* Compatible with wp - 6.9
     627
    625628== Upgrade Notice ==
    626629= 1.0.0 =
  • pure-metafields/trunk/admin/class-pure-metafields-admin.php

    r3392720 r3442435  
    55 *
    66 * @link       https://themepure.net
    7  * @since      1.3.1
     7 * @since      1.4.8
    88 *
    99 * @package    tpmeta
  • pure-metafields/trunk/includes/class-pure-metafields-activator.php

    r3345488 r3442435  
    55 *
    66 * @link       https://themepure.net
    7  * @since      1.3.1
     7 * @since      1.4.8
    88 *
    99 * @package    tpmeta
     
    1616 * This class defines all code necessary to run during the plugin's activation.
    1717 *
    18  * @since      1.3.1
     18 * @since      1.4.8
    1919 * @package    tpmeta
    2020 * @subpackage tpmeta/includes
  • pure-metafields/trunk/includes/class-pure-metafields-deactivator.php

    r3345488 r3442435  
    55 *
    66 * @link       https://themepure.net
    7  * @since      1.3.1
     7 * @since      1.4.8
    88 *
    99 * @package    tpmeta
     
    1616 * This class defines all code necessary to run during the plugin's deactivation.
    1717 *
    18  * @since      1.3.1
     18 * @since      1.4.8
    1919 * @package    tpmeta
    2020 * @subpackage tpmeta/includes
    2121 * @author     ThemePure <basictheme400@gmail.com>
    2222 */
    23 class tpmeta_aeactivator {
     23class tpmeta_deactivator {
    2424
    2525    /**
  • pure-metafields/trunk/includes/class-pure-metafields-i18n.php

    r3345488 r3442435  
    88 *
    99 * @link       https://themepure.net
    10  * @since      1.3.1
     10 * @since      1.4.8
    1111 *
    1212 * @package    tpmeta
     
    2020 * so that it is ready for translation.
    2121 *
    22  * @since      1.3.1
     22 * @since      1.4.8
    2323 * @package    tpmeta
    2424 * @subpackage tpmeta/includes
  • pure-metafields/trunk/includes/class-pure-metafields-loader.php

    r3345488 r3442435  
    55 *
    66 * @link       https://themepure.net
    7  * @since      1.3.1
     7 * @since      1.4.8
    88 *
    99 * @package    tpmeta
  • pure-metafields/trunk/includes/class-pure-metafields.php

    r3345488 r3442435  
    88 *
    99 * @link       https://themepure.net
    10  * @since      1.3.1
     10 * @since      1.4.8
    1111 *
    1212 * @package    tpmeta
     
    2323 * version of the plugin.
    2424 *
    25  * @since      1.3.1
     25 * @since      1.4.8
    2626 * @package    tpmeta
    2727 * @subpackage tpmeta/includes
  • pure-metafields/trunk/metaboxes/fields/select.php

    r3345488 r3442435  
    1111    class="<?php echo esc_attr($id); ?> tm-select-field <?php echo isset($context)? esc_attr($context) : ''; ?>"
    1212    <?php echo (isset($multiple) && $multiple == true)? 'multiple' : ''; ?>>
    13     <?php if(!isset($multiple) && $multiple == true): ?>
     13    <?php if ( empty( $multiple ) ) : ?>
    1414    <option value="<?php echo esc_html($default); ?>"><?php echo esc_html($placeholder)?? esc_html('Select...'); ?></option>
    1515    <?php endif; ?>
     
    4040        $array_object = [];
    4141        foreach($options as $key => $val){
    42             if(in_array($key, $default)){
     42            if(is_array($default) && in_array($key, $default)){
    4343                $array_object[$key] = $val;
    4444            }
     
    6464        <option
    6565            value="<?php echo esc_html($key); ?>"
    66             <?php selected((!metadata_exists('post', $post->ID, $repeater_id)? in_array($key, $default?? array()) : ($default?? '' == $key) ), 1); ?>><?php echo esc_html($val); ?>
     66            <?php
     67                selected((!metadata_exists('post', $post->ID, $repeater_id)? in_array($key, (array) ($default?? array())) : (($default?? '') == $key) ), 1); ?>><?php echo esc_html($val);
     68            ?>
    6769        </option>
    6870        <?php else: ?>
  • pure-metafields/trunk/pure-metafields.php

    r3394876 r3442435  
    99 *
    1010 * @link              https://themepure.net
    11  * @since             1.4.7
     11 * @since             1.4.8
    1212 * @package           tpmeta
    1313 *
     
    1616 * Plugin URI:        https://themepure.net/plugins/puremetafields/files/pure-metafields.zip
    1717 * Description:       Plugin For Custom Metabox To Attach To Any Post Types.
    18  * Version:           1.4.7
     18 * Version:           1.4.8
    1919 * Author:            ThemePure
    2020 * Author URI:        https://themepure.net
     
    3030}
    3131
    32 define( 'TPMETA_VERSION', '1.4.7' );
     32define( 'TPMETA_VERSION', '1.4.8' );
    3333define( 'TPMETA_PATH', plugin_dir_path(__FILE__) );
    3434define( 'TPMETA_URL', plugin_dir_url(__FILE__) );
     
    5353    function tpmeta_deactivate_tp_metabox() {
    5454        require_once TPMETA_PATH . 'includes/class-pure-metafields-deactivator.php';
    55         tpmeta_aeactivator::deactivate();
     55        tpmeta_deactivator::deactivate();
    5656    }
    5757    register_deactivation_hook( __FILE__, 'tpmeta_deactivate_tp_metabox' );
  • pure-metafields/trunk/uninstall.php

    r3345488 r3442435  
    2121 *
    2222 * @link       https://themepure.net
    23  * @since      1.3.1
     23 * @since      1.4.8
    2424 *
    2525 * @package    Tp_Metabox
Note: See TracChangeset for help on using the changeset viewer.