Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPCS: Widget Visibility (revert a file rename) #22435

Merged
merged 2 commits into from
Jan 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions projects/plugins/jetpack/changelog/phpcs-widget-visibility-2
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: other
Comment: PHPCS: undo file rename as to avoid handling wpcom linting.


2 changes: 1 addition & 1 deletion projects/plugins/jetpack/modules/widget-visibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
* Additional Search Queries: widget visibility, logic, conditional, widgets, widget
*/

require __DIR__ . '/widget-visibility/class-jetpack-widget-conditions.php';
require __DIR__ . '/widget-visibility/widget-conditions.php';
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Main class file for the Widget Visibility module.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php // phpcs:ignore WordPress.Files.FileName.NotHyphenatedLowercase

require_jetpack_file( 'modules/widget-visibility/class-jetpack-widget-conditions.php' );
require_jetpack_file( 'modules/widget-visibility/widget-conditions.php' );

/**
* Test class for Jetpack_Widget_Conditions (widget visibility)
Expand Down