File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1541,7 +1541,7 @@ protected function get_views_links( $link_data = array() ) {
15411541 /* translators: %1$s: The argument name. %2$s: The view name. */
15421542 __ ( 'The <code>%1$s</code> argument must be a non-empty string for <code>%2$s</code>. ' ),
15431543 'url ' ,
1544- $ view
1544+ esc_html ( $ view )
15451545 ),
15461546 '6.1.0 '
15471547 );
@@ -1556,7 +1556,7 @@ protected function get_views_links( $link_data = array() ) {
15561556 /* translators: %1$s: The argument name. %2$s: The view name. */
15571557 __ ( 'The <code>%1$s</code> argument must be a non-empty string for <code>%2$s</code>. ' ),
15581558 'label ' ,
1559- $ view
1559+ esc_html ( $ view )
15601560 ),
15611561 '6.1.0 '
15621562 );
@@ -1566,7 +1566,7 @@ protected function get_views_links( $link_data = array() ) {
15661566
15671567 $ views_links [ $ view ] = sprintf (
15681568 '<a href="%s"%s>%s</a> ' ,
1569- $ link ['url ' ],
1569+ esc_url ( $ link ['url ' ] ) ,
15701570 isset ( $ link ['current ' ] ) && true === $ link ['current ' ] ? ' class="current" aria-current="page" ' : '' ,
15711571 $ link ['label ' ]
15721572 );
You can’t perform that action at this time.
0 commit comments