Plugin Directory

Changeset 2675390


Ignore:
Timestamp:
02/09/2022 01:52:49 AM (4 years ago)
Author:
noncheat
Message:

Version 1.0.26

Location:
stionic-core/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stionic-core/trunk/admin/class-stionic-metaboxes.php

    r2518381 r2675390  
    9797        // update post type
    9898        // check value
    99         if(!in_array($_POST['_stionic_post_format'], array('play', 'image'))) $_POST['_stionic_post_format'] = 'standard';       
    100         if(isset($_POST['_stionic_post_format'])) {
    101             /* store the value in the database */
    102             if($_POST['_stionic_post_format'] == 'standard') delete_post_meta($postid, '_stionic_post_format');
    103             else update_post_meta($postid, '_stionic_post_format', $_POST['_stionic_post_format']);
     99        if (isset($_POST['_stionic_post_format'])) {
     100            $stionic_post_format = in_array($_POST['_stionic_post_format'], array('play', 'image')) ? $_POST['_stionic_post_format'] : 'standard';
     101            /* store the value in the database */
     102            if ($stionic_post_format == 'standard') delete_post_meta($postid, '_stionic_post_format');
     103            else update_post_meta($postid, '_stionic_post_format', $stionic_post_format);
    104104        }
    105105        // update featured top detail
  • stionic-core/trunk/readme.txt

    r2675133 r2675390  
    55Requires at least: 4.7
    66Tested up to: 5.9
    7 Stable tag: 1.0.25
     7Stable tag: 1.0.26
    88Requires PHP: 5.2.4
    99License: GPLv2 or later
     
    7474== Changelog ==
    7575
     76= 1.0.26 =
     77* Correct data binding metabox
     78
    7679= 1.0.25 =
    7780* API final_url use HTTP API Instead of cURL, Validate data
     
    180183== Upgrade Notice ==
    181184
     185= 1.0.26 =
     186Correct data binding metabox
     187
    182188= 1.0.25 =
    183189API final_url use HTTP API Instead of cURL, Validate data
  • stionic-core/trunk/stionic-core.php

    r2675133 r2675390  
    44 * Plugin URI: https://noncheat.com/category/plugins/stionic-core/
    55 * Description: Extending the REST API for Wordpress application
    6  * Version: 1.0.25
     6 * Version: 1.0.26
    77 * Author: Noncheat
    88 * Author URI: https://noncheat.com
Note: See TracChangeset for help on using the changeset viewer.