Make WordPress Core

Changeset 42626


Ignore:
Timestamp:
01/31/2018 10:27:43 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Code Editor: Add Ctrl/Cmd+F as aliases for persistent search for more intuitive behaviour.

Keep Alt+F as well for users who already expect that.

Props Desertsnowman.
Merges [42625] to the 4.9 branch.
See #42586.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/general-template.php

    r42591 r42626  
    31563156                'Cmd-/' => 'toggleComment',
    31573157                'Alt-F' => 'findPersistent',
     3158                'Ctrl-F'     => 'findPersistent',
     3159                'Cmd-F'      => 'findPersistent',
    31583160            ),
    31593161            'direction' => 'ltr', // Code is shown in LTR even in RTL languages.
Note: See TracChangeset for help on using the changeset viewer.