WordPress.org

Make WordPress Core

Ticket #37562: 37562.2.patch

File 37562.2.patch, 4.0 KB (added by johnbillion, 4 years ago)
  • src/wp-includes/post.php

     
    837837 * Retrieves a post type object by name.
    838838 *
    839839 * @since 3.0.0
    840  * @since 4.6.0 Converted to use WP_Post_Type.
     840 * @since 4.6.0 Object returned is now an instance of WP_Post_Type.
    841841 *
    842842 * @global array $wp_post_types List of post types.
    843843 *
     
    900900 * @since 3.0.0 The `show_ui` argument is now enforced on the new post screen.
    901901 * @since 4.4.0 The `show_ui` argument is now enforced on the post type listing
    902902 *              screen and post editing screen.
    903  * @since 4.6.0 Converted to use WP_Post_Type.
     903 * @since 4.6.0 Post type object returned is now an instance of WP_Post_Type.
    904904 *
    905905 * @global array $wp_post_types List of post types.
    906906 *
     
    10581058 * Can not be used to unregister built-in post types.
    10591059 *
    10601060 * @since 4.5.0
    1061  * @since 4.6.0 Converted to use WP_Post_Type.
    10621061 *
    10631062 * @global array $wp_post_types List of post types.
    10641063 *
  • src/wp-includes/ms-load.php

     
    121121 * Retrieve the closest matching network for a domain and path.
    122122 *
    123123 * @since 3.9.0
    124  * @since 4.4.0 Converted to a wrapper for WP_Network::get_by_path()
     124 *
     125 * @internal In 4.4.0, converted to a wrapper for WP_Network::get_by_path()
    125126 *
    126127 * @param string   $domain   Domain to check.
    127128 * @param string   $path     Path to check.
     
    136137 * Retrieve an object containing information about the requested network.
    137138 *
    138139 * @since 3.9.0
    139  * @since 4.4.0 Converted to leverage WP_Network
    140  * @since 4.6.0 Converted to use get_network()
     140 *
     141 * @internal In 4.4.0, converted to leverage WP_Network
     142 * @internal In 4.6.0, converted to use get_network()
    141143 *
    142144 * @param object|int $network The network's database row or ID.
    143145 * @return WP_Network|false Object containing network information if found, false if not.
     
    155157 * Retrieve a site object by its domain and path.
    156158 *
    157159 * @since 3.9.0
    158  * @since 4.6.0 Converted to use get_sites()
    159160 *
    160161 * @global wpdb $wpdb WordPress database abstraction object.
    161162 *
  • src/wp-includes/ms-functions.php

     
    296296 * $domain is 'blog1.example.com' and $path is '/'.
    297297 *
    298298 * @since MU 2.6.5
    299  * @since 4.6.0 Converted to use get_sites()
    300299 *
    301300 * @global wpdb $wpdb WordPress database abstraction object.
    302301 *
     
    12521251 * that each blogname is unique.
    12531252 *
    12541253 * @since MU
    1255  * @since 4.6.0 Converted to use get_sites()
    12561254 *
    12571255 * @global wpdb $wpdb WordPress database abstraction object.
    12581256 *
     
    22592257 * Update the network-wide site count.
    22602258 *
    22612259 * @since 3.7.0
    2262  * @since 4.6.0 Converted to use get_sites()
    22632260 *
    22642261 * @global wpdb $wpdb WordPress database abstraction object.
    22652262 */
  • src/wp-admin/includes/class-wp-ms-sites-list-table.php

     
    6262         * Prepares the list of sites for display.
    6363         *
    6464         * @since 3.1.0
    65          * @since 4.6.0 Converted to use get_sites()
    6665         *
    6766         * @global string $s
    6867         * @global string $mode
  • src/wp-includes/class-wp-customize-setting.php

     
    468468         * the value of the setting.
    469469         *
    470470         * @since 3.4.0
    471          * @since 4.6.0 Return the result of updating the value.
     471         *
    472472         * @access public
    473473         *
    474474         * @return false|void False if cap check fails or value isn't set or is invalid.