Changeset 3099636
- Timestamp:
- 06/08/2024 05:44:16 AM (22 months ago)
- Location:
- pasazh/trunk
- Files:
-
- 2 edited
-
pasazh.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pasazh/trunk/pasazh.php
r3097847 r3099636 6 6 Plugin URI: https://epasazh.com 7 7 Description: با استفاده از این افزونه میتوانید فروشگاه خود را به پاساژ متصل نمایید. کافیست آن را فعال نمایید پس از آن به پنل مدیریت خودت در وب سایت پاساژ مراجعه نموده و ادامه مراحل جهت اتصال را تکمیل نمایید. 8 Version: 1.1 28 Version: 1.13 9 9 Author: aliparsa 10 10 Author URI: https://profiles.wordpress.org/aliparsa/ … … 74 74 $json = base64_decode($base64); 75 75 $query = json_decode($json, true); 76 $query['status'] = [ 'trash', 'publish']; 77 // $product_id = isset($query['include']) ? $query['include'][0] : null; 78 79 76 if(!isset($query['status'])){ 77 $query['status'] = [ 'trash', 'publish']; 78 } 80 79 81 80 $pasazh_products = []; … … 145 144 $post_type = $post->post_type; 146 145 if ($post_type != "product") 147 return;148 149 150 if (in_array($post->post_status , ['auto-draft' , 'draft']) )151 146 return; 152 147 -
pasazh/trunk/readme.txt
r3097847 r3099636 5 5 Requires at least: 5.0.3 6 6 Tested up to: 5.9.3 7 Stable tag: 1.1 27 Stable tag: 1.13 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 23 23 == Screenshots == 24 24 == Changelog == 25 = 1.1 2=25 = 1.13 = 26 26 * First release 27 27 == Upgrade Notice ==
Note: See TracChangeset
for help on using the changeset viewer.