Changeset 53590 for branches/6.0/src/wp-includes/option.php
- Timestamp:
- 06/29/2022 02:22:56 PM (3 years ago)
- Location:
- branches/6.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.0
- Property svn:mergeinfo changed
/trunk merged: 53588-53589
- Property svn:mergeinfo changed
-
branches/6.0/src/wp-includes/option.php
r53317 r53590 2064 2064 * 2065 2065 * @since 4.7.0 2066 * @since 6.1.0 The `show_on_front`, `page_on_front`, and `page_for_posts` options were added. 2066 2067 */ 2067 2068 function register_initial_settings() { … … 2222 2223 2223 2224 register_setting( 2225 'reading', 2226 'show_on_front', 2227 array( 2228 'show_in_rest' => true, 2229 'type' => 'string', 2230 'description' => __( 'What to show on the front page' ), 2231 ) 2232 ); 2233 2234 register_setting( 2235 'reading', 2236 'page_on_front', 2237 array( 2238 'show_in_rest' => true, 2239 'type' => 'integer', 2240 'description' => __( 'The ID of the page that should be displayed on the front page' ), 2241 ) 2242 ); 2243 2244 register_setting( 2245 'reading', 2246 'page_for_posts', 2247 array( 2248 'show_in_rest' => true, 2249 'type' => 'integer', 2250 'description' => __( 'The ID of the page that should display the latest posts' ), 2251 ) 2252 ); 2253 2254 register_setting( 2224 2255 'discussion', 2225 2256 'default_ping_status',
Note: See TracChangeset
for help on using the changeset viewer.