WordPRess GSoC

Opened 5 years ago

Closed 5 years ago

#336 closed defect (fixed)

Undefined index: json_route

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


The follow error occurs on any page load where the 'template_redirect' hook fires:

Notice: Undefined index: json_route in 
on line 31

Using WP_DEBUG during development could expose these problems early.

Change History (1)

#1 @rmccue
5 years ago

  • Owner set to rmccue
  • Resolution set to fixed
  • Status changed from new to closed

In 2149:

Ensure we check json_route before using it

Fixes #336

Note: See TracTickets for help on using tickets.