[wp-gsoc] [Summer of Code] #376: Wrong URL of wp-api.js script

Summer of Code noreply at wordpress.org
Thu Sep 19 14:11:29 UTC 2013


#376: Wrong URL of wp-api.js script
-----------------------+---------------------------
 Reporter:  tareq1988  |       Type:  defect
   Status:  new        |   Priority:  normal
Milestone:             |  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__ )
 }}}

--
Ticket URL: <https://gsoc.trac.wordpress.org/ticket/376>
Summer of Code <https://gsoc.trac.wordpress.org>
My example project


More information about the wp-gsoc mailing list