Make WordPress Core


Ignore:
Timestamp:
09/20/2022 02:49:25 AM (21 months 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/includes/class-wp-terms-list-table.php

    r54071 r54240  
    666666                </label>
    667667
    668                 <?php if ( ! global_terms_enabled() ) : ?>
    669                     <label>
    670                         <span class="title"><?php _e( 'Slug' ); ?></span>
    671                         <span class="input-text-wrap"><input type="text" name="slug" class="ptitle" value="" /></span>
    672                     </label>
    673                 <?php endif; ?>
     668                <label>
     669                    <span class="title"><?php _e( 'Slug' ); ?></span>
     670                    <span class="input-text-wrap"><input type="text" name="slug" class="ptitle" value="" /></span>
     671                </label>
    674672                </div>
    675673            </fieldset>
Note: See TracChangeset for help on using the changeset viewer.