mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
remove contextual compatiblity, and require functions-compat instead
git-svn-id: https://develop.svn.wordpress.org/trunk@1777 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,17 +1,13 @@
|
||||
<?php
|
||||
|
||||
require_once(dirname(__FILE__).'/functions-compat.php');
|
||||
|
||||
if (!function_exists('_')) {
|
||||
function _($string) {
|
||||
return $string;
|
||||
}
|
||||
}
|
||||
|
||||
if (!function_exists('floatval')) {
|
||||
function floatval($string) {
|
||||
return ((float) $string);
|
||||
}
|
||||
}
|
||||
|
||||
function get_profile($field, $user = false) {
|
||||
global $wpdb;
|
||||
if (!$user)
|
||||
|
||||
Reference in New Issue
Block a user