File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,10 +61,10 @@ function the_post_types_table() {
6161 <tbody>
6262 <?php foreach ($ post_types as $ post_type ): ?>
6363 <tr>
64- <td><?php echo $ post_type ['name ' ]; ?> </td>
65- <td><?php echo $ post_type ['label ' ]; ?> </td>
66- <td><?php echo $ post_type ['publish ' ]; ?> </td>
67- <td><?php echo $ post_type ['draft ' ]; ?> </td>
64+ <td><?php echo esc_html ( $ post_type ['name ' ]) ; ?> </td>
65+ <td><?php echo esc_html ( $ post_type ['label ' ]) ; ?> </td>
66+ <td><?php echo esc_html ( $ post_type ['publish ' ]) ; ?> </td>
67+ <td><?php echo esc_html ( $ post_type ['draft ' ]) ; ?> </td>
6868 </tr>
6969 <?php endforeach ; ?>
7070 </tbody>
@@ -106,14 +106,14 @@ function the_taxonomies_table() {
106106 <tbody>
107107 <?php foreach ($ taxonomies as $ taxonomy ): ?>
108108 <tr>
109- <td><?php echo $ taxonomy ['name ' ]; ?> </td>
110- <td><?php echo $ taxonomy ['label ' ]; ?> </td>
111- <td><?php echo join (', ' , $ taxonomy ['object_type ' ]); ?> </td>
112- <td><?php echo $ taxonomy ['count ' ]; ?> </td>
109+ <td><?php echo esc_html ( $ taxonomy ['name ' ]) ; ?> </td>
110+ <td><?php echo esc_html ( $ taxonomy ['label ' ]) ; ?> </td>
111+ <td><?php echo esc_html ( join (', ' , $ taxonomy ['object_type ' ]) ); ?> </td>
112+ <td><?php echo esc_html ( $ taxonomy ['count ' ]) ; ?> </td>
113113 </tr>
114114 <?php endforeach ; ?>
115115 </tbody>
116116
117117 </table>
118118 <?php
119- }
119+ }
You can’t perform that action at this time.
0 commit comments