WordPress.org

Make WordPress Core

Changeset 51091


Ignore:
Timestamp:
06/08/2021 08:26:23 AM (7 days ago)
Author:
youknowriad
Message:

Block Editor: Add the Site Logo block's server implementation.

Props aristath, timothyblynjacobs, ocean90.
Fixes #53247.

Location:
trunk
Files:
11 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/index.php

    r50996 r51091  
    3333require ABSPATH . WPINC . '/blocks/shortcode.php';
    3434require ABSPATH . WPINC . '/blocks/site-tagline.php';
     35require ABSPATH . WPINC . '/blocks/site-logo.php';
    3536require ABSPATH . WPINC . '/blocks/site-title.php';
    3637require ABSPATH . WPINC . '/blocks/social-link.php';
  • trunk/tests/phpunit/includes/functions.php

    r51089 r51091  
    329329    remove_action( 'init', 'register_block_core_shortcode' );
    330330    remove_action( 'init', 'register_block_core_site_tagline' );
     331    remove_action( 'init', 'register_block_core_site_logo' );
    331332    remove_action( 'init', 'register_block_core_site_title' );
    332333    remove_action( 'init', 'register_block_core_social_link' );
  • trunk/tests/phpunit/tests/rest-api/rest-settings-controller.php

    r50450 r51091  
    100100            'date_format',
    101101            'time_format',
     102            'site_logo',
    102103            'start_of_week',
    103104            'language',
  • trunk/tests/qunit/fixtures/wp-api-generated.js

    r51026 r51091  
    66586658                            ],
    66596659                            "required": false
     6660                        },
     6661                        "site_logo": {
     6662                            "description": "Site logo.",
     6663                            "type": "integer",
     6664                            "required": false
    66606665                        }
    66616666                    }
     
    89418946    "posts_per_page": 10,
    89428947    "default_ping_status": "open",
    8943     "default_comment_status": "open"
     8948    "default_comment_status": "open",
     8949    "site_logo": null
    89448950};
  • trunk/tools/webpack/packages.js

    r51035 r51091  
    131131        'search',
    132132        'shortcode',
     133        'site-logo',
    133134        'site-tagline',
    134135        'site-title',
Note: See TracChangeset for help on using the changeset viewer.