WordPress.org

Make WordPress Core

Ticket #11614: 11614.diff

File 11614.diff, 2.2 KB (added by nacin, 8 years ago)
  • deprecated.php

     
    1515/**
    1616 * The name of the Posts table
    1717 * @global string $tableposts
     18 * @deprecated 1.2.0
    1819 * @deprecated Use $wpdb->posts
    1920 */
    2021$tableposts = $wpdb->posts;
     
    2223/**
    2324 * The name of the Users table
    2425 * @global string $tableusers
     26 * @deprecated 1.2.0
    2527 * @deprecated Use $wpdb->users
    2628 */
    2729$tableusers = $wpdb->users;
     
    2931/**
    3032 * The name of the Categories table
    3133 * @global string $tablecategories
    32  * @deprecated Use $wpdb->categories
     34 * @deprecated 1.2.0
     35 * @deprecated Not used anymore
     36 * @link http://codex.wordpress.org/Database_Description
    3337 */
    34 $tablecategories = $wpdb->categories;
     38$tablecategories = 'categories_is_gone';
    3539
    3640/**
    3741 * The name of the post to category table
    3842 * @global string $tablepost2cat
    39  * @deprecated Use $wpdb->post2cat;
     43 * @deprecated 1.2.0
     44 * @deprecated Not used anymore
     45 * @link http://codex.wordpress.org/Database_Description
    4046 */
    41 $tablepost2cat = $wpdb->post2cat;
     47$tablepost2cat = 'post2cat_is_gone';
    4248
    4349/**
    4450 * The name of the comments table
    4551 * @global string $tablecomments
    46  * @deprecated Use $wpdb->comments;
     52 * @deprecated 1.2.0
     53 * @deprecated Use $wpdb->comments
    4754 */
    4855$tablecomments = $wpdb->comments;
    4956
    5057/**
    5158 * The name of the links table
    5259 * @global string $tablelinks
    53  * @deprecated Use $wpdb->links;
     60 * @deprecated 1.2.0
     61 * @deprecated Use $wpdb->links
    5462 */
    5563$tablelinks = $wpdb->links;
    5664
    5765/**
    5866 * @global string $tablelinkcategories
    59  * @deprecated Not used anymore;
     67 * @deprecated 1.2.0
     68 * @deprecated Not used anymore
     69 * @link http://codex.wordpress.org/Database_Description
    6070 */
    6171$tablelinkcategories = 'linkcategories_is_gone';
    6272
    6373/**
    6474 * The name of the options table
    6575 * @global string $tableoptions
    66  * @deprecated Use $wpdb->options;
     76 * @deprecated 1.2.0
     77 * @deprecated Use $wpdb->options
    6778 */
    6879$tableoptions = $wpdb->options;
    6980
    7081/**
    7182 * The name of the postmeta table
    7283 * @global string $tablepostmeta
    73  * @deprecated Use $wpdb->postmeta;
     84 * @deprecated 1.2.0
     85 * @deprecated Use $wpdb->postmeta
    7486 */
    7587$tablepostmeta = $wpdb->postmeta;