Changeset 14245
- Timestamp:
- 12/06/2024 04:17:16 AM (6 weeks ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-readme-validator.php
r13619 r14245 50 50 <p> 51 51 <input type="text" name="readme" size="70" placeholder="https://" value="<?php echo esc_attr( $readme_url ); ?>" /> 52 <input type="submit" class=" button button-secondary" value="<?php esc_attr_e( 'Validate!', 'wporg-plugins' ); ?>" />52 <input type="submit" class="wp-element-button button" value="<?php esc_attr_e( 'Validate!', 'wporg-plugins' ); ?>" /> 53 53 </p> 54 54 </form> … … 59 59 <input type="hidden" name="readme" value="" /> 60 60 <textarea class="screen-reader-text" rows="20" cols="100" name="readme_contents"><?php echo esc_textarea( $readme_contents ); ?></textarea> 61 <p><input type="submit" class=" button button-secondary" value="<?php esc_attr_e( 'Validate!', 'wporg-plugins' ); ?>" /></p>61 <p><input type="submit" class="wp-element-button button" value="<?php esc_attr_e( 'Validate!', 'wporg-plugins' ); ?>" /></p> 62 62 </form> 63 63 <script> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-release-confirmation.php
r14241 r14245 255 255 ) { 256 256 $buttons[] = sprintf( 257 '<a href="%s" class=" button approve-release button-primary">%s</a>',257 '<a href="%s" class="wp-element-button button approve-release">%s</a>', 258 258 Template::get_release_confirmation_link( $data['tag'], $plugin ), 259 259 __( 'Confirm', 'wporg-plugins' ) 260 260 ); 261 261 $buttons[] = sprintf( 262 '<a href="%s" class=" button approve-release button-secondary">%s</a>',262 '<a href="%s" class="wp-element-button button approve-release">%s</a>', 263 263 Template::get_release_confirmation_link( $data['tag'], $plugin, 'discard' ), 264 264 __( 'Discard', 'wporg-plugins' ) … … 266 266 } else { 267 267 $buttons[] = sprintf( 268 '<a class=" button approve-release button-secondarydisabled">%s</a>',268 '<a class="wp-element-button button approve-release disabled">%s</a>', 269 269 __( 'Confirm', 'wporg-plugins' ) 270 270 ); 271 271 $buttons[] = sprintf( 272 '<a class=" button approve-release button-secondarydisabled">%s</a>',272 '<a class="wp-element-button button approve-release disabled">%s</a>', 273 273 __( 'Discard', 'wporg-plugins' ) 274 274 ); … … 277 277 } elseif ( $current_user_confirmed ) { 278 278 $buttons[] = sprintf( 279 '<a class=" button approve-release button-secondarydisabled">%s</a>',279 '<a class="wp-element-button button approve-release disabled">%s</a>', 280 280 __( 'Confirmed', 'wporg-plugins' ) 281 281 ); … … 288 288 // Plugin reviewers can undo a discard within 48hrs. 289 289 $buttons[] = sprintf( 290 '<a href="%s" class=" button undo-discard button-secondary">%s</a>',290 '<a href="%s" class="wp-element-button button undo-discard">%s</a>', 291 291 Template::get_release_confirmation_link( $data['tag'], $plugin, 'undo-discard' ), 292 292 __( 'Undo Discard', 'wporg-plugins' )
Note: See TracChangeset
for help on using the changeset viewer.