Making WordPress.org

Changeset 4816


Ignore:
Timestamp:
01/28/2017 09:04:24 AM (8 years ago)
Author:
dd32
Message:

Plugin Directory: Add a warning not to submit new plugins through /plugins-wp/ - this check will hide automatically after launch (hopefully!).

See https://wordpress.slack.com/archives/pluginreview/p1485593749000908

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload.php

    r4729 r4816  
    3939                    </p>
    4040                </div>
     41                <?php
     42                if ( '/plugins-wp' === parse_url( home_url(), PHP_URL_PATH ) ) {
     43                    echo '<div class="notice notice-error notice-alt">
     44                        <p>Please submit all new plugin requests through the existing form <a href="https://wordpress.org/plugins/add/">available here</a>, You\'re currently viewing the beta version of the upcoming plugin directory, and is only for tesiting purposes.</p>
     45                    </div>';
     46                }
     47                ?>
    4148
    4249            <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.