WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/13/2012 05:28:57 PM (9 years ago)
Author:
nacin
Message:

Fold Privacy Settings into Reading Settings, moving blog_public (search engine/robots) to options-reading and removing options-privacy.

When blog_public only has two values (as judged by whether the blog_privacy_selector action is used), convert from radio buttons to a checkbox, and rename from 'Site Visibility' to a more specific 'Search Engine Visibility'.

The text and implementation may change a bit. see #16416.

File:
1 edited

Legend:

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

    r21791 r21838  
    10411041
    10421042    if ( 'misc' == $page ) {
    1043         _deprecated_argument( __FUNCTION__, '3.0', __( 'The miscellaneous options group has been removed. Use another settings group.' ) );
     1043        _deprecated_argument( __FUNCTION__, '3.0', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'misc' ) );
    10441044        $page = 'general';
     1045    }
     1046
     1047    if ( 'privacy' == $page ) {
     1048        _deprecated_argument( __FUNCTION__, '3.5', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'privacy' ) );
     1049        $page = 'reading';
    10451050    }
    10461051
     
    10831088        _deprecated_argument( __FUNCTION__, '3.0', __( 'The miscellaneous options group has been removed. Use another settings group.' ) );
    10841089        $page = 'general';
     1090    }
     1091
     1092    if ( 'privacy' == $page ) {
     1093        _deprecated_argument( __FUNCTION__, '3.5', __( 'The privacy options group has been removed. Use another settings group.' ) );
     1094        $page = 'reading';
    10851095    }
    10861096
Note: See TracChangeset for help on using the changeset viewer.