diff --git a/source/wp-content/themes/wporg-developer-2023/functions.php b/source/wp-content/themes/wporg-developer-2023/functions.php index 277cf7062..e09c90a2d 100644 --- a/source/wp-content/themes/wporg-developer-2023/functions.php +++ b/source/wp-content/themes/wporg-developer-2023/functions.php @@ -180,7 +180,6 @@ require_once __DIR__ . '/src/resource-select/index.php'; require_once __DIR__ . '/src/search-filters/index.php'; require_once __DIR__ . '/src/search-post/index.php'; -require_once __DIR__ . '/src/search-results-context/index.php'; add_action( 'init', __NAMESPACE__ . '\\init' ); add_filter( 'wporg_block_site_breadcrumbs', __NAMESPACE__ . '\set_site_breadcrumbs' ); diff --git a/source/wp-content/themes/wporg-developer-2023/src/search-results-context/block.json b/source/wp-content/themes/wporg-developer-2023/src/search-results-context/block.json deleted file mode 100644 index 62864a27d..000000000 --- a/source/wp-content/themes/wporg-developer-2023/src/search-results-context/block.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://schemas.wp.org/trunk/block.json", - "apiVersion": 2, - "name": "wporg/search-results-context", - "version": "0.1.0", - "title": "Search Results Context", - "category": "design", - "icon": "", - "description": "Displays context information for search results.", - "textdomain": "wporg", - "attributes": { - "tagName": { - "type": "string", - "default": "p" - } - }, - "supports": { - "align": true, - "color": true, - "html": false, - "spacing": { - "margin": true, - "padding": true, - "blockGap": false - }, - "typography": { - "fontSize": true, - "lineHeight": true, - "__experimentalFontFamily": true, - "__experimentalFontStyle": true, - "__experimentalFontWeight": true, - "__experimentalLetterSpacing": true, - "__experimentalTextTransform": true, - "__experimentalTextDecoration": true, - "__experimentalDefaultControls": { - "fontSize": true, - "fontAppearance": true, - "textTransform": true - } - } - }, - "editorScript": "file:./index.js", - "style": "file:./style-index.css" -} \ No newline at end of file diff --git a/source/wp-content/themes/wporg-developer-2023/src/search-results-context/index.js b/source/wp-content/themes/wporg-developer-2023/src/search-results-context/index.js deleted file mode 100644 index 1981cd5f3..000000000 --- a/source/wp-content/themes/wporg-developer-2023/src/search-results-context/index.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * WordPress dependencies - */ -import { registerBlockType } from '@wordpress/blocks'; -import { useBlockProps } from '@wordpress/block-editor'; - -/** - * Internal dependencies - */ -import metadata from './block.json'; - -function Edit() { - return