1(function( $ ) { 'use strict'; 2 var wpa_names = [ 's', 'author', 'email', 'url', 'comment' ]; 3 $.each( wpa_names, function( index, value ) { 4 if ( value == 'comment' ) { 5 var field = $( 'textarea[name=' + value + ']' ); 6 } else { 7 var field = $( 'input[name=' + value + ']' ); 8 } 9 var form_id = field.attr( 'id' ); 10 if ( form_id ) { 11 var label = $( 'label[for=' + form_id + ']' ); 12 var implicit = $( field ).parent( 'label' ); 13 if ( !label.length && !implicit.length ) { 14 field.before( "<label for='" + form_id + "' class='sogo-screen-reader-text'>" + sogoLabels[value] + "</label>" ); 15 } 16 } else { 17 field.attr( 'id', 'sogo_label_' + value ).before( "<label for='sogo_label_" + value + "' class='sogo-screen-reader-text'>" + sogoLabels[value] + "</label>" ); 18 } 19 }); 20}(jQuery));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.