Changeset 3014
- Timestamp:
- 04/26/2016 06:49:17 PM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc
- Files:
-
- 4 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/class-plugin.php
r2988 r3014 41 41 add_filter( 'pre_handle_404', array( $this, 'short_circuit_handle_404' ) ); 42 42 add_action( 'wp_default_scripts', array( $this, 'bump_script_versions' ) ); 43 44 // Load the API endpoints. 45 add_action( 'rest_api_init', array( __NAMESPACE__ . '\REST_API\Base', 'load_endpoints' ) ); 43 46 44 47 if ( defined( 'WP_CLI' ) && WP_CLI ) {
Note: See TracChangeset
for help on using the changeset viewer.