WordPress.org

Making WordPress.org

Changeset 9158


Ignore:
Timestamp:
10/01/2019 06:09:42 AM (19 months ago)
Author:
dd32
Message:

API: Core Importer List: Drop the 'Blogroll' importer from recommendations.

Props Hareesh Pillai.
Fixes #4706.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/core/importers/1.0/index.php

    r3690 r9158  
    66}
    77
    8 if ( version_compare( $version, '4.6-beta', '>=' ) ) {
     8if ( version_compare( $version, '5.3-beta', '>=' ) ) {
     9    $popular_importers = wporg_api_get_popular_importers_46();
     10    // Don't advertise the Blogroll importer - See https://meta.trac.wordpress.org/ticket/4706
     11    unset( $popular_importers['opml'] );
     12
     13} else if ( version_compare( $version, '4.6-beta', '>=' ) ) {
    914    $popular_importers = wporg_api_get_popular_importers_46();
    1015} else {
Note: See TracChangeset for help on using the changeset viewer.