WordPRess GSoC

Opened 5 years ago

Closed 5 years ago

#376 closed defect (fixed)

Wrong URL of wp-api.js script

Reported by: tareq1988 Owned by: rmccue
Milestone: Priority: normal
Component: JSON REST API Keywords:


The register URL of wp-api.js is wrong right now.

plugins_url( dirname( __FILE__ ) . '/wp-api.js' )

Which should be

plugins_url( '/wp-api.js', __FILE__ )

Change History (2)

#1 @rmccue
5 years ago

  • Owner set to rmccue
  • Status changed from new to accepted

Thanks, will fix momentarily.

#2 @rmccue
5 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 2343:

Register the correct URL for the JS library

Fixes #376

Note: See TracTickets for help on using tickets.