WordPress.org

Make WordPress Core

Ticket #11614: 11614-scalpel.diff

File 11614-scalpel.diff, 1.8 KB (added by nacin, 4 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; 
    2830 
    2931/** 
    30  * The name of the Categories table 
    31  * @global string $tablecategories 
    32  * @deprecated Use $wpdb->categories 
    33  */ 
    34 $tablecategories = $wpdb->categories; 
    35  
    36 /** 
    37  * The name of the post to category table 
    38  * @global string $tablepost2cat 
    39  * @deprecated Use $wpdb->post2cat; 
    40  */ 
    41 $tablepost2cat = $wpdb->post2cat; 
    42  
    43 /** 
    4432 * The name of the comments table 
    4533 * @global string $tablecomments 
    46  * @deprecated Use $wpdb->comments; 
     34 * @deprecated 1.2.0 
     35 * @deprecated Use $wpdb->comments 
    4736 */ 
    4837$tablecomments = $wpdb->comments; 
    4938 
    5039/** 
    5140 * The name of the links table 
    5241 * @global string $tablelinks 
    53  * @deprecated Use $wpdb->links; 
     42 * @deprecated 1.2.0 
     43 * @deprecated Use $wpdb->links 
    5444 */ 
    5545$tablelinks = $wpdb->links; 
    5646 
    5747/** 
    58  * @global string $tablelinkcategories 
    59  * @deprecated Not used anymore; 
    60  */ 
    61 $tablelinkcategories = 'linkcategories_is_gone'; 
    62  
    63 /** 
    6448 * The name of the options table 
    6549 * @global string $tableoptions 
    66  * @deprecated Use $wpdb->options; 
     50 * @deprecated 1.2.0 
     51 * @deprecated Use $wpdb->options 
    6752 */ 
    6853$tableoptions = $wpdb->options; 
    6954 
    7055/** 
    7156 * The name of the postmeta table 
    7257 * @global string $tablepostmeta 
    73  * @deprecated Use $wpdb->postmeta; 
     58 * @deprecated 1.2.0 
     59 * @deprecated Use $wpdb->postmeta 
    7460 */ 
    7561$tablepostmeta = $wpdb->postmeta;