Ticket #11614: 11614.diff

File 11614.diff, 2.2 KB (added by nacin, 3 years ago)
Line 
1Index: deprecated.php
2===================================================================
3--- deprecated.php      (revision 12541)
4+++ deprecated.php      (working copy)
5@@ -15,6 +15,7 @@
6 /**
7  * The name of the Posts table
8  * @global string $tableposts
9+ * @deprecated 1.2.0
10  * @deprecated Use $wpdb->posts
11  */
12 $tableposts = $wpdb->posts;
13@@ -22,6 +23,7 @@
14 /**
15  * The name of the Users table
16  * @global string $tableusers
17+ * @deprecated 1.2.0
18  * @deprecated Use $wpdb->users
19  */
20 $tableusers = $wpdb->users;
21@@ -29,48 +31,58 @@
22 /**
23  * The name of the Categories table
24  * @global string $tablecategories
25- * @deprecated Use $wpdb->categories
26+ * @deprecated 1.2.0
27+ * @deprecated Not used anymore
28+ * @link http://codex.wordpress.org/Database_Description
29  */
30-$tablecategories = $wpdb->categories;
31+$tablecategories = 'categories_is_gone';
32 
33 /**
34  * The name of the post to category table
35  * @global string $tablepost2cat
36- * @deprecated Use $wpdb->post2cat;
37+ * @deprecated 1.2.0
38+ * @deprecated Not used anymore
39+ * @link http://codex.wordpress.org/Database_Description
40  */
41-$tablepost2cat = $wpdb->post2cat;
42+$tablepost2cat = 'post2cat_is_gone';
43 
44 /**
45  * The name of the comments table
46  * @global string $tablecomments
47- * @deprecated Use $wpdb->comments;
48+ * @deprecated 1.2.0
49+ * @deprecated Use $wpdb->comments
50  */
51 $tablecomments = $wpdb->comments;
52 
53 /**
54  * The name of the links table
55  * @global string $tablelinks
56- * @deprecated Use $wpdb->links;
57+ * @deprecated 1.2.0
58+ * @deprecated Use $wpdb->links
59  */
60 $tablelinks = $wpdb->links;
61 
62 /**
63  * @global string $tablelinkcategories
64- * @deprecated Not used anymore;
65+ * @deprecated 1.2.0
66+ * @deprecated Not used anymore
67+ * @link http://codex.wordpress.org/Database_Description
68  */
69 $tablelinkcategories = 'linkcategories_is_gone';
70 
71 /**
72  * The name of the options table
73  * @global string $tableoptions
74- * @deprecated Use $wpdb->options;
75+ * @deprecated 1.2.0
76+ * @deprecated Use $wpdb->options
77  */
78 $tableoptions = $wpdb->options;
79 
80 /**
81  * The name of the postmeta table
82  * @global string $tablepostmeta
83- * @deprecated Use $wpdb->postmeta;
84+ * @deprecated 1.2.0
85+ * @deprecated Use $wpdb->postmeta
86  */
87 $tablepostmeta = $wpdb->postmeta;