{"data":{"id":"magento2-39154","source":"github-pr","sourceRef":"magento/magento2#39154","title":"Disable captcha storefont config still load captcha js files","pr":{"number":39154,"url":"https://github.com/magento/magento2/pull/39154","author":"rogerdz","mergedAt":"2025-04-29T18:55:01Z","mergeCommit":"3b1ac1d844b56832e3f9e12bb085b1e600bd9856","headCommit":"560b3be4cf9dc45906c7bddd4f303430f0185372","baseRef":"2.4-develop","diffSha256":"5387296ac8cddf62d185b202e65a70af44f17c79a9e325da3d090950705ec92e"},"issues":[{"number":32987,"url":"https://github.com/magento/magento2/issues/32987","title":"Disable captcha storefont config still load captcha js files","labels":["Area: Other Developer Tools","Component: Captcha","Component: Frontend","Issue: Confirmed","Priority: P2","Progress: PR in progress","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x"],"kind":"human"}],"fixedIn":"2.4.9","containingTags":["2.4.9"],"reportedOn":null,"codeMatch":{"2.4.6":"conflict","2.4.6-p1":"conflict","2.4.6-p2":"conflict","2.4.6-p3":"conflict","2.4.6-p4":"conflict","2.4.6-p5":"conflict","2.4.6-p6":"conflict","2.4.6-p7":"conflict","2.4.6-p8":"conflict","2.4.6-p9":"conflict","2.4.6-p10":"conflict","2.4.6-p11":"conflict","2.4.6-p12":"conflict","2.4.6-p13":"conflict","2.4.6-p14":"conflict","2.4.6-p15":"conflict","2.4.7":"conflict","2.4.7-p1":"conflict","2.4.7-p2":"conflict","2.4.7-p3":"conflict","2.4.7-p4":"conflict","2.4.7-p5":"conflict","2.4.7-p6":"conflict","2.4.7-p7":"conflict","2.4.7-p8":"conflict","2.4.7-p9":"conflict","2.4.7-p10":"conflict","2.4.8":"clean","2.4.8-p1":"clean","2.4.8-p2":"clean","2.4.8-p3":"clean","2.4.8-p4":"clean","2.4.8-p5":"clean","2.4.9":"file-missing"},"affectedVersions":["2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5"],"components":["magento/module-captcha","magento/module-customer"],"files":[{"path":"app/code/Magento/Captcha/Block/CheckoutLayoutProcessor.php","change":"added","package":"magento/module-captcha"},{"path":"app/code/Magento/Captcha/Block/Customer/AuthenticationPopup/LayoutProcessor.php","change":"added","package":"magento/module-captcha"},{"path":"app/code/Magento/Captcha/etc/frontend/di.xml","change":"modified","package":"magento/module-captcha"},{"path":"app/code/Magento/Captcha/view/frontend/layout/checkout_index_index.xml","change":"deleted","package":"magento/module-captcha"},{"path":"app/code/Magento/Captcha/view/frontend/layout/default.xml","change":"deleted","package":"magento/module-captcha"},{"path":"app/code/Magento/Customer/Block/Account/AuthenticationPopup.php","change":"modified","package":"magento/module-customer"},{"path":"app/code/Magento/Customer/Model/Form.php","change":"modified","package":"magento/module-customer"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":216,"mergeBatched":false,"excluded":null,"sections":{"description":null,"stepsToReproduce":null,"expectedResult":null,"actualResult":null,"source":null},"signatures":[],"labels":{"area":["Other Developer Tools"],"component":["Captcha","Frontend"],"priority":"P2","severity":null,"reportedOn":["2.4.x"]},"categories":[],"triage":{"model":"@cf/cloudflare/clef","requestHash":"338a2489e1e84946056973fe9418ede41f8d9f184b2dd6a115b620c28a01507f","isBugfix":0.9332,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9084,"feature":0.0197,"refactor":0.059,"tests_only":0.0051,"docs_only":0.0034,"dependency":0.0044},"confidence":0.795},"scope":{"score":1.2237,"probabilities":{"0":0.1673,"1":0.4417,"2":0.391},"confidence":0.0639},"risk":{"score":1.0573,"probabilities":{"0":0.2414,"1":0.4599,"2":0.2987},"confidence":0.0385},"area":{"choice":"frontend","probabilities":{"catalog":0.0056,"checkout":0.198,"customer":0.2045,"admin":0.0264,"graphql_api":0.0045,"framework":0.0343,"frontend":0.4718,"other":0.0549},"confidence":0.2098},"securityRelevant":0.6985,"reportedVersion":{"choice":"2.4.2","probabilities":{"2.4.0":0.0041,"2.4.0-p1":0.0033,"2.4.1":0.0107,"2.4.1-p1":0.0038,"2.4.2":0.5672,"2.4.2-p1":0.0346,"2.4.2-p2":0.0608,"2.4.3":0.007,"2.4.3-p1":0.0073,"2.4.3-p2":0.0099,"2.4.3-p3":0.0063,"2.4.4":0.008,"2.4.4-p1":0.0068,"2.4.4-p10":0.0036,"2.4.4-p11":0.0048,"2.4.4-p12":0.0043,"2.4.4-p13":0.0037,"2.4.4-p14":0.0045,"2.4.4-p15":0.0039,"2.4.4-p16":0.0039,"2.4.4-p17":0.0035,"2.4.4-p18":0.0033,"2.4.4-p2":0.0046,"2.4.4-p3":0.0037,"2.4.4-p4":0.0051,"2.4.4-p5":0.0042,"2.4.4-p6":0.0048,"2.4.4-p7":0.0036,"2.4.4-p8":0.0033,"2.4.4-p9":0.0031,"2.4.5":0.0037,"2.4.5-p1":0.0033,"2.4.5-p10":0.0027,"2.4.5-p11":0.0039,"2.4.5-p12":0.0043,"2.4.5-p13":0.004,"2.4.5-p14":0.0041,"2.4.5-p15":0.0029,"2.4.5-p16":0.0027,"2.4.5-p17":0.0031,"2.4.5-p2":0.003,"2.4.5-p3":0.0027,"2.4.5-p4":0.0042,"2.4.5-p5":0.0035,"2.4.5-p6":0.0029,"2.4.5-p7":0.0034,"2.4.5-p8":0.0031,"2.4.5-p9":0.0024,"2.4.6":0.0045,"2.4.6-p1":0.0043,"2.4.6-p10":0.0033,"2.4.6-p11":0.0035,"2.4.6-p12":0.0037,"2.4.6-p13":0.0036,"2.4.6-p14":0.0039,"2.4.6-p15":0.0029,"2.4.6-p2":0.003,"2.4.6-p3":0.0027,"2.4.6-p4":0.0042,"2.4.6-p5":0.004,"2.4.6-p6":0.0038,"2.4.6-p7":0.0041,"2.4.6-p8":0.0034,"2.4.6-p9":0.0025,"2.4.7":0.0034,"2.4.7-p1":0.0033,"2.4.7-p10":0.0033,"2.4.7-p2":0.0039,"2.4.7-p3":0.0048,"2.4.7-p4":0.0055,"2.4.7-p5":0.0059,"2.4.7-p6":0.0054,"2.4.7-p7":0.0045,"2.4.7-p8":0.0033,"2.4.7-p9":0.0028,"2.4.8":0.0041,"2.4.8-p1":0.0033,"2.4.8-p2":0.0061,"2.4.8-p3":0.0049,"2.4.8-p4":0.0063,"2.4.8-p5":0.0046,"2.4.9":0.0047,"unspecified":0.0049},"confidence":0.3201},"backportWorthy":{"score":1.0356,"probabilities":{"0":0.3081,"1":0.3483,"2":0.3436},"confidence":0.0015}},"curated":{"title":"Fixes the issue where disabled storefront captcha still loads captcha js files","description":"If captcha is disabled in the config, the captcha js files still load on the checkout page and in the authentication popup. The captcha items in the Captcha checkout_index_index.xml and default.xml layout files are removed, and CheckoutLayoutProcessor and the AuthenticationPopup LayoutProcessor now add the loginCaptcha component only when the captcha enable config is set.","categories":[],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-39154 details"}