Make WordPress Core

Ticket #42707: 42707.3.diff

File 42707.3.diff, 766 bytes (added by danielbachhuber, 8 years ago)
  • src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php

    diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php
    index 0d8a6b1663..d72bafd608 100644
    a b class WP_REST_Taxonomies_Controller extends WP_REST_Controller { 
    304304                                        'readonly'    => true,
    305305                                ),
    306306                                'visibility'   => array(
    307                                         'description' => __( 'The visibility settings for the taxomonmy.' ),
     307                                        'description' => __( 'The visibility settings for the taxonomy.' ),
    308308                                        'type'        => 'object',
    309309                                        'context'     => array( 'edit' ),
    310310                                        'readonly'    => true,