mirrored from git://develop.git.wordpress.org/
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a6c23f
commit 2c74335
Showing
6 changed files
with
244 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
src/wp-includes/customize/class-wp-sidebar-block-editor-control.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
/** | ||
* Customize API: WP_Sidebar_Block_Editor_Control class. | ||
* | ||
* @package WordPress | ||
* @subpackage Customize | ||
* @since 5.8.0 | ||
*/ | ||
|
||
/** | ||
* Core class used to implement the widgets block editor control in the | ||
* customizer. | ||
* | ||
* @since 5.8.0 | ||
* | ||
* @see WP_Customize_Control | ||
*/ | ||
class WP_Sidebar_Block_Editor_Control extends WP_Customize_Control { | ||
/** | ||
* The control type. | ||
* | ||
* @since 5.8.0 | ||
* | ||
* @var string | ||
*/ | ||
public $type = 'sidebar_block_editor'; | ||
|
||
/** | ||
* Render the widgets block editor container. | ||
* | ||
* @since 5.8.0 | ||
*/ | ||
public function render_content() { | ||
// Render an empty control. The JavaScript in | ||
// @wordpress/customize-widgets will do the rest. | ||
} | ||
} |
Oops, something went wrong.