1jQuery(document).ready(function($) { 2 // Only run on single post pages 3 if ($('body').hasClass('single')) { 4 const postId = $('body').attr('class').match(/postid-(\d+)/)[1]; 5 6 $.ajax({ 7 url: popularPostsAjax.ajaxurl, 8 type: 'POST', 9 data: { 10 action: 'track_post_view', 11 post_id: postId, 12 nonce: popularPostsAjax.nonce 13 } 14 }); 15 } 16});
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.