See http://cgit.drupalcode.org/bootstrap/tree/templates/system/textfield.fun...

 * Overrides theme_textfield().
 */
function bootstrap_textfield($variables) {
...
if ($element['#autocomplete_path'] && drupal_valid_path($element['#autocomplete_path'])) {

Comments

rmattb2 created an issue. See original summary.

markhalliwell’s picture

Title: security update to theme_textfield from drupal 7.39 » Update theme_textfield to be in line with core 7.39
Issue summary: View changes
tucho’s picture

I attach two patches with the updates from version 7.39 of the Drupal core.

One for dev version (7.x-3.x) and another for the stable version (7.x-3.0).

  • markcarver committed 78e8d5e on 7.x-3.x authored by tucho
    Issue #2566541 by tucho, rmattb2: Update theme_textfield to be in line...
markhalliwell’s picture

Status: Needs review » Fixed
markhalliwell’s picture

Assigned: Unassigned » neardark
Status: Fixed » Patch (to be ported)

@neardark, can you see if there is any actionable items on this issue for 8.x?

markhalliwell’s picture

Assigned: neardark » Unassigned
Status: Patch (to be ported) » Closed (fixed)

I doubt this will be an issue in 8.x. If it is, we can re-open.