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:
parent
ddf32533e6
commit
c7e3649d78
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
<?php
|
||||
// Deprecated. Use registration.php.
|
||||
require_once('./registration.php');
|
||||
?>
|
|
@ -0,0 +1,4 @@
|
|||
<?php
|
||||
// Deprecated. Use rss.php instead.
|
||||
equire_once (ABSPATH . WPINC . '/registration.php');
|
||||
?>
|
Loading…
Reference in New Issue