diff --git a/lib/client-assets.php b/lib/client-assets.php index e56bec615f6495..68a30b4b103fdb 100644 --- a/lib/client-assets.php +++ b/lib/client-assets.php @@ -725,14 +725,7 @@ function gutenberg_extend_settings_link_color( $settings ) { if ( class_exists( 'WP_Block_Patterns_Registry' ) && ! WP_Block_Patterns_Registry::get_instance()->is_registered( 'text-two-columns' ) ) { register_block_pattern( 'core/text-two-columns', gutenberg_load_block_pattern( 'text-two-columns' ) ); register_block_pattern( 'core/two-buttons', gutenberg_load_block_pattern( 'two-buttons' ) ); - register_block_pattern( 'core/cover-abc', gutenberg_load_block_pattern( 'cover-abc' ) ); register_block_pattern( 'core/two-images', gutenberg_load_block_pattern( 'two-images' ) ); - register_block_pattern( 'core/hero-two-columns', gutenberg_load_block_pattern( 'hero-two-columns' ) ); - register_block_pattern( 'core/numbered-features', gutenberg_load_block_pattern( 'numbered-features' ) ); - register_block_pattern( 'core/its-time', gutenberg_load_block_pattern( 'its-time' ) ); - register_block_pattern( 'core/hero-right-column', gutenberg_load_block_pattern( 'hero-right-column' ) ); - register_block_pattern( 'core/testimonials', gutenberg_load_block_pattern( 'testimonials' ) ); - register_block_pattern( 'core/features-services', gutenberg_load_block_pattern( 'features-services' ) ); } /* @@ -740,10 +733,7 @@ function gutenberg_extend_settings_link_color( $settings ) { */ if ( class_exists( 'WP_Block_Pattern_Categories_Registry' ) ) { register_block_pattern_category( 'text', array( 'label' => _x( 'Text', 'Block pattern category', 'gutenberg' ) ) ); - register_block_pattern_category( 'hero', array( 'label' => _x( 'Hero', 'Block pattern category', 'gutenberg' ) ) ); register_block_pattern_category( 'columns', array( 'label' => _x( 'Columns', 'Block pattern category', 'gutenberg' ) ) ); register_block_pattern_category( 'buttons', array( 'label' => _x( 'Buttons', 'Block pattern category', 'gutenberg' ) ) ); register_block_pattern_category( 'gallery', array( 'label' => _x( 'Gallery', 'Block pattern category', 'gutenberg' ) ) ); - register_block_pattern_category( 'features', array( 'label' => _x( 'Features', 'Block pattern category', 'gutenberg' ) ) ); - register_block_pattern_category( 'testimonials', array( 'label' => _x( 'Testimonials', 'Block pattern category', 'gutenberg' ) ) ); } diff --git a/lib/patterns/cover-abc.php b/lib/patterns/cover-abc.php deleted file mode 100644 index c8fc8fa6a7e1c7..00000000000000 --- a/lib/patterns/cover-abc.php +++ /dev/null @@ -1,12 +0,0 @@ - __( 'Cover', 'gutenberg' ), - 'categories' => array( 'hero' ), - 'content' => "\n
\n

" . _x( 'abc!', 'pattern', 'gutenberg' ) . "

\n
\n", -); diff --git a/lib/patterns/features-services.php b/lib/patterns/features-services.php deleted file mode 100644 index 026f645876b0f4..00000000000000 --- a/lib/patterns/features-services.php +++ /dev/null @@ -1,12 +0,0 @@ - __( 'Features and Services', 'gutenberg' ), - 'content' => "\n
\n
\n
\n
\n
\n\n\n\n

One

\n\n\n\n

This software is design for everyone, emphasizing accessibility, performance, security and ease of use.

\n\n\n\n\n
\n
\n\n\n\n
\n
\n
\n\n\n\n

Two

\n\n\n\n

Simple and predictable so you can easily get started. Offers powerful features for growth and success.

\n\n\n\n\n
\n
\n\n\n\n
\n
\n
\n\n\n\n

Three

\n\n\n\n

Works with minimum setup, so you can focus on sharing your story, product, or services freely.

\n\n\n\n\n
\n
\n
\n
\n", - 'viewportWidth' => 1000, -); diff --git a/lib/patterns/hero-right-column.php b/lib/patterns/hero-right-column.php deleted file mode 100644 index a392cbfce23987..00000000000000 --- a/lib/patterns/hero-right-column.php +++ /dev/null @@ -1,12 +0,0 @@ - __( 'Hero Right Column', 'gutenberg' ), - 'categories' => array( 'hero', 'columns' ), - 'content' => "\n
\n
\n
\n

Easy & Accessible

\n
\n
\n\n\n\n
\n
\n\n\n\n
\n
\n\n\n\n

Extend it with over 54,000 plugins to help your website meet your needs. Hundreds of thousands of developers and site owners trust it worldwide. Add an online store, galleries, mailing lists, forums, analytics, and much more.

\n\n\n\n

Hundreds of thousands of developers and site owners trust it worldwide. Add an online store, galleries, mailing lists, forums, analytics, and much more.

\n\n\n\n
\n\n\n\n\n
\n
\n
\n", -); diff --git a/lib/patterns/hero-two-columns.php b/lib/patterns/hero-two-columns.php deleted file mode 100644 index 24e9850c42c248..00000000000000 --- a/lib/patterns/hero-two-columns.php +++ /dev/null @@ -1,12 +0,0 @@ - __( 'Hero Two Columns', 'gutenberg' ), - 'categories' => array( 'columns' ), - 'content' => "\n
\n

Enjoy a wide variety of

\n\n\n\n

Custom Designs

\n\n\n\n
\n
\n

Extend it with over 54,000 plugins to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and much more. Hundreds of thousands of developers and site owners trust it worldwide.

\n
\n\n\n\n
\n

Hundreds of thousands of developers and site owners trust it worldwide. Extend it with over 54,000 plugins to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and much more.

\n
\n
\n
\n", -); diff --git a/lib/patterns/its-time.php b/lib/patterns/its-time.php deleted file mode 100644 index 7291b3594b3368..00000000000000 --- a/lib/patterns/its-time.php +++ /dev/null @@ -1,12 +0,0 @@ - __( 'It\'s time', 'gutenberg' ), - 'categories' => array( 'text', 'columns' ), - 'content' => "\n
\n
\n
\n

NEW

\n\n\n\n

John Lenwood \"Jackie\" McLean was an American jazz alto saxophonist, composer, bandleader, and educator, and is one of the few musicians to be elected to the DownBeat Hall of Fame in the year of their death.

\n
\n\n\n\n
\n

space

\n\n\n\n

Derek Ansell's full-length biography of McLean, Sugar Free Saxophone (London: Northway Books, 2012), details the story of his career and provides a full analysis of his music on record.

\n
\n
\n\n\n\n
\n
\n\n\n\n
\n

it's time

\n
\n
\n
\n", -); diff --git a/lib/patterns/numbered-features.php b/lib/patterns/numbered-features.php deleted file mode 100644 index 84d461efd14450..00000000000000 --- a/lib/patterns/numbered-features.php +++ /dev/null @@ -1,12 +0,0 @@ - __( 'Numbered Features', 'gutenberg' ), - 'categories' => array( 'features' ), - 'content' => "\n
\n
\n
\n
\n

1

\n
\n\n\n\n
\n

Custom Designs

\n\n\n\n

Extend it with over 54,000 plugins to help your website meet your needs.

\n\n\n\n
\n
\n
\n
\n\n\n\n
\n
\n
\n

2

\n
\n\n\n\n
\n

High Performance

\n\n\n\n

Add an online store, galleries, mailing lists, forums, analytics, and much more.

\n\n\n\n
\n
\n
\n
\n\n\n\n
\n
\n
\n

3

\n
\n\n\n\n
\n

Easy and Accessible

\n\n\n\n

Hundreds of thousands of developers and site owners trust it worldwide.

\n
\n
\n
\n
\n", -); diff --git a/lib/patterns/testimonials.php b/lib/patterns/testimonials.php deleted file mode 100644 index 1288d5eec14e4f..00000000000000 --- a/lib/patterns/testimonials.php +++ /dev/null @@ -1,12 +0,0 @@ - __( 'Testimonials', 'gutenberg' ), - 'categories' => array( 'testimonials' ), - 'content' => "\n
\n
\n
\n
\n

\"This software is designed for everyone, emphasizing accessibility, performance, security, and ease of use.\"

\n
\n\n\n\n
\n
\n
\"\"/
\n
\n\n\n\n
\n

Doris Som

\n
\n
\n
\n\n\n\n
\n
\n

\"We believe great software should work with minimum set up, so you can focus on sharing your story, or services freely.\"

\n
\n\n\n\n
\n
\n
\"\"/
\n
\n\n\n\n
\n

Walt Art

\n
\n
\n
\n\n\n\n
\n
\n

\"The product is simple and predictable so you can easily get started. It also offers powerful features for success.\"

\n
\n\n\n\n
\n
\n
\"\"/
\n
\n\n\n\n
\n

Moly Neo

\n
\n
\n
\n
\n
\n", -); diff --git a/lib/patterns/text-two-columns.php b/lib/patterns/text-two-columns.php index ad297deb297457..d6b0bdbf3f273e 100644 --- a/lib/patterns/text-two-columns.php +++ b/lib/patterns/text-two-columns.php @@ -8,5 +8,5 @@ return array( 'title' => __( 'Two Columns of Text', 'gutenberg' ), 'categories' => array( 'columns', 'text' ), - 'content' => "\n
\n
\n

CHAPTER 1. Loomings

\n\n\n\n

Call me Ishmael. Some years ago—never mind how long precisely—having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world. It is a way I have of driving off the spleen and regulating the circulation.

\n
\n\n\n\n
\n

Whenever I find myself growing grim about the mouth; whenever it is a damp, drizzly November in my soul; whenever I find myself involuntarily pausing before coffin warehouses, and bringing up the rear of every funeral I meet; and especially whenever my hypos get such an upper hand of me, that it requires a strong moral principle to prevent me from deliberately stepping into the street, and methodically knocking people’s hats off—then, I account it high time to get to sea as soon as I can.

\n
\n
\n", + 'content' => "\n
\n
\n

" . __( 'CHAPTER 1. Loomings', 'gutenberg' ) . "

\n\n\n\n

" . __( 'Call me Ishmael. Some years ago—never mind how long precisely—having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world. It is a way I have of driving off the spleen and regulating the circulation.', 'gutenberg' ) . "

\n
\n\n\n\n
\n

" . __( 'Whenever I find myself growing grim about the mouth; whenever it is a damp, drizzly November in my soul; whenever I find myself involuntarily pausing before coffin warehouses, and bringing up the rear of every funeral I meet; and especially whenever my hypos get such an upper hand of me, that it requires a strong moral principle to prevent me from deliberately stepping into the street, and methodically knocking people’s hats off—then, I account it high time to get to sea as soon as I can.', 'gutenberg' ) . "

\n
\n
\n", ); diff --git a/lib/patterns/two-buttons.php b/lib/patterns/two-buttons.php index ff434b858782d1..b97bd8e588ad00 100644 --- a/lib/patterns/two-buttons.php +++ b/lib/patterns/two-buttons.php @@ -7,7 +7,7 @@ return array( 'title' => __( 'Two Buttons', 'gutenberg' ), - 'content' => "\n
\n
Button One
\n\n\n\n
Button Two
\n
\n", + 'content' => "\n
\n
" . __( 'Button One', 'gutenberg' ) . "
\n\n\n\n
" . __( 'Button Two', 'gutenberg' ) . "
\n
\n", 'viewportWidth' => 500, 'categories' => array( 'buttons' ), );