Make WordPress Core


Ignore:
Timestamp:
05/11/2020 05:24:24 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Use 3-digit, x.x.x style semantic versioning for inline comments in populate_options().

See #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/schema.php

    r47735 r47782  
    442442        'gmt_offset'                      => $gmt_offset,
    443443
    444         // 1.5
     444        // 1.5.0
    445445        'default_email_category'          => 1,
    446446        'recently_edited'                 => '',
     
    455455        'use_trackback'                   => 0,
    456456
    457         // 2.0
     457        // 2.0.0
    458458        'default_role'                    => 'subscriber',
    459459        'db_version'                      => $wp_db_version,
     
    463463        'upload_path'                     => '',
    464464
    465         // 2.1
     465        // 2.1.0
    466466        'blog_public'                     => '1',
    467467        'default_link_category'           => 2,
    468468        'show_on_front'                   => 'posts',
    469469
    470         // 2.2
     470        // 2.2.0
    471471        'tag_base'                        => '',
    472472
    473         // 2.5
     473        // 2.5.0
    474474        'show_avatars'                    => '1',
    475475        'avatar_rating'                   => 'G',
     
    481481        'medium_size_h'                   => 300,
    482482
    483         // 2.6
     483        // 2.6.0
    484484        'avatar_default'                  => 'mystery',
    485485
    486         // 2.7
     486        // 2.7.0
    487487        'large_size_w'                    => 1024,
    488488        'large_size_h'                    => 1024,
     
    504504        'uninstall_plugins'               => array(),
    505505
    506         // 2.8
     506        // 2.8.0
    507507        'timezone_string'                 => $timezone_string,
    508508
    509         // 3.0
     509        // 3.0.0
    510510        'page_for_posts'                  => 0,
    511511        'page_on_front'                   => 0,
    512512
    513         // 3.1
     513        // 3.1.0
    514514        'default_post_format'             => 0,
    515515
    516         // 3.5
     516        // 3.5.0
    517517        'link_manager_enabled'            => 0,
    518518
     
    535535    );
    536536
    537     // 3.3
     537    // 3.3.0
    538538    if ( ! is_multisite() ) {
    539539        $defaults['initial_db_version'] = ! empty( $wp_current_db_version ) && $wp_current_db_version < $wp_db_version
     
    541541    }
    542542
    543     // 3.0 multisite.
     543    // 3.0.0 multisite.
    544544    if ( is_multisite() ) {
    545545        /* translators: %s: Network title. */
Note: See TracChangeset for help on using the changeset viewer.