Make WordPress Core


Ignore:
Timestamp:
06/29/2022 01:46:37 PM (3 years ago)
Author:
SergeyBiryukov
Message:

REST API: Add missing options to the settings endpoint.

This adds the show_on_front, page_on_front, and page_for_posts options to the settings endpoint that were missed during WP 6.0 backports.

Related PR from Gutenberg repository:

Props Mamaduka, spacedmonkey, gziolo, jameskoster.
See #56058.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-settings-controller.php

    r52434 r53588  
    107107            'default_post_format',
    108108            'posts_per_page',
     109            'show_on_front',
     110            'page_on_front',
     111            'page_for_posts',
    109112            'default_ping_status',
    110113            'default_comment_status',
Note: See TracChangeset for help on using the changeset viewer.