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:
parent
6dde066c14
commit
f7a60ab956
@ -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.
|
||||
*/
|
||||
|
4
wp-includes/registration-functions.php
Normal file
4
wp-includes/registration-functions.php
Normal file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
// Deprecated. Use registration.php.
|
||||
require_once('./registration.php');
|
||||
?>
|
4
wp-includes/rss-functions.php
Normal file
4
wp-includes/rss-functions.php
Normal file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
// Deprecated. Use rss.php instead.
|
||||
equire_once (ABSPATH . WPINC . '/registration.php');
|
||||
?>
|
Loading…
Reference in New Issue
Block a user