@@ -743,15 +743,15 @@ protected function get_file_comment() {
743
743
if ( isset ( $ this ->main_file_data ['License ' ] ) ) {
744
744
return sprintf (
745
745
"Copyright (C) %1 \$s %2 \$s \nThis file is distributed under the %3 \$s. " ,
746
- date ( 'Y ' ),
746
+ date ( 'Y ' ), // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
747
747
$ this ->main_file_data ['Author ' ],
748
748
$ this ->main_file_data ['License ' ]
749
749
);
750
750
}
751
751
752
752
return sprintf (
753
753
"Copyright (C) %1 \$s %2 \$s \nThis file is distributed under the same license as the %3 \$s theme. " ,
754
- date ( 'Y ' ),
754
+ date ( 'Y ' ), // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
755
755
$ this ->main_file_data ['Author ' ],
756
756
$ this ->main_file_data ['Theme Name ' ]
757
757
);
@@ -761,15 +761,15 @@ protected function get_file_comment() {
761
761
if ( isset ( $ this ->main_file_data ['License ' ] ) ) {
762
762
return sprintf (
763
763
"Copyright (C) %1 \$s %2 \$s \nThis file is distributed under the %3 \$s. " ,
764
- date ( 'Y ' ),
764
+ date ( 'Y ' ), // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
765
765
$ this ->main_file_data ['Author ' ],
766
766
$ this ->main_file_data ['License ' ]
767
767
);
768
768
}
769
769
770
770
return sprintf (
771
771
"Copyright (C) %1 \$s %2 \$s \nThis file is distributed under the same license as the %3 \$s plugin. " ,
772
- date ( 'Y ' ),
772
+ date ( 'Y ' ), // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
773
773
$ this ->main_file_data ['Author ' ],
774
774
$ this ->main_file_data ['Plugin Name ' ]
775
775
);
0 commit comments