Make WordPress Core


Ignore:
Timestamp:
09/20/2022 02:49:25 AM (2 years ago)
Author:
desrosj
Message:

Networks and Sites: Officially remove global terms.

Global terms was a feature from the WordPress MU days where multisite and single site installs used different code bases.

In WordPress 3.0, WordPress MU was merged into one location and the UI [14854] and “on” switch [14880] for global terms were completely removed.

Even before this merge, global terms was bug infested and unreliable. After [14854]/[14880], the feature was no longer maintained and became increasingly broken as taxonomies progressed without it (term splitting and term meta do not work at all). At this point, the feature has not worked in 12+ years and there’s no hope for saving it.

This deprecates the remaining global terms related code and no-ops the functions.

Global terms, you don’t have to go home, but you can’t stay here.

Props scribu, wonderboymusic, SergeyBiryukov, nacin, pento, desrosj, johnjamesjacoby, johnbillion, dd32.
Fixes #21734.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-tag-form.php

    r53913 r54240  
    149149            <p class="description" id="name-description"><?php echo $tax->labels->name_field_description; ?></p></td>
    150150        </tr>
    151 <?php if ( ! global_terms_enabled() ) { ?>
    152151        <tr class="form-field term-slug-wrap">
    153152            <th scope="row"><label for="slug"><?php _e( 'Slug' ); ?></label></th>
     
    171170            <p class="description" id="slug-description"><?php echo $tax->labels->slug_field_description; ?></p></td>
    172171        </tr>
    173 <?php } ?>
    174172<?php if ( is_taxonomy_hierarchical( $taxonomy ) ) : ?>
    175173        <tr class="form-field term-parent-wrap">
Note: See TracChangeset for help on using the changeset viewer.