src/wp-includes/customize/class-wp-customize-custom-css-setting.php 1 location
|
@@ 131-136 (lines=6) @@
|
128 |
|
* @return string |
129 |
|
*/ |
130 |
|
public function value() { |
131 |
|
if ( $this->is_previewed ) { |
132 |
|
$post_value = $this->post_value( null ); |
133 |
|
if ( null !== $post_value ) { |
134 |
|
return $post_value; |
135 |
|
} |
136 |
|
} |
137 |
|
$id_base = $this->id_data['base']; |
138 |
|
$value = ''; |
139 |
|
$post = wp_get_custom_css_post( $this->stylesheet ); |
src/wp-includes/class-wp-customize-setting.php 1 location
|
@@ 746-751 (lines=6) @@
|
743 |
|
if ( ! $is_core_type && ! $this->is_multidimensional_aggregated ) { |
744 |
|
|
745 |
|
// Use post value if previewed and a post value is present. |
746 |
|
if ( $this->is_previewed ) { |
747 |
|
$value = $this->post_value( null ); |
748 |
|
if ( null !== $value ) { |
749 |
|
return $value; |
750 |
|
} |
751 |
|
} |
752 |
|
|
753 |
|
$value = $this->get_root_value( $this->default ); |
754 |
|
|