Skip to content

Commit

Permalink
PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
NickGreen committed Apr 18, 2024
1 parent 7fd983c commit 0480c5e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions includes/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ function feedland_blogroll_settings_init(): void {
'feedland_blogroll_settings',
'feedland_blogroll_settings_section',
array(
'label_for' => 'feedland_blogroll_title',
'type' => 'text',
'name' => 'feedland_blogroll_title',
'class' => 'regular-text', // Class for styling if needed
'label_for' => 'feedland_blogroll_title',
'type' => 'text',
'name' => 'feedland_blogroll_title',
'class' => 'regular-text', // Class for styling if needed
'description' => esc_html__( 'The title appears at the top of the blogroll box. It defaults to My Blogroll.', 'feedland-blogroll' ),
)
);
Expand Down Expand Up @@ -274,7 +274,6 @@ function feedland_blogroll_validate_options( array $input ): array {
}

$response = json_decode( wp_remote_retrieve_body( $request ), true );
error_log( print_r( $request, TRUE ) );

// If the response contains a message, the category does not exist.
if ( array_key_exists( 'message', $response ) ) {
Expand Down

0 comments on commit 0480c5e

Please sign in to comment.