PluginProbe
Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More / 2.6.1
Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More v2.6.1
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.10 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 47 releases
← All changes | classes/QueryMonitor/Output.php +2 -2 trunk2.6.1 View file →
@@ -171,9 +171,9 @@
171 171
172 172 // Main query restriction.
173 173 echo '<tr>';
174 174 echo '<td style="' . esc_attr( $font_style ) . '">Main Query Restriction</td>';
175 - echo '<td style="' . esc_attr( $font_style ) . '">' . ( $main_query_restrictions ? '<a href="' . esc_url( $main_query_restrictions->get_edit_link() ) . '" target="_blank">' . esc_html( $main_query_restrictions->title ) . '</a>' : 'None' ) . '</td>';
175 + echo '<td style="' . esc_attr( $font_style ) . '">' . ( $main_query_restrictions ? '<a href="' . esc_url_raw( $main_query_restrictions->get_edit_link() ) . '" target="_blank">' . esc_html( $main_query_restrictions->title ) . '</a>' : 'None' ) . '</td>';
176 176 echo '</tr>';
177 177
178 178 echo '</tbody>';
179 179 echo '</table>';
@@ -234,9 +234,9 @@
234 234
235 235 $restrictions_html = [];
236 236
237 237 foreach ( $restrictions as $restriction ) {
238 - $restrictions_html[] = '<a href="' . esc_url( $restriction->get_edit_link() ) . '" target="_blank">' . esc_html( $restriction->title ) . '</a>';
238 + $restrictions_html[] = '<a href="' . esc_url_raw( $restriction->get_edit_link() ) . '" target="_blank">' . esc_html( $restriction->title ) . '</a>';
239 239 }
240 240
241 241 echo '<td>' . wp_kses( join( ', ', $restrictions_html ), [
242 242 'a' => [