Changeset 2675390
- Timestamp:
- 02/09/2022 01:52:49 AM (4 years ago)
- Location:
- stionic-core/trunk
- Files:
-
- 3 edited
-
admin/class-stionic-metaboxes.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
stionic-core.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
stionic-core/trunk/admin/class-stionic-metaboxes.php
r2518381 r2675390 97 97 // update post type 98 98 // 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); 104 104 } 105 105 // update featured top detail -
stionic-core/trunk/readme.txt
r2675133 r2675390 5 5 Requires at least: 4.7 6 6 Tested up to: 5.9 7 Stable tag: 1.0.2 57 Stable tag: 1.0.26 8 8 Requires PHP: 5.2.4 9 9 License: GPLv2 or later … … 74 74 == Changelog == 75 75 76 = 1.0.26 = 77 * Correct data binding metabox 78 76 79 = 1.0.25 = 77 80 * API final_url use HTTP API Instead of cURL, Validate data … … 180 183 == Upgrade Notice == 181 184 185 = 1.0.26 = 186 Correct data binding metabox 187 182 188 = 1.0.25 = 183 189 API final_url use HTTP API Instead of cURL, Validate data -
stionic-core/trunk/stionic-core.php
r2675133 r2675390 4 4 * Plugin URI: https://noncheat.com/category/plugins/stionic-core/ 5 5 * Description: Extending the REST API for Wordpress application 6 * Version: 1.0.2 56 * Version: 1.0.26 7 7 * Author: Noncheat 8 8 * Author URI: https://noncheat.com
Note: See TracChangeset
for help on using the changeset viewer.