PluginProbe
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) / 1.3.2
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) v1.3.2
2.1.3 2.1.2 2.1.1 2.1.0 2.0.4 2.0.3 2.0.2 2.0.1 2.0.0 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 trunk 1.0.1 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 All 57 releases
← All changes | src/Admin/Framework/fields/datetime/datetime.php +2 -7 1.5.11.3.2 View file →
@@ -51,15 +51,10 @@
51 51 echo '<label class="darkify--from">' . esc_attr( $args['text_from'] ) . ' <input type="text" name="' . esc_attr( $this->field_name( '[from]' ) ) . '" value="' . esc_attr( $value['from'] ) . '"' . wp_kses_post( $this->field_attributes() ) . ' data-type="from" /></label>';
52 52 echo '<label class="darkify--to">' . esc_attr( $args['text_to'] ) . ' <input type="text" name="' . esc_attr( $this->field_name( '[to]' ) ) . '" value="' . esc_attr( $value['to'] ) . '"' . wp_kses_post( $this->field_attributes() ) . ' data-type="to" /></label>';
53 53
54 54 } else {
55 - $args = wp_parse_args(
56 - $this->field,
57 - array(
58 - 'placeholder' => esc_html__( '', 'darkify' ),
59 - )
60 - );
61 - echo '<input type="text" name="' . esc_attr( $this->field_name() ) . '" placeholder="'. esc_attr( $args['placeholder'] ) .'" value="' . esc_attr( $this->value ) . '"' . wp_kses_post( $this->field_attributes() ) . '/>';
55 +
56 + echo '<input type="text" name="' . esc_attr( $this->field_name() ) . '" value="' . esc_attr( $this->value ) . '"' . wp_kses_post( $this->field_attributes() ) . '/>';
62 57
63 58 }
64 59
65 60 echo '<div class="darkify-datetime-settings" data-settings="' . esc_attr( wp_json_encode( $settings ) ) . '"></div>';