[wp-trac] [WordPress Trac] #21627: Filter for custom-background CSS selector

WordPress Trac noreply at wordpress.org
Thu Feb 5 16:02:08 UTC 2026


#21627: Filter for custom-background CSS selector
-------------------------------------------------+-------------------------
 Reporter:  Horttcore                            |       Owner:
                                                 |  peterwilsoncc
     Type:  enhancement                          |      Status:  assigned
 Priority:  low                                  |   Milestone:  Future
                                                 |  Release
Component:  Customize                            |     Version:  3.4.1
 Severity:  minor                                |  Resolution:
 Keywords:  needs-unit-tests needs-patch needs-  |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------
Changes (by sajib1223):

 * keywords:  needs-testing needs-unit-tests needs-patch needs-refresh =>
     needs-unit-tests needs-patch needs-refresh


Comment:

 Last 3 patches fail to apply on the latest trunk `7.0-alpha-61215-src`, it
 fails with the following message:

 Patch 1 Report:
 https://core.trac.wordpress.org/attachment/ticket/21627/21627.2.diff

 {{{
 Running "patch:21627" (patch) task
 ? Please select a patch to apply 21627.2.diff​ (4.3 KB) - added by
 peterwilsoncc 9 years ago.
 Old file path src/wp-includes/js/customize-preview.js found in patch. This
 path has been automatically replaced by
 src/js/_enqueues/wp/customize/preview.js.
 patching file src/wp-includes/class-wp-customize-manager.php
 Hunk #1 FAILED at 1829.
 Hunk #2 succeeded at 4966 with fuzz 2 (offset 3114 lines).
 1 out of 2 hunks FAILED -- saving rejects to file src/wp-includes/class-
 wp-customize-manager.php.rej
 patching file src/js/_enqueues/wp/customize/preview.js
 Hunk #1 FAILED at 212.
 Hunk #2 FAILED at 238.
 2 out of 2 hunks FAILED -- saving rejects to file
 src/js/_enqueues/wp/customize/preview.js.rej
 patching file src/wp-includes/post-template.php
 Hunk #1 FAILED at 712.
 1 out of 1 hunk FAILED -- saving rejects to file src/wp-includes/post-
 template.php.rej
 patching file src/wp-includes/theme.php
 Hunk #1 FAILED at 1393.
 Hunk #2 succeeded at 2891 (offset 1195 lines).
 1 out of 2 hunks FAILED -- saving rejects to file src/wp-
 includes/theme.php.rej
 }}}


 Patch 2 Report:
 https://core.trac.wordpress.org/attachment/ticket/21627/21627.6.diff

 {{{
 Running "patch:21627" (patch) task
 ? Please select a patch to apply 21627.6.diff​ (4.2 KB) - added by
 peterwilsoncc 10 years ago.
 patching file src/wp-includes/class-wp-customize-manager.php
 Hunk #1 FAILED at 1486.
 Hunk #2 succeeded at 4966 with fuzz 2 (offset 3455 lines).
 1 out of 2 hunks FAILED -- saving rejects to file src/wp-includes/class-
 wp-customize-manager.php.rej
 patching file src/wp-includes/js/customize-preview.js
 Hunk #1 FAILED at 137.
 Hunk #2 FAILED at 163.
 2 out of 2 hunks FAILED -- saving rejects to file src/wp-includes/js
 /customize-preview.js.rej
 patching file src/wp-includes/post-template.php
 Hunk #1 FAILED at 678.
 1 out of 1 hunk FAILED -- saving rejects to file src/wp-includes/post-
 template.php.rej
 patching file src/wp-includes/theme.php
 Hunk #1 FAILED at 1293.
 Hunk #2 succeeded at 2891 (offset 1338 lines).
 1 out of 2 hunks FAILED -- saving rejects to file src/wp-
 includes/theme.php.rej
 }}}

 Patch 3 Report:
 https://core.trac.wordpress.org/attachment/ticket/21627/21627.5.diff
 {{{
 Running "patch:21627" (patch) task
 ? Please select a patch to apply 21627.5.diff​ (4.6 KB) - added by
 peterwilsoncc 11 years ago.
 patching file src/wp-admin/customize.php
 Hunk #1 FAILED at 224.
 1 out of 1 hunk FAILED -- saving rejects to file src/wp-
 admin/customize.php.rej
 patching file src/wp-includes/class-wp-customize-manager.php
 Hunk #1 FAILED at 594.
 1 out of 1 hunk FAILED -- saving rejects to file src/wp-includes/class-wp-
 customize-manager.php.rej
 patching file src/wp-includes/js/customize-preview.js
 Hunk #1 FAILED at 131.
 Hunk #2 FAILED at 157.
 2 out of 2 hunks FAILED -- saving rejects to file src/wp-includes/js
 /customize-preview.js.rej
 patching file src/wp-includes/post-template.php
 Hunk #1 FAILED at 669.
 1 out of 1 hunk FAILED -- saving rejects to file src/wp-includes/post-
 template.php.rej
 patching file src/wp-includes/theme.php
 Hunk #1 FAILED at 1356.
 Hunk #2 succeeded at 2891 (offset 1288 lines).
 1 out of 2 hunks FAILED -- saving rejects to file src/wp-
 includes/theme.php.rej
 }}}

 As all recent patches are failing, I am removing `needs-testing`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/21627#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list