| @@ -82,9 +82,9 @@ | ||
| 82 | 82 | if ( 'row' == this.what ) { |
| 83 | 83 | // data is built with a call to WP_Terms_List_Table::single_row method |
| 84 | 84 | // which uses internally other WordPress methods which escape correctly values. |
| 85 | 85 | // For Polylang language columns the HTML code is correctly escaped in PLL_Admin_Filters_Columns::term_column method. |
| 86 | - $( "#tag-" + this.supplemental.term_id ).replaceWith( this.data ); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.replaceWith | |
| 86 | + $( "#tag-" + this.supplemental.term_id ).replaceWith( this.data ); | |
| 87 | 87 | } |
| 88 | 88 | } |
| 89 | 89 | ); |
| 90 | 90 | } |
| @@ -149,9 +149,9 @@ | ||
| 149 | 149 | '&_pll_nonce=' + $( '#_pll_nonce' ).val(), |
| 150 | 150 | select: function ( event, ui ) { |
| 151 | 151 | $( '#htr_lang_' + tr_lang ).val( ui.item.id ); |
| 152 | 152 | // ui.item.link is built and come from server side and is well escaped when necessary |
| 153 | - td.html( ui.item.link ); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html | |
| 153 | + td.html( ui.item.link ); | |
| 154 | 154 | }, |
| 155 | 155 | } |
| 156 | 156 | ); |
| 157 | 157 | |
| @@ -161,9 +161,9 @@ | ||
| 161 | 161 | function () { |
| 162 | 162 | if ( ! $( this ).val() ) { |
| 163 | 163 | $( '#htr_lang_' + tr_lang ).val( 0 ); |
| 164 | 164 | // Value is retrieved from HTML already generated server side |
| 165 | - td.html( td.siblings( '.hidden' ).children().clone() ); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html | |
| 165 | + td.html( td.siblings( '.hidden' ).children().clone() ); | |
| 166 | 166 | } |
| 167 | 167 | } |
| 168 | 168 | ); |
| 169 | 169 | } |
| @@ -201,22 +201,22 @@ | ||
| 201 | 201 | function () { |
| 202 | 202 | switch ( this.what ) { |
| 203 | 203 | case 'translations': // translations fields |
| 204 | 204 | // Data is built and come from server side and is well escaped when necessary |
| 205 | - $( "#term-translations" ).html( this.data ); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html | |
| 205 | + $( "#term-translations" ).html( this.data ); | |
| 206 | 206 | init_translations(); |
| 207 | 207 | break; |
| 208 | 208 | case 'parent': // parent dropdown list for hierarchical taxonomies |
| 209 | 209 | // data correctly escaped in PLL_Admin_Filters_Term::term_lang_choice method which uses wp_dropdown_categories function. |
| 210 | - $( '#parent' ).replaceWith( this.data ); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.replaceWith | |
| 210 | + $( '#parent' ).replaceWith( this.data ); | |
| 211 | 211 | break; |
| 212 | 212 | case 'tag_cloud': // popular items |
| 213 | 213 | // data correctly escaped in PLL_Admin_Filters_Term::term_lang_choice method which uses wp_tag_cloud and wp_generate_tag_cloud functions. |
| 214 | - $( '.tagcloud' ).replaceWith( this.data ); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.replaceWith | |
| 214 | + $( '.tagcloud' ).replaceWith( this.data ); | |
| 215 | 215 | break; |
| 216 | 216 | case 'flag': // flag in front of the select dropdown |
| 217 | 217 | // Data is built and come from server side and is well escaped when necessary |
| 218 | - $( '.pll-select-flag' ).html( this.data ); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html | |
| 218 | + $( '.pll-select-flag' ).html( this.data ); | |
| 219 | 219 | break; |
| 220 | 220 | } |
| 221 | 221 | } |
| 222 | 222 | ); |