Skip to content

Commit

Permalink
Fix phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinamiko committed Oct 2, 2024
1 parent 20558a5 commit dc5041d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions includes/class-dkpdf-admin-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ public function display_field ( $data = array(), $post = false, $echo = true ) {

case 'color':
?><div class="color-picker" style="position:relative;">
<?php // phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralText ?>
<input type="text" name="<?php esc_attr_e( $option_name ); ?>" class="color" value="<?php esc_attr_e( $data ); ?>" />
<div style="position:absolute;background:#FFF;z-index:99;border-radius:100%;" class="colorpicker"></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion includes/class-dkpdf-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ private function settings_fields () {
array(
'id' => 'pdf_custom_css',
'label' => __( 'PDF Custom CSS' , 'dkpdf' ),
'description' => __( '', 'dkpdf' ),
'description' => '',
'type' => 'textarea_code',
'default' => '',
'placeholder' => ''
Expand Down

0 comments on commit dc5041d

Please sign in to comment.