Showing 1,811 of 1,811 total issues
Expected 0 spaces before closing bracket; 1 found Open
Open
add_action( 'wp_head', __NAMESPACE__ . '\inject_author_meta' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$blocks = parse_blocks( $post->post_content );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
isset( $_POST[ ABT_NONCE ], $_POST['citation_style'] ) &&
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( is_int( $bib_index ) ) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
add_json_script( 'abt-bibliography-json', $blocks[ $bib_index ]['innerHTML'] );
- Exclude checks
Opening brace should be on a new line Open
Open
function enqueue_scripts() {
- Exclude checks
Opening brace should be on a new line Open
Open
function register_options_page() {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
__( "Academic Blogger's Toolkit Options", 'academic-bloggers-toolkit' ),
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
wp_enqueue_script( 'abt-options-page' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
<meta property="abt:author" content="<?php echo esc_attr( $parsed ); ?>" />
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( is_singular() && has_block( 'abt/bibliography', $post ) ) {
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( 'settings_page_abt-options' !== $hook ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
get_coauthors( $post->ID )
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$bib_index = array_search( 'abt/bibliography', array_column( $blocks, 'blockName' ), true );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
wp_enqueue_style( 'abt-frontend' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\enqueue_scripts' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
__( "Academic Blogger's Toolkit Options", 'academic-bloggers-toolkit' ),
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
wp_enqueue_script( 'codepen' );
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( function_exists( 'get_coauthors' ) ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
wp_enqueue_script( 'abt-frontend' );
- Exclude checks