Changeset 14241
- Timestamp:
- 12/05/2024 07:45:33 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-release-confirmation.php
r14119 r14241 281 281 ); 282 282 } 283 } elseif ( 284 $data['discarded'] && 285 current_user_can( 'plugin_review' ) && 286 ( time() - $data['discarded']['time'] ) < 2 * DAY_IN_SECONDS 287 ) { 288 // Plugin reviewers can undo a discard within 48hrs. 289 $buttons[] = sprintf( 290 '<a href="%s" class="button undo-discard button-secondary">%s</a>', 291 Template::get_release_confirmation_link( $data['tag'], $plugin, 'undo-discard' ), 292 __( 'Undo Discard', 'wporg-plugins' ) 293 ); 283 294 } 284 295
Note: See TracChangeset
for help on using the changeset viewer.