From 029df27b1d22a111fded6c6237c111bea93d9a54 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 19 Aug 2026 14:36:31 +0800 Subject: [PATCH] fix(settings): repair phone binding modal --- assets/css/routes/profile/modals.css | 1 + .../profile-account-modals.php | 35 +++++++++++-------- .../settings-security.php | 20 +++++------ .../post-visual-contract.test.cjs | 7 ++++ 4 files changed, 38 insertions(+), 25 deletions(-) diff --git a/assets/css/routes/profile/modals.css b/assets/css/routes/profile/modals.css index d1fabe8a..466981a1 100644 --- a/assets/css/routes/profile/modals.css +++ b/assets/css/routes/profile/modals.css @@ -104,6 +104,7 @@ } .modal-field input[type="password"], .modal-field input[type="email"], +.modal-field input[type="tel"], .modal-field input[type="text"] { display: block; width: 100%; diff --git a/inc/helpers/user-center-renderers/profile-account-modals.php b/inc/helpers/user-center-renderers/profile-account-modals.php index cb626a15..d10fab3c 100644 --- a/inc/helpers/user-center-renderers/profile-account-modals.php +++ b/inc/helpers/user-center-renderers/profile-account-modals.php @@ -97,29 +97,34 @@ extract($context, EXTR_SKIP); // phpcs:ignore WordPress.PHP.DontExtract.extract_ -