HEX
Server: LiteSpeed
System: Linux s383.bitcommand.com 5.14.0-687.24.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 9 18:14:06 EDT 2026 x86_64
User: pclast (1605)
PHP: 8.1.34
Disabled: exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/pclast/www/wp-content/plugins/woocommerce/assets/client/blocks/wc-payment-method-cod.js
(()=>{"use strict";const e=window.wc.wcBlocksRegistry,t=window.wp.i18n,n=window.wc.wcSettings,i=window.wp.htmlEntities,o=window.wc.sanitize,s=window.wp.element,a=window.ReactJSXRuntime,c=(0,n.getPaymentMethodData)("cod",{}),r=(0,t.__)("Cash on delivery","woocommerce"),d=(0,i.decodeEntities)(c?.title||"")||r,w=()=>(0,a.jsx)(s.RawHTML,{children:(0,o.sanitizeHTML)(c.description||"")}),l=e=>{const{PaymentMethodLabel:t}=e.components;return(0,a.jsx)(t,{text:d})},p={name:"cod",label:(0,a.jsx)(l,{}),content:(0,a.jsx)(w,{}),edit:(0,a.jsx)(w,{}),canMakePayment:({cartNeedsShipping:e,selectedShippingMethods:t})=>{if(c.enableForVirtual&&!e)return!0;if(!c.enableForShippingMethods.length)return!0;const n=Object.values(t);return 0===n.length||c.enableForShippingMethods.some(e=>n.some(t=>t.includes(e)))},ariaLabel:d,supports:{features:c?.supports??[]}};(0,e.registerPaymentMethod)(p)})();