Making WordPress.org


Ignore:
Timestamp:
12/08/2023 03:47:14 AM (9 months ago)
Author:
dd32
Message:

Plugin Directory: Record the reason a plugin is rejected.

See #5653.
Closes https://github.com/WordPress/wordpress.org/pull/107.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-plugin-posts.php

    r13024 r13033  
    606606            </select>
    607607        </fieldset>
     608
     609        <fieldset class="alignleft actions hide-if-js bulk-plugin_reject" disabled="disabled">
     610            <select name="rejection_reason" id="rejection_reason">
     611                <option disabled="disabled" value='' selected="selected"><?php esc_html_e( 'Rejection Reason:', 'wporg-plugins' ); ?></option>
     612                <?php foreach ( Template::get_rejection_reasons() as $key => $label ) : ?>
     613                    <option value="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $label ); ?></option>
     614                <?php endforeach; ?>
     615            </select>
     616        </fieldset>
     617
    608618        <?php
    609619
Note: See TracChangeset for help on using the changeset viewer.