[wp-trac] [WordPress Trac] #51467: Plugins API endpoint regex breaks javascript parsing.

WordPress Trac noreply at wordpress.org
Wed Jul 28 06:21:53 UTC 2021


#51467: Plugins API endpoint regex breaks javascript parsing.
---------------------------+------------------------------
 Reporter:  nielsdeblaauw  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  REST API       |     Version:  5.5
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by ranjitp):

 I have got a Invalid regular expression. But when i removed the
 "groupPattern ? '^' + groupPattern + '$' : component, 'i'" in the line 81
 from the file node_modules/wpapi/lib/route-tree.js. It is working fine. I
 have upgrade the WP. I got that error after that.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51467#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list