Add some back compat files and vars. Use is deprecated.

git-svn-id: http://svn.automattic.com/wordpress/trunk@4726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-01-13 21:23:41 +00:00
parent ddf32533e6
commit c7e3649d78
3 changed files with 23 additions and 0 deletions

View File

@ -1,4 +1,19 @@
<?php
/*
* Deprecated global variables.
*/
$tableposts = $wpdb->posts;
$tableusers = $wpdb->users;
$tablecategories = $wpdb->categories;
$tablepost2cat = $wpdb->post2cat;
$tablecomments = $wpdb->comments;
$tablelinks = $wpdb->links;
$tablelinkcategories = 'linkcategories_is_gone';
$tableoptions = $wpdb->options;
$tablepostmeta = $wpdb->postmeta;
/*
* Deprecated functios come here to die.
*/

View File

@ -0,0 +1,4 @@
<?php
// Deprecated. Use registration.php.
require_once('./registration.php');
?>

View File

@ -0,0 +1,4 @@
<?php
// Deprecated. Use rss.php instead.
equire_once (ABSPATH . WPINC . '/registration.php');
?>