mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 23:57:41 +02:00
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
|
<?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.
|
* 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