Ticket #2349: 2349.2.patch
File 2349.2.patch, 2.2 KB (added by , 8 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/handbooks.php
181 181 ); 182 182 } 183 183 184 $defaults['show_in_rest'] = true; 185 184 186 return $defaults; 185 187 } 186 188 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/registrations.php
70 70 'with_front' => false, 71 71 ), 72 72 'supports' => $supports, 73 'show_in_rest' => true, 73 74 ) ); 74 75 75 76 // Methods … … 102 103 'with_front' => false, 103 104 ), 104 105 'supports' => $supports, 106 'show_in_rest' => true, 105 107 ) ); 106 108 107 109 // Hooks … … 130 132 'with_front' => false, 131 133 ), 132 134 'supports' => $supports, 135 'show_in_rest' => true, 133 136 ) ); 134 137 135 138 // Methods … … 158 161 'with_front' => false, 159 162 ), 160 163 'supports' => $supports, 164 'show_in_rest' => true, 161 165 ) ); 162 166 } 163 167 … … 191 195 'rewrite' => array( 'with_front' => false, 'slug' => 'reference/files', 'hierarchical' => true ), 192 196 'sort' => false, 193 197 'update_count_callback' => '_update_post_term_count', 198 'show_in_rest' => true, 194 199 ) ); 195 200 196 201 // Package … … 201 206 'rewrite' => array( 'with_front' => false, 'slug' => 'reference/package' ), 202 207 'sort' => false, 203 208 'update_count_callback' => '_update_post_term_count', 209 'show_in_rest' => true, 204 210 ) ); 205 211 206 212 // @since … … 211 217 'rewrite' => array( 'with_front' => false, 'slug' => 'reference/since' ), 212 218 'sort' => false, 213 219 'update_count_callback' => '_update_post_term_count', 220 'show_in_rest' => true, 214 221 ) ); 215 222 } 216 223