Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Reorder access annotation to after since for consistency.
  • Loading branch information
hellofromtonya authored Apr 7, 2022
commit c77c9c2057a7c58a501f2632b663297cd7207dc8
6 changes: 3 additions & 3 deletions src/wp-includes/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
/**
* Registers the core block patterns and categories.
*
* @access private
* @since 5.5.0
* @access private
*/
function _register_core_block_patterns_and_categories() {
$should_register_core_patterns = get_theme_support( 'core-block-patterns' );
Expand Down Expand Up @@ -132,8 +132,8 @@ function _load_remote_featured_patterns() {
* Registers patterns from Pattern Directory provided by a theme's
* `theme.json` file.
*
* @access private
* @since 6.0.0
* @access private
*/
function _register_remote_theme_patterns() {
if ( ! get_theme_support( 'core-block-patterns' ) ) {
Expand Down Expand Up @@ -196,8 +196,8 @@ function _register_remote_theme_patterns() {
* - Block Types (comma-separated values)
* - Inserter (yes/no)
*
* @access private
* @since 6.0.0
* @access private
*/
function _register_theme_block_patterns() {
$default_headers = array(
Expand Down