Skip to content
Snippets Groups Projects
Commit 4057b679 authored by Erick Hitter's avatar Erick Hitter
Browse files

PHPCS

parent b3a9ad0f
Branches
Tags
1 merge request!5Add block-editor support
Pipeline #4948 failed
......@@ -180,7 +180,7 @@ class Automatically_Paginate_Posts {
if ( ! did_action( 'init' ) ) {
_doing_it_wrong(
__METHOD__,
__(
esc_html__(
'Post types can only be retrieved after the "init" hook.',
'autopaging'
),
......
......@@ -133,9 +133,9 @@ class Block_Editor {
wp_localize_script(
$asset_handle,
'autopagingSettings',
[
array(
'metaKey' => $this->autopaging_instance->meta_key,
]
)
);
wp_set_script_translations(
......
......@@ -4,9 +4,8 @@
<!-- What to scan -->
<file>.</file>
<exclude-pattern>/vendor/</exclude-pattern>
<exclude-pattern>/assets/build/</exclude-pattern>
<exclude-pattern>/node_modules/</exclude-pattern>
<exclude-pattern>/tests/*</exclude-pattern>
<!-- How to scan -->
<!-- Usage instructions: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment