Skip to content

Commit

Permalink
Merge pull request #586 from stellarwp/nav
Browse files Browse the repository at this point in the history
Header Builder and Adv nav
  • Loading branch information
kadencewp authored Oct 3, 2024
2 parents 956e73e + cba7f61 commit 30180eb
Show file tree
Hide file tree
Showing 357 changed files with 60,945 additions and 12,129 deletions.
23 changes: 14 additions & 9 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,23 @@ const eslintConfig = {
allowedTextDomain: ['default', 'kadence-blocks', 'kadence-starter-templates'],
},
],
'import/no-unresolved': [
'error',
{
ignore: ['@kadence/icons', '@kadence/components', '@kadence/helpers', '@wordpress/*'],
},
],
'import/no-extraneous-dependencies': 'off',
'import/no-unresolved': 'off',
'import/named': 'off',
'no-unused-vars': 'off',
'react-hooks/exhaustive-deps': 'off',
'no-shadow': 'off',
'@wordpress/i18n-ellipsis': 'off',
'jsdoc/require-param': 'off',
'no-nested-ternary': 'off',
camelcase: 'off',
'@wordpress/no-unsafe-wp-apis': 'off',
'react-hooks/rules-of-hooks': 'off',
'no-console': 'off',
'react/jsx-no-target-blank': 'off',
'no-var': 'off',
'array-callback-return': 'off',
'jsdoc/check-types': 'off',
'jsdoc/check-tag-names': 'off',
Expand All @@ -89,10 +91,7 @@ const eslintConfig = {
eqeqeq: 'off',
'no-unused-expressions': 'off',
'jsx-a11y/no-autofocus': 'off',
'@wordpress/i18n-translator-comments': 'off',
'jsdoc/check-line-alignment': 'off',
'no-useless-computed-key': 'off',
'@wordpress/no-unused-vars-before-return': 'off',
'react/no-unknown-property': 'off',
'react/jsx-key': 'off',
'jsdoc/check-param-names': 'off',
Expand All @@ -104,15 +103,21 @@ const eslintConfig = {
'jsx-a11y/no-static-element-interactions': 'off',
'jsx-a11y/aria-role': 'off',
'jsdoc/require-param-type': 'off',
'jsx-a11y/anchor-is-valid': 'off',
'no-redeclare': 'off',
'import/default': 'off',
'@wordpress/i18n-no-collapsible-whitespace': 'off',
'jsx-a11y/alt-text': 'off',
'no-bitwise': 'off',
'jsdoc/require-returns-check': 'off',
'@wordpress/no-global-active-element': 'off',
},
overrides: [
{
files: ['src/assets/js/**'],
rules: {
'no-var': 'off',
},
},
],
ignorePatterns: [],
};

Expand Down
4 changes: 2 additions & 2 deletions includes/advanced-form/advanced-form-cpt.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ function( string $column_name, int $post_id ) {
10,
2
);
if ( class_exists( 'Kadence_Blocks_Duplicate_Form' ) ) {
new Kadence_Blocks_Duplicate_Form( self::SLUG );
if ( class_exists( 'Kadence_Blocks_Duplicate_Post' ) ) {
new Kadence_Blocks_Duplicate_Post( self::SLUG );
}
}
}
Expand Down
1 change: 0 additions & 1 deletion includes/advanced-form/advanced-form-init.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
require_once KADENCE_BLOCKS_PATH . 'includes/blocks/form/class-kadence-blocks-accept-block.php';
require_once KADENCE_BLOCKS_PATH . 'includes/blocks/form/class-kadence-blocks-submit-block.php';
require_once KADENCE_BLOCKS_PATH . 'includes/advanced-form/advanced-form-rest-api.php';
require_once KADENCE_BLOCKS_PATH . 'includes/advanced-form/advanced-form-duplicate.php';
require_once KADENCE_BLOCKS_PATH . 'includes/advanced-form/advanced-form-cpt.php';
require_once KADENCE_BLOCKS_PATH . 'includes/advanced-form/advanced-form-ajax.php';
require_once KADENCE_BLOCKS_PATH . 'includes/advanced-form/advanced-form-submit-actions.php';
Expand Down
Empty file.
Binary file added includes/assets/images/placeholder/gray.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion includes/assets/js/gumshoe.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 30180eb

Please sign in to comment.