WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#42109 new defect (bug)

Code Editor: shouldAutocomplete not working for php

Reported by: tharsheblows Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9
Component: Plugins Keywords: has-patch needs-testing
Focuses: Cc:
PR Number:

Description

To reproduce:

  • go to a php bit in the code in the code editor
  • start typing "pri" and it should bring up "private", "print", "printf" etc

I think it's good that this doesn't work! It'd be great if it helped with WordPress functions too but it's just php so it's a little confusing when it does work (to me at least :) ). So here are two patches, one with it working and one with it taken out.

Attachments (2)

42109-working.diff (700 bytes) - added by tharsheblows 2 years ago.
php autocomplete working
42109-removed.diff (691 bytes) - added by tharsheblows 2 years ago.
the php autocomplete bit removed

Download all attachments as: .zip

Change History (3)

@tharsheblows
2 years ago

php autocomplete working

@tharsheblows
2 years ago

the php autocomplete bit removed

#1 @swissspidy
2 years ago

  • Component changed from General to Plugins
  • Keywords has-patch needs-testing added
Note: See TracTickets for help on using tickets.