[wp-trac] [WordPress Trac] #35168: 4.4 Customizer - serialized options can no longer be created

WordPress Trac noreply at wordpress.org
Sat Dec 19 22:11:27 UTC 2015


#35168: 4.4 Customizer - serialized options can no longer be created
--------------------------+------------------------------
 Reporter:  Looimaster    |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Customize     |     Version:  4.4
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by Looimaster):

 * keywords:  reporter-feedback =>
 * status:  new => closed
 * resolution:   => invalid


Comment:

 It's a typo. I added the following three lines as an afterthought (so that
 you know that I'm using the correct action hook):

 {{{
 function test_customize_register() {
 }
 add_action( 'customize_register', 'test_customize_register' );
 }}}

 I tested it with `function test_customize_register( $wp_customize ) {`.

 I tested it in Twenty Sixteen in /inc/customizer.php and it works.

 I tested it with a theme that copies and modifies Twenty Sixteen and it
 clearly still doesn't work. And it's just with serialized options. I'll
 close this ticket and reopen when/if I find the cause.

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


More information about the wp-trac mailing list