Changeset 13661 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/inc/template-tags.php
- Timestamp:
- 05/03/2024 03:39:01 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/inc/template-tags.php
r13643 r13661 550 550 $close_button_text = sprintf( __( 'I understand, please close %s.', 'wporg-plugins' ), get_the_title() ); 551 551 ?> 552 < button class="show-dialog button" onclick="this.nextElementSibling.showModal()"><?php echo $close_button_text; ?></button>552 <div class="wp-block-button is-small"><button class="show-dialog wp-block-button__link" onclick="this.parentNode.nextElementSibling.showModal()"><?php echo $close_button_text; ?></button></div> 553 553 <dialog> 554 554 <a onclick="this.parentNode.close()" class="close dashicons dashicons-no-alt"></a> … … 593 593 <p> 594 594 <?php printf( __( 'If you have any questions, please contact <a href="mailto:%1$s">%1$s</a> before proceeding with a link to your plugin and your questions.', 'wporg-plugins' ), 'plugins@wordpress.org' ); ?> 595 <p >596 <input class=" button" type="submit" value="<?php echo esc_attr( $close_button_text ); ?>" />595 <p class="wp-block-button is-small"> 596 <input class="wp-block-button__link" type="submit" value="<?php echo esc_attr( $close_button_text ); ?>" /> 597 597 </p> 598 598 </form> … … 696 696 echo '</select></p>'; 697 697 // Translators: %s is the plugin name, as defined by the plugin itself. 698 echo '<p ><input class="button" type="submit" value="' . esc_attr( sprintf( __( 'Please transfer %s.', 'wporg-plugins' ), get_the_title() ) ) . '" /></p>';698 echo '<p class="wp-block-button is-small"><input class="wp-block-button__link" type="submit" value="' . esc_attr( sprintf( __( 'Please transfer %s.', 'wporg-plugins' ), get_the_title() ) ) . '" /></p>'; 699 699 echo '</form>'; 700 700 … … 729 729 730 730 echo '<form method="POST" action="' . esc_url( Template::get_enable_release_confirmation_link() ) . '" onsubmit="return confirm( jQuery(this).prev(\'.notice\').text() );">'; 731 echo '<p ><input class="button" type="submit" value="' . esc_attr__( 'I understand, please enable release confirmations.', 'wporg-plugins' ) . '" /></p>';731 echo '<p class="wp-block-button is-small"><input class="wp-block-button__link" type="submit" value="' . esc_attr__( 'I understand, please enable release confirmations.', 'wporg-plugins' ) . '" /></p>'; 732 732 echo '</form>'; 733 733
Note: See TracChangeset
for help on using the changeset viewer.