Showing 122 of 122 total issues
Function exports
has 203 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (grunt) {
/**
* Files added to WordPress SVN, don't include 'assets/**' here.
* @type {Array}
Plugin_Customizer
has 22 functions (exceeds 20 allowed). Consider refactoring. Open
Open
abstract class Plugin_Customizer implements Plugin_Customizer_Interface {
private $customize_register_priority = 9; // Priority must be between 2 and 9
private $slug;
private $org_theme;
Method init
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init( $slug = '', $plugin_url, $plugin_root ) {
// self::$param_name = sanitize_title( get_called_class() , 'plugin_customizer' );
if ( '' == $slug ) {
wp_die( 'slug missing', $title = 'BlankSlate::init' );
}
Method init
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init( $config = array() ) {
if ( ! count( $config ) ) {
wp_die( /*$message = '', $title = '', $args = array()*/ );
}
Function PluginCustomizer
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var PluginCustomizer = (function( api, $ ) {
'use strict';
var component = {
data: {
Function PluginCustomizerBlankSlate
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var PluginCustomizerBlankSlate = (function( api, $ ) {
'use strict';
var component = {
data: {
Function init
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
component.init = function init( home, sections ) {
_.extend( component.data, home );
_.extend( {}, sections );
if ( ! home || ! home.url ) {
throw new Error( 'Missing args' );
Array double arrow not aligned correctly; expected 2 space(s) between "'capability'" and double arrow, but found 4. Open
Open
'capability' => 'manage_options',
- Exclude checks
Spaces must be used for mid-line alignment; tabs are not allowed Open
Open
'priority' => 10,
- Exclude checks
Array double arrow not aligned correctly; expected 2 space(s) between "'transport'" and double arrow, but found 5. Open
Open
'transport' => 'postMessage',
- Exclude checks
Spaces must be used for mid-line alignment; tabs are not allowed Open
Open
'default' => 'This was to be an eventful day for the travelers. They had hardly been walking an hour when they saw before them a great ditch that crossed the road and divided the forest as far as they could see on either side. It was a very wide ditch, and when they crept up to the edge and looked into it they could see it was also very deep, and there were many big, jagged rocks at the bottom. The sides were so steep that none of them could climb down, and for a moment it seemed that their journey must end. "What shall we do?" asked Dorothy despairingly. "I haven\'t the faintest idea," said the Tin Woodman, and the Lion shook his shaggy mane and looked thoughtful.', //esc_html( '<p> Nulla laoreet erat vitae aliquet tristique. Quisque quis suscipit enim, a elementum eros. Vestibulum quis lacus ligula. Mauris sit amet nibh tincidunt, gravida tortor ac, maximus nisi. Nunc turpis mauris, blandit vitae nibh non, blandit pharetra purus. Sed sed convallis diam. In ante nisi, pellentesque in laoreet at, fringilla ac neque. </p> <p> Cras consequat eros lectus, ac dignissim justo cursus ac. In mi tortor, ornare eu quam a, ultrices tincidunt magna. Fusce non purus quis ex convallis vehicula. Aenean purus diam, vulputate vel pellentesque ultrices, tincidunt ac lectus. Nullam est purus, lobortis ac aliquam eget, egestas a diam. Praesent eget sapien vitae orci faucibus tempus. Ut sit amet lorem elit. Curabitur et vestibulum nibh. </p> <p> Mauris vestibulum eget nisl sit amet gravida. Nullam in orci ut sem maximus dapibus blandit quis dolor. Sed pretium efficitur elit, eget vulputate sapien bibendum non. Proin congue posuere sagittis. Ut fermentum mauris ut gravida faucibus. Aenean a malesuada magna. Vestibulum nec viverra metus. Nunc aliquam eros orci, ut malesuada felis malesuada vitae. Phasellus vehicula non ex at scelerisque. </p>' ),
- Exclude checks
Found precision alignment of 1 spaces. Open
Open
*/
- Exclude checks
Spaces must be used for mid-line alignment; tabs are not allowed Open
Open
* @param [type] $wp_admin_bar [description]
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space Open
Open
$this->slug = $slug;
- Exclude checks
Found precision alignment of 1 spaces. Open
Open
$new_rules = array(
- Exclude checks
Spaces must be used for mid-line alignment; tabs are not allowed Open
Open
* @param Array $query_vars All defined query variables.
- Exclude checks
Found precision alignment of 2 spaces. Open
Open
align-items: center;
- Exclude checks
Space found before comma in function call Open
Open
wp_enqueue_script( $handle, $src, $deps, $version , $in_footer );
- Exclude checks
Array double arrow not aligned correctly; expected 1 space(s) between "'description'" and double arrow, but found 3. Open
Open
'description' => __( 'Customize Your Logo Section', 'plugin-customizer' ),
- Exclude checks
Spaces must be used for mid-line alignment; tabs are not allowed Open
Open
'title' => __( 'Content', 'plugin-customizer' ),
- Exclude checks