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

git-svn-id: https://develop.svn.wordpress.org/trunk@4726 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-01-13 21:23:41 +00:00
parent 6dde066c14
commit f7a60ab956
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');
?>