Changeset 55331
- Timestamp:
- 02/14/2023 11:32:59 AM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-permalink.php
r55276 r55331 339 339 <?php foreach ( $default_structures as $input ) : ?> 340 340 <div class="row"> 341 <input id="permalink-input-<?php echo $input['id']; ?>"342 name="selection" aria-describedby="permalink-<?php echo $input['id']; ?>"341 <input id="permalink-input-<?php echo esc_attr( $input['id'] ); ?>" 342 name="selection" aria-describedby="permalink-<?php echo esc_attr( $input['id'] ); ?>" 343 343 type="radio" value="<?php echo esc_attr( $input['value'] ); ?>" 344 344 <?php checked( $input['value'], $permalink_structure ); ?> 345 345 /> 346 346 <div> 347 <label for="permalink-input-<?php echo $input['id']; ?>"><?php echo $input['label']; ?></label> 347 <label for="permalink-input-<?php echo esc_attr( $input['id'] ); ?>"> 348 <?php echo esc_html( $input['label'] ); ?> 349 </label> 348 350 <p> 349 <code id="permalink-<?php echo $input['id']; ?>"><?php echo $input['example']; ?></code> 351 <code id="permalink-<?php echo esc_attr( $input['id'] ); ?>"> 352 <?php echo esc_html( $input['example'] ); ?> 353 </code> 350 354 </p> 351 355 </div> … … 368 372 </label> 369 373 <span class="code"> 370 <code id="permalink-custom"><?php echo $url_base; ?></code>374 <code id="permalink-custom"><?php echo esc_url( $url_base ); ?></code> 371 375 <input name="permalink_structure" id="permalink_structure" 372 376 type="text" value="<?php echo esc_attr( $permalink_structure ); ?>" … … 390 394 data-removed="<?php echo esc_attr( sprintf( $tag_removed, $tag ) ); ?>" 391 395 data-used="<?php echo esc_attr( sprintf( $tag_already_used, $tag ) ); ?>"> 392 <?php echo '%' . $tag. '%'; ?>396 <?php echo '%' . esc_html( $tag ) . '%'; ?> 393 397 </button> 394 398 </li>
Note: See TracChangeset
for help on using the changeset viewer.