Changeset 3490318
- Timestamp:
- 03/24/2026 07:20:17 PM (8 days ago)
- Location:
- myd-delivery
- Files:
-
- 10 edited
- 1 copied
-
tags/1.6.5 (copied) (copied from myd-delivery/trunk)
-
tags/1.6.5/README.txt (modified) (2 diffs)
-
tags/1.6.5/includes/api.php (modified) (1 diff)
-
tags/1.6.5/includes/class-plugin.php (modified) (2 diffs)
-
tags/1.6.5/myd-delivery.php (modified) (2 diffs)
-
tags/1.6.5/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/includes/api.php (modified) (1 diff)
-
trunk/includes/class-plugin.php (modified) (2 diffs)
-
trunk/myd-delivery.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
myd-delivery/tags/1.6.5/README.txt
r3489275 r3490318 5 5 Requires at least: 5.5 6 6 Tested up to: 6.9 7 Stable tag: 1.6. 47 Stable tag: 1.6.5 8 8 Requires PHP: 7.4 9 9 License: GPL-3.0+ … … 75 75 76 76 == Changelog == 77 78 = 1.6.5 = 79 * Fix: plugin error to init in some FSE themes. 80 * Changed: code improvements. 77 81 78 82 = 1.6.4 = -
myd-delivery/tags/1.6.5/includes/api.php
r3383485 r3490318 83 83 public function api_permissions_check() { 84 84 if ( \current_user_can( 'edit_posts' ) ) { 85 return new \WP_Error( 'rest_forbidden', esc_html__( 'You can not permission for acess that.', 'myd-delivery' ), array( 'status' => 401 ) );85 return new \WP_Error( 'rest_forbidden', esc_html__( 'You can not access.', 'myd-delivery' ), array( 'status' => 401 ) ); 86 86 } 87 87 -
myd-delivery/tags/1.6.5/includes/class-plugin.php
r3487445 r3490318 149 149 new Create_Draft_Order(); 150 150 new Place_Payment(); 151 152 // Register early so handle exists when shortcodes render in FSE/block themes 153 // (before wp_enqueue_scripts fires). Needed for wp_add_inline_script in the shortcode. 154 wp_register_script( 'myddelivery-create-order', MYDDELIVERY_URL . 'assets/js/order.min.js', array(), MYDDELIVERY_VERSION, true ); 151 155 152 156 add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_admin_scripts' ] ); … … 352 356 wp_register_style( 'plugin_pdf_css', MYDDELIVERY_URL . 'assets/lib/css/print.min.css', array(), MYDDELIVERY_VERSION, true ); 353 357 354 wp_register_script( 'myddelivery-create-order', MYDDELIVERY_URL . 'assets/js/order.min.js', array(), MYDDELIVERY_VERSION, true );355 358 wp_localize_script( 356 359 'myddelivery-create-order', -
myd-delivery/tags/1.6.5/myd-delivery.php
r3489275 r3490318 6 6 * Author: EduardoVillao.me 7 7 * Author URI: https://eduardovillao.me/ 8 * Version: 1.6. 48 * Version: 1.6.5 9 9 * Requires PHP: 7.4 10 10 * Requires at least: 5.5 … … 26 26 define( 'MYDDELIVERY_BASENAME', plugin_basename( __FILE__ ) ); 27 27 define( 'MYDDELIVERY_DIRNAME', plugin_basename( __DIR__ ) ); 28 define( 'MYDDELIVERY_VERSION', '1.6. 4' );28 define( 'MYDDELIVERY_VERSION', '1.6.5' ); 29 29 define( 'MYDDELIVERY_MIN_PHP_VERSION', '7.4' ); 30 30 define( 'MYDDELIVERY_MIN_WP_VERSION', '5.5' ); -
myd-delivery/tags/1.6.5/vendor/composer/installed.php
r3489275 r3490318 2 2 'root' => array( 3 3 'name' => 'eduardovillao/myd-delivery', 4 'pretty_version' => 'v1.6. 4',5 'version' => '1.6. 4.0',6 'reference' => '1 946d244525c6feaca25a89e8c2565e6e457eb0f',4 'pretty_version' => 'v1.6.5', 5 'version' => '1.6.5.0', 6 'reference' => '17139c1e6ed9ef1e4745909b9fd7b69399c7453d', 7 7 'type' => 'project', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'eduardovillao/myd-delivery' => array( 14 'pretty_version' => 'v1.6. 4',15 'version' => '1.6. 4.0',16 'reference' => '1 946d244525c6feaca25a89e8c2565e6e457eb0f',14 'pretty_version' => 'v1.6.5', 15 'version' => '1.6.5.0', 16 'reference' => '17139c1e6ed9ef1e4745909b9fd7b69399c7453d', 17 17 'type' => 'project', 18 18 'install_path' => __DIR__ . '/../../', -
myd-delivery/trunk/README.txt
r3489275 r3490318 5 5 Requires at least: 5.5 6 6 Tested up to: 6.9 7 Stable tag: 1.6. 47 Stable tag: 1.6.5 8 8 Requires PHP: 7.4 9 9 License: GPL-3.0+ … … 75 75 76 76 == Changelog == 77 78 = 1.6.5 = 79 * Fix: plugin error to init in some FSE themes. 80 * Changed: code improvements. 77 81 78 82 = 1.6.4 = -
myd-delivery/trunk/includes/api.php
r3383485 r3490318 83 83 public function api_permissions_check() { 84 84 if ( \current_user_can( 'edit_posts' ) ) { 85 return new \WP_Error( 'rest_forbidden', esc_html__( 'You can not permission for acess that.', 'myd-delivery' ), array( 'status' => 401 ) );85 return new \WP_Error( 'rest_forbidden', esc_html__( 'You can not access.', 'myd-delivery' ), array( 'status' => 401 ) ); 86 86 } 87 87 -
myd-delivery/trunk/includes/class-plugin.php
r3487445 r3490318 149 149 new Create_Draft_Order(); 150 150 new Place_Payment(); 151 152 // Register early so handle exists when shortcodes render in FSE/block themes 153 // (before wp_enqueue_scripts fires). Needed for wp_add_inline_script in the shortcode. 154 wp_register_script( 'myddelivery-create-order', MYDDELIVERY_URL . 'assets/js/order.min.js', array(), MYDDELIVERY_VERSION, true ); 151 155 152 156 add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_admin_scripts' ] ); … … 352 356 wp_register_style( 'plugin_pdf_css', MYDDELIVERY_URL . 'assets/lib/css/print.min.css', array(), MYDDELIVERY_VERSION, true ); 353 357 354 wp_register_script( 'myddelivery-create-order', MYDDELIVERY_URL . 'assets/js/order.min.js', array(), MYDDELIVERY_VERSION, true );355 358 wp_localize_script( 356 359 'myddelivery-create-order', -
myd-delivery/trunk/myd-delivery.php
r3489275 r3490318 6 6 * Author: EduardoVillao.me 7 7 * Author URI: https://eduardovillao.me/ 8 * Version: 1.6. 48 * Version: 1.6.5 9 9 * Requires PHP: 7.4 10 10 * Requires at least: 5.5 … … 26 26 define( 'MYDDELIVERY_BASENAME', plugin_basename( __FILE__ ) ); 27 27 define( 'MYDDELIVERY_DIRNAME', plugin_basename( __DIR__ ) ); 28 define( 'MYDDELIVERY_VERSION', '1.6. 4' );28 define( 'MYDDELIVERY_VERSION', '1.6.5' ); 29 29 define( 'MYDDELIVERY_MIN_PHP_VERSION', '7.4' ); 30 30 define( 'MYDDELIVERY_MIN_WP_VERSION', '5.5' ); -
myd-delivery/trunk/vendor/composer/installed.php
r3489275 r3490318 2 2 'root' => array( 3 3 'name' => 'eduardovillao/myd-delivery', 4 'pretty_version' => 'v1.6. 4',5 'version' => '1.6. 4.0',6 'reference' => '1 946d244525c6feaca25a89e8c2565e6e457eb0f',4 'pretty_version' => 'v1.6.5', 5 'version' => '1.6.5.0', 6 'reference' => '17139c1e6ed9ef1e4745909b9fd7b69399c7453d', 7 7 'type' => 'project', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'eduardovillao/myd-delivery' => array( 14 'pretty_version' => 'v1.6. 4',15 'version' => '1.6. 4.0',16 'reference' => '1 946d244525c6feaca25a89e8c2565e6e457eb0f',14 'pretty_version' => 'v1.6.5', 15 'version' => '1.6.5.0', 16 'reference' => '17139c1e6ed9ef1e4745909b9fd7b69399c7453d', 17 17 'type' => 'project', 18 18 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.