Skip to content

Commit

Permalink
few more file checked and found same issue
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakrohillas committed Jun 26, 2024
1 parent 41c273b commit 4426cc8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/wp-admin/admin-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
* @package WordPress
* @subpackage Administration
*/

Check failure on line 11 in src/wp-admin/admin-functions.php

View workflow job for this annotation

GitHub Actions / PHP coding standards / Run coding standards checks

Whitespace found at end of line
// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}

_deprecated_file( basename( __FILE__ ), '2.5.0', 'wp-admin/includes/admin.php' );

Expand Down
5 changes: 5 additions & 0 deletions src/wp-admin/admin-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
* @package WordPress
* @subpackage Administration
*/

Check failure on line 8 in src/wp-admin/admin-header.php

View workflow job for this annotation

GitHub Actions / PHP coding standards / Run coding standards checks

Whitespace found at end of line
// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}

header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
if ( ! defined( 'WP_ADMIN' ) ) {
Expand Down
5 changes: 5 additions & 0 deletions src/wp-admin/custom-background.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
* @package WordPress
* @subpackage Administration
*/

Check failure on line 11 in src/wp-admin/custom-background.php

View workflow job for this annotation

GitHub Actions / PHP coding standards / Run coding standards checks

Whitespace found at end of line
// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}

_deprecated_file( basename( __FILE__ ), '5.3.0', 'wp-admin/includes/class-custom-background.php' );

Expand Down
5 changes: 5 additions & 0 deletions src/wp-admin/custom-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
* @package WordPress
* @subpackage Administration
*/

Check failure on line 11 in src/wp-admin/custom-header.php

View workflow job for this annotation

GitHub Actions / PHP coding standards / Run coding standards checks

Whitespace found at end of line
// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}

_deprecated_file( basename( __FILE__ ), '5.3.0', 'wp-admin/includes/class-custom-image-header.php' );

Expand Down

0 comments on commit 4426cc8

Please sign in to comment.