Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
232 changes: 0 additions & 232 deletions .github/workflows/plugin-check.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .wp-env.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
},
"mappings": {
"wp-content/mu-plugins": "./packages/e2e-tests/mu-plugins",
"wp-content/themes/raft": "https://downloads.wordpress.org/theme/raft.zip"
"wp-content/themes/raft": "https://downloads.wordpress.org/theme/raft.zip",
"wp-content/plugins/woocommerce": "./vendor/wp-content/plugins/woocommerce"
},
"lifecycleScripts": {
"afterStart": "bash bin/e2e-tests.sh"
Expand Down
4 changes: 4 additions & 0 deletions development.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

// phpcs:ignoreFile

if ( ! defined( 'ABSPATH' ) ) {
exit;
}

if ( ! defined( 'ENABLE_OTTER_PRO_DEV' ) ) {
define( 'ENABLE_OTTER_PRO_DEV', true );
}
Expand Down
4 changes: 4 additions & 0 deletions inc/patterns/aw-bento-features.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* @package ThemeIsle
*/

if ( ! defined( 'ABSPATH' ) ) {
exit;
}

return array(
'title' => __( 'Bento Feature Grid', 'otter-blocks' ),
'categories' => array( 'otter-blocks', 'features' ),
Expand Down
4 changes: 4 additions & 0 deletions inc/patterns/aw-blog-cards.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* @package ThemeIsle
*/

if ( ! defined( 'ABSPATH' ) ) {
exit;
}

return array(
'title' => __( 'Blog Post Cards', 'otter-blocks' ),
'categories' => array( 'otter-blocks', 'blog' ),
Expand Down
4 changes: 4 additions & 0 deletions inc/patterns/aw-case-study-metrics.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* @package ThemeIsle
*/

if ( ! defined( 'ABSPATH' ) ) {
exit;
}

return array(
'title' => __( 'Case Study With Metrics', 'otter-blocks' ),
'categories' => array( 'otter-blocks', 'portfolio' ),
Expand Down
4 changes: 4 additions & 0 deletions inc/patterns/aw-cta-banner.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* @package ThemeIsle
*/

if ( ! defined( 'ABSPATH' ) ) {
exit;
}

return array(
'title' => __( 'CTA Banner', 'otter-blocks' ),
'categories' => array( 'otter-blocks', 'call-to-action' ),
Expand Down
4 changes: 4 additions & 0 deletions inc/patterns/aw-faq-cards.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* @package ThemeIsle
*/

if ( ! defined( 'ABSPATH' ) ) {
exit;
}

return array(
'title' => __( 'FAQ Cards', 'otter-blocks' ),
'categories' => array( 'otter-blocks', 'faq' ),
Expand Down
4 changes: 4 additions & 0 deletions inc/patterns/aw-feature-cards.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* @package ThemeIsle
*/

if ( ! defined( 'ABSPATH' ) ) {
exit;
}

return array(
'title' => __( 'Feature Cards', 'otter-blocks' ),
'categories' => array( 'otter-blocks', 'features' ),
Expand Down
4 changes: 4 additions & 0 deletions inc/patterns/aw-feature-split.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* @package ThemeIsle
*/

if ( ! defined( 'ABSPATH' ) ) {
exit;
}

return array(
'title' => __( 'Feature Split', 'otter-blocks' ),
'categories' => array( 'otter-blocks', 'features' ),
Expand Down
4 changes: 4 additions & 0 deletions inc/patterns/aw-gallery-grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* @package ThemeIsle
*/

if ( ! defined( 'ABSPATH' ) ) {
exit;
}

return array(
'title' => __( 'Gallery Masonry Grid', 'otter-blocks' ),
'categories' => array( 'otter-blocks', 'gallery' ),
Expand Down
4 changes: 4 additions & 0 deletions inc/patterns/aw-glow-cta.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* @package ThemeIsle
*/

if ( ! defined( 'ABSPATH' ) ) {
exit;
}

return array(
'title' => __( 'Glow CTA', 'otter-blocks' ),
'categories' => array( 'otter-blocks', 'call-to-action' ),
Expand Down
4 changes: 4 additions & 0 deletions inc/patterns/aw-hero-centered.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* @package ThemeIsle
*/

if ( ! defined( 'ABSPATH' ) ) {
exit;
}

return array(
'title' => __( 'Centered Hero', 'otter-blocks' ),
'categories' => array( 'otter-blocks', 'header' ),
Expand Down
4 changes: 4 additions & 0 deletions inc/patterns/aw-hero-split.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* @package ThemeIsle
*/

if ( ! defined( 'ABSPATH' ) ) {
exit;
}

return array(
'title' => __( 'Split Hero', 'otter-blocks' ),
'categories' => array( 'otter-blocks', 'header' ),
Expand Down
4 changes: 4 additions & 0 deletions inc/patterns/aw-icon-grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* @package ThemeIsle
*/

if ( ! defined( 'ABSPATH' ) ) {
exit;
}

return array(
'title' => __( 'Icon Feature Grid', 'otter-blocks' ),
'categories' => array( 'otter-blocks', 'icons' ),
Expand Down
4 changes: 4 additions & 0 deletions inc/patterns/aw-portfolio-grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* @package ThemeIsle
*/

if ( ! defined( 'ABSPATH' ) ) {
exit;
}

return array(
'title' => __( 'Portfolio Showcase Grid', 'otter-blocks' ),
'categories' => array( 'otter-blocks', 'portfolio' ),
Expand Down
Loading
Loading