Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #45484, comment 4


Ignore:
Timestamp:
03/22/2019 04:37:54 AM (5 years ago)
Author:
timph
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45484, comment 4

    v1 v2  
    1515                'theme_mods' => [
    1616                        'testing' => [ 1, '{{test}}', 3 ],
     17                        'testing_string' => '{{test}}',
    1718                ],
    1819                'options' => [
     
    2526        $wp_customize->add_setting( 'testing' , [
    2627                'default'     => 0,
     28                'transport'   => 'postMessage',
     29        ] );
     30        $wp_customize->add_setting( 'testing_string' , [
     31                'default'     => '',
    2732                'transport'   => 'postMessage',
    2833        ] );