Changeset 35822
- Timestamp:
- 12/07/2015 10:39:25 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api.php
r35718 r35822 40 40 * non-namespaced route, call `WP_REST_Server::register_route` directly. 41 41 */ 42 _doing_it_wrong( 'register_rest_route', 'Routes must be namespaced with plugin or theme name and version.', '4.4.0' );42 _doing_it_wrong( 'register_rest_route', __( 'Routes must be namespaced with plugin or theme name and version.' ), '4.4.0' ); 43 43 return false; 44 44 } else if ( empty( $route ) ) { 45 _doing_it_wrong( 'register_rest_route', 'Route must be specified.', '4.4.0' );45 _doing_it_wrong( 'register_rest_route', __( 'Route must be specified.' ), '4.4.0' ); 46 46 return false; 47 47 }
Note: See TracChangeset
for help on using the changeset viewer.