Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/wp-inclu...
File: deprecated.php
$output .= '<img src="' . $row->link_image . '"' . $alt . $title . ' />';
[1000] Fix | Delete
else // If it's a relative path.
[1001] Fix | Delete
$output .= '<img src="' . get_option('siteurl') . $row->link_image . '"' . $alt . $title . ' />';
[1002] Fix | Delete
} else {
[1003] Fix | Delete
$output .= $name;
[1004] Fix | Delete
}
[1005] Fix | Delete
[1006] Fix | Delete
$output .= '</a>';
[1007] Fix | Delete
[1008] Fix | Delete
if ( $show_updated && $row->recently_updated )
[1009] Fix | Delete
$output .= get_option('links_recently_updated_append');
[1010] Fix | Delete
[1011] Fix | Delete
if ( $show_description && '' != $desc )
[1012] Fix | Delete
$output .= $between . $desc;
[1013] Fix | Delete
[1014] Fix | Delete
if ($show_rating) {
[1015] Fix | Delete
$output .= $between . get_linkrating($row);
[1016] Fix | Delete
}
[1017] Fix | Delete
[1018] Fix | Delete
$output .= "$after\n";
[1019] Fix | Delete
} // End while.
[1020] Fix | Delete
[1021] Fix | Delete
if ( !$display )
[1022] Fix | Delete
return $output;
[1023] Fix | Delete
echo $output;
[1024] Fix | Delete
}
[1025] Fix | Delete
[1026] Fix | Delete
/**
[1027] Fix | Delete
* Output entire list of links by category.
[1028] Fix | Delete
*
[1029] Fix | Delete
* Output a list of all links, listed by category, using the settings in
[1030] Fix | Delete
* $wpdb->linkcategories and output it as a nested HTML unordered list.
[1031] Fix | Delete
*
[1032] Fix | Delete
* @since 1.0.1
[1033] Fix | Delete
* @deprecated 2.1.0 Use wp_list_bookmarks()
[1034] Fix | Delete
* @see wp_list_bookmarks()
[1035] Fix | Delete
*
[1036] Fix | Delete
* @param string $order Sort link categories by 'name' or 'id'
[1037] Fix | Delete
*/
[1038] Fix | Delete
function get_links_list($order = 'name') {
[1039] Fix | Delete
_deprecated_function( __FUNCTION__, '2.1.0', 'wp_list_bookmarks()' );
[1040] Fix | Delete
[1041] Fix | Delete
$order = strtolower($order);
[1042] Fix | Delete
[1043] Fix | Delete
// Handle link category sorting.
[1044] Fix | Delete
$direction = 'ASC';
[1045] Fix | Delete
if ( str_starts_with( $order, '_' ) ) {
[1046] Fix | Delete
$direction = 'DESC';
[1047] Fix | Delete
$order = substr($order,1);
[1048] Fix | Delete
}
[1049] Fix | Delete
[1050] Fix | Delete
if ( !isset($direction) )
[1051] Fix | Delete
$direction = '';
[1052] Fix | Delete
[1053] Fix | Delete
$cats = get_categories(array('type' => 'link', 'orderby' => $order, 'order' => $direction, 'hierarchical' => 0));
[1054] Fix | Delete
[1055] Fix | Delete
// Display each category.
[1056] Fix | Delete
if ( $cats ) {
[1057] Fix | Delete
foreach ( (array) $cats as $cat ) {
[1058] Fix | Delete
// Handle each category.
[1059] Fix | Delete
[1060] Fix | Delete
// Display the category name.
[1061] Fix | Delete
echo ' <li id="linkcat-' . $cat->term_id . '" class="linkcat"><h2>' . apply_filters('link_category', $cat->name ) . "</h2>\n\t<ul>\n";
[1062] Fix | Delete
// Call get_links() with all the appropriate params.
[1063] Fix | Delete
get_links($cat->term_id, '<li>', "</li>", "\n", true, 'name', false);
[1064] Fix | Delete
[1065] Fix | Delete
// Close the last category.
[1066] Fix | Delete
echo "\n\t</ul>\n</li>\n";
[1067] Fix | Delete
}
[1068] Fix | Delete
}
[1069] Fix | Delete
}
[1070] Fix | Delete
[1071] Fix | Delete
/**
[1072] Fix | Delete
* Show the link to the links popup and the number of links.
[1073] Fix | Delete
*
[1074] Fix | Delete
* @since 0.71
[1075] Fix | Delete
* @deprecated 2.1.0
[1076] Fix | Delete
*
[1077] Fix | Delete
* @param string $text the text of the link
[1078] Fix | Delete
* @param int $width the width of the popup window
[1079] Fix | Delete
* @param int $height the height of the popup window
[1080] Fix | Delete
* @param string $file the page to open in the popup window
[1081] Fix | Delete
* @param bool $count the number of links in the db
[1082] Fix | Delete
*/
[1083] Fix | Delete
function links_popup_script($text = 'Links', $width=400, $height=400, $file='links.all.php', $count = true) {
[1084] Fix | Delete
_deprecated_function( __FUNCTION__, '2.1.0' );
[1085] Fix | Delete
}
[1086] Fix | Delete
[1087] Fix | Delete
/**
[1088] Fix | Delete
* Legacy function that retrieved the value of a link's link_rating field.
[1089] Fix | Delete
*
[1090] Fix | Delete
* @since 1.0.1
[1091] Fix | Delete
* @deprecated 2.1.0 Use sanitize_bookmark_field()
[1092] Fix | Delete
* @see sanitize_bookmark_field()
[1093] Fix | Delete
*
[1094] Fix | Delete
* @param object $link Link object.
[1095] Fix | Delete
* @return mixed Value of the 'link_rating' field, false otherwise.
[1096] Fix | Delete
*/
[1097] Fix | Delete
function get_linkrating( $link ) {
[1098] Fix | Delete
_deprecated_function( __FUNCTION__, '2.1.0', 'sanitize_bookmark_field()' );
[1099] Fix | Delete
return sanitize_bookmark_field('link_rating', $link->link_rating, $link->link_id, 'display');
[1100] Fix | Delete
}
[1101] Fix | Delete
[1102] Fix | Delete
/**
[1103] Fix | Delete
* Gets the name of category by ID.
[1104] Fix | Delete
*
[1105] Fix | Delete
* @since 0.71
[1106] Fix | Delete
* @deprecated 2.1.0 Use get_category()
[1107] Fix | Delete
* @see get_category()
[1108] Fix | Delete
*
[1109] Fix | Delete
* @param int $id The category to get. If no category supplied uses 0
[1110] Fix | Delete
* @return string
[1111] Fix | Delete
*/
[1112] Fix | Delete
function get_linkcatname($id = 0) {
[1113] Fix | Delete
_deprecated_function( __FUNCTION__, '2.1.0', 'get_category()' );
[1114] Fix | Delete
[1115] Fix | Delete
$id = (int) $id;
[1116] Fix | Delete
[1117] Fix | Delete
if ( empty($id) )
[1118] Fix | Delete
return '';
[1119] Fix | Delete
[1120] Fix | Delete
$cats = wp_get_link_cats($id);
[1121] Fix | Delete
[1122] Fix | Delete
if ( empty($cats) || ! is_array($cats) )
[1123] Fix | Delete
return '';
[1124] Fix | Delete
[1125] Fix | Delete
$cat_id = (int) $cats[0]; // Take the first cat.
[1126] Fix | Delete
[1127] Fix | Delete
$cat = get_category($cat_id);
[1128] Fix | Delete
return $cat->name;
[1129] Fix | Delete
}
[1130] Fix | Delete
[1131] Fix | Delete
/**
[1132] Fix | Delete
* Print RSS comment feed link.
[1133] Fix | Delete
*
[1134] Fix | Delete
* @since 1.0.1
[1135] Fix | Delete
* @deprecated 2.5.0 Use post_comments_feed_link()
[1136] Fix | Delete
* @see post_comments_feed_link()
[1137] Fix | Delete
*
[1138] Fix | Delete
* @param string $link_text
[1139] Fix | Delete
*/
[1140] Fix | Delete
function comments_rss_link($link_text = 'Comments RSS') {
[1141] Fix | Delete
_deprecated_function( __FUNCTION__, '2.5.0', 'post_comments_feed_link()' );
[1142] Fix | Delete
post_comments_feed_link($link_text);
[1143] Fix | Delete
}
[1144] Fix | Delete
[1145] Fix | Delete
/**
[1146] Fix | Delete
* Print/Return link to category RSS2 feed.
[1147] Fix | Delete
*
[1148] Fix | Delete
* @since 1.2.0
[1149] Fix | Delete
* @deprecated 2.5.0 Use get_category_feed_link()
[1150] Fix | Delete
* @see get_category_feed_link()
[1151] Fix | Delete
*
[1152] Fix | Delete
* @param bool $display
[1153] Fix | Delete
* @param int $cat_id
[1154] Fix | Delete
* @return string
[1155] Fix | Delete
*/
[1156] Fix | Delete
function get_category_rss_link($display = false, $cat_id = 1) {
[1157] Fix | Delete
_deprecated_function( __FUNCTION__, '2.5.0', 'get_category_feed_link()' );
[1158] Fix | Delete
[1159] Fix | Delete
$link = get_category_feed_link($cat_id, 'rss2');
[1160] Fix | Delete
[1161] Fix | Delete
if ( $display )
[1162] Fix | Delete
echo $link;
[1163] Fix | Delete
return $link;
[1164] Fix | Delete
}
[1165] Fix | Delete
[1166] Fix | Delete
/**
[1167] Fix | Delete
* Print/Return link to author RSS feed.
[1168] Fix | Delete
*
[1169] Fix | Delete
* @since 1.2.0
[1170] Fix | Delete
* @deprecated 2.5.0 Use get_author_feed_link()
[1171] Fix | Delete
* @see get_author_feed_link()
[1172] Fix | Delete
*
[1173] Fix | Delete
* @param bool $display
[1174] Fix | Delete
* @param int $author_id
[1175] Fix | Delete
* @return string
[1176] Fix | Delete
*/
[1177] Fix | Delete
function get_author_rss_link($display = false, $author_id = 1) {
[1178] Fix | Delete
_deprecated_function( __FUNCTION__, '2.5.0', 'get_author_feed_link()' );
[1179] Fix | Delete
[1180] Fix | Delete
$link = get_author_feed_link($author_id);
[1181] Fix | Delete
if ( $display )
[1182] Fix | Delete
echo $link;
[1183] Fix | Delete
return $link;
[1184] Fix | Delete
}
[1185] Fix | Delete
[1186] Fix | Delete
/**
[1187] Fix | Delete
* Return link to the post RSS feed.
[1188] Fix | Delete
*
[1189] Fix | Delete
* @since 1.5.0
[1190] Fix | Delete
* @deprecated 2.2.0 Use get_post_comments_feed_link()
[1191] Fix | Delete
* @see get_post_comments_feed_link()
[1192] Fix | Delete
*
[1193] Fix | Delete
* @return string
[1194] Fix | Delete
*/
[1195] Fix | Delete
function comments_rss() {
[1196] Fix | Delete
_deprecated_function( __FUNCTION__, '2.2.0', 'get_post_comments_feed_link()' );
[1197] Fix | Delete
return esc_url( get_post_comments_feed_link() );
[1198] Fix | Delete
}
[1199] Fix | Delete
[1200] Fix | Delete
/**
[1201] Fix | Delete
* An alias of wp_create_user().
[1202] Fix | Delete
*
[1203] Fix | Delete
* @since 2.0.0
[1204] Fix | Delete
* @deprecated 2.0.0 Use wp_create_user()
[1205] Fix | Delete
* @see wp_create_user()
[1206] Fix | Delete
*
[1207] Fix | Delete
* @param string $username The user's username.
[1208] Fix | Delete
* @param string $password The user's password.
[1209] Fix | Delete
* @param string $email The user's email.
[1210] Fix | Delete
* @return int The new user's ID.
[1211] Fix | Delete
*/
[1212] Fix | Delete
function create_user($username, $password, $email) {
[1213] Fix | Delete
_deprecated_function( __FUNCTION__, '2.0.0', 'wp_create_user()' );
[1214] Fix | Delete
return wp_create_user($username, $password, $email);
[1215] Fix | Delete
}
[1216] Fix | Delete
[1217] Fix | Delete
/**
[1218] Fix | Delete
* Unused function.
[1219] Fix | Delete
*
[1220] Fix | Delete
* @deprecated 2.5.0
[1221] Fix | Delete
*/
[1222] Fix | Delete
function gzip_compression() {
[1223] Fix | Delete
_deprecated_function( __FUNCTION__, '2.5.0' );
[1224] Fix | Delete
return false;
[1225] Fix | Delete
}
[1226] Fix | Delete
[1227] Fix | Delete
/**
[1228] Fix | Delete
* Retrieve an array of comment data about comment $comment_id.
[1229] Fix | Delete
*
[1230] Fix | Delete
* @since 0.71
[1231] Fix | Delete
* @deprecated 2.7.0 Use get_comment()
[1232] Fix | Delete
* @see get_comment()
[1233] Fix | Delete
*
[1234] Fix | Delete
* @param int $comment_id The ID of the comment
[1235] Fix | Delete
* @param int $no_cache Whether to use the cache (cast to bool)
[1236] Fix | Delete
* @param bool $include_unapproved Whether to include unapproved comments
[1237] Fix | Delete
* @return array The comment data
[1238] Fix | Delete
*/
[1239] Fix | Delete
function get_commentdata( $comment_id, $no_cache = 0, $include_unapproved = false ) {
[1240] Fix | Delete
_deprecated_function( __FUNCTION__, '2.7.0', 'get_comment()' );
[1241] Fix | Delete
return get_comment($comment_id, ARRAY_A);
[1242] Fix | Delete
}
[1243] Fix | Delete
[1244] Fix | Delete
/**
[1245] Fix | Delete
* Retrieve the category name by the category ID.
[1246] Fix | Delete
*
[1247] Fix | Delete
* @since 0.71
[1248] Fix | Delete
* @deprecated 2.8.0 Use get_cat_name()
[1249] Fix | Delete
* @see get_cat_name()
[1250] Fix | Delete
*
[1251] Fix | Delete
* @param int $cat_id Category ID
[1252] Fix | Delete
* @return string category name
[1253] Fix | Delete
*/
[1254] Fix | Delete
function get_catname( $cat_id ) {
[1255] Fix | Delete
_deprecated_function( __FUNCTION__, '2.8.0', 'get_cat_name()' );
[1256] Fix | Delete
return get_cat_name( $cat_id );
[1257] Fix | Delete
}
[1258] Fix | Delete
[1259] Fix | Delete
/**
[1260] Fix | Delete
* Retrieve category children list separated before and after the term IDs.
[1261] Fix | Delete
*
[1262] Fix | Delete
* @since 1.2.0
[1263] Fix | Delete
* @deprecated 2.8.0 Use get_term_children()
[1264] Fix | Delete
* @see get_term_children()
[1265] Fix | Delete
*
[1266] Fix | Delete
* @param int $id Category ID to retrieve children.
[1267] Fix | Delete
* @param string $before Optional. Prepend before category term ID. Default '/'.
[1268] Fix | Delete
* @param string $after Optional. Append after category term ID. Default empty string.
[1269] Fix | Delete
* @param array $visited Optional. Category Term IDs that have already been added.
[1270] Fix | Delete
* Default empty array.
[1271] Fix | Delete
* @return string
[1272] Fix | Delete
*/
[1273] Fix | Delete
function get_category_children( $id, $before = '/', $after = '', $visited = array() ) {
[1274] Fix | Delete
_deprecated_function( __FUNCTION__, '2.8.0', 'get_term_children()' );
[1275] Fix | Delete
if ( 0 == $id )
[1276] Fix | Delete
return '';
[1277] Fix | Delete
[1278] Fix | Delete
$chain = '';
[1279] Fix | Delete
/** TODO: Consult hierarchy */
[1280] Fix | Delete
$cat_ids = get_all_category_ids();
[1281] Fix | Delete
foreach ( (array) $cat_ids as $cat_id ) {
[1282] Fix | Delete
if ( $cat_id == $id )
[1283] Fix | Delete
continue;
[1284] Fix | Delete
[1285] Fix | Delete
$category = get_category( $cat_id );
[1286] Fix | Delete
if ( is_wp_error( $category ) )
[1287] Fix | Delete
return $category;
[1288] Fix | Delete
if ( $category->parent == $id && !in_array( $category->term_id, $visited ) ) {
[1289] Fix | Delete
$visited[] = $category->term_id;
[1290] Fix | Delete
$chain .= $before.$category->term_id.$after;
[1291] Fix | Delete
$chain .= get_category_children( $category->term_id, $before, $after );
[1292] Fix | Delete
}
[1293] Fix | Delete
}
[1294] Fix | Delete
return $chain;
[1295] Fix | Delete
}
[1296] Fix | Delete
[1297] Fix | Delete
/**
[1298] Fix | Delete
* Retrieves all category IDs.
[1299] Fix | Delete
*
[1300] Fix | Delete
* @since 2.0.0
[1301] Fix | Delete
* @deprecated 4.0.0 Use get_terms()
[1302] Fix | Delete
* @see get_terms()
[1303] Fix | Delete
*
[1304] Fix | Delete
* @link https://developer.wordpress.org/reference/functions/get_all_category_ids/
[1305] Fix | Delete
*
[1306] Fix | Delete
* @return int[] List of all of the category IDs.
[1307] Fix | Delete
*/
[1308] Fix | Delete
function get_all_category_ids() {
[1309] Fix | Delete
_deprecated_function( __FUNCTION__, '4.0.0', 'get_terms()' );
[1310] Fix | Delete
[1311] Fix | Delete
$cat_ids = get_terms(
[1312] Fix | Delete
array(
[1313] Fix | Delete
'taxonomy' => 'category',
[1314] Fix | Delete
'fields' => 'ids',
[1315] Fix | Delete
'get' => 'all',
[1316] Fix | Delete
)
[1317] Fix | Delete
);
[1318] Fix | Delete
[1319] Fix | Delete
return $cat_ids;
[1320] Fix | Delete
}
[1321] Fix | Delete
[1322] Fix | Delete
/**
[1323] Fix | Delete
* Retrieve the description of the author of the current post.
[1324] Fix | Delete
*
[1325] Fix | Delete
* @since 1.5.0
[1326] Fix | Delete
* @deprecated 2.8.0 Use get_the_author_meta()
[1327] Fix | Delete
* @see get_the_author_meta()
[1328] Fix | Delete
*
[1329] Fix | Delete
* @return string The author's description.
[1330] Fix | Delete
*/
[1331] Fix | Delete
function get_the_author_description() {
[1332] Fix | Delete
_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'description\')' );
[1333] Fix | Delete
return get_the_author_meta('description');
[1334] Fix | Delete
}
[1335] Fix | Delete
[1336] Fix | Delete
/**
[1337] Fix | Delete
* Display the description of the author of the current post.
[1338] Fix | Delete
*
[1339] Fix | Delete
* @since 1.0.0
[1340] Fix | Delete
* @deprecated 2.8.0 Use the_author_meta()
[1341] Fix | Delete
* @see the_author_meta()
[1342] Fix | Delete
*/
[1343] Fix | Delete
function the_author_description() {
[1344] Fix | Delete
_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta(\'description\')' );
[1345] Fix | Delete
the_author_meta('description');
[1346] Fix | Delete
}
[1347] Fix | Delete
[1348] Fix | Delete
/**
[1349] Fix | Delete
* Retrieve the login name of the author of the current post.
[1350] Fix | Delete
*
[1351] Fix | Delete
* @since 1.5.0
[1352] Fix | Delete
* @deprecated 2.8.0 Use get_the_author_meta()
[1353] Fix | Delete
* @see get_the_author_meta()
[1354] Fix | Delete
*
[1355] Fix | Delete
* @return string The author's login name (username).
[1356] Fix | Delete
*/
[1357] Fix | Delete
function get_the_author_login() {
[1358] Fix | Delete
_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'login\')' );
[1359] Fix | Delete
return get_the_author_meta('login');
[1360] Fix | Delete
}
[1361] Fix | Delete
[1362] Fix | Delete
/**
[1363] Fix | Delete
* Display the login name of the author of the current post.
[1364] Fix | Delete
*
[1365] Fix | Delete
* @since 0.71
[1366] Fix | Delete
* @deprecated 2.8.0 Use the_author_meta()
[1367] Fix | Delete
* @see the_author_meta()
[1368] Fix | Delete
*/
[1369] Fix | Delete
function the_author_login() {
[1370] Fix | Delete
_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta(\'login\')' );
[1371] Fix | Delete
the_author_meta('login');
[1372] Fix | Delete
}
[1373] Fix | Delete
[1374] Fix | Delete
/**
[1375] Fix | Delete
* Retrieve the first name of the author of the current post.
[1376] Fix | Delete
*
[1377] Fix | Delete
* @since 1.5.0
[1378] Fix | Delete
* @deprecated 2.8.0 Use get_the_author_meta()
[1379] Fix | Delete
* @see get_the_author_meta()
[1380] Fix | Delete
*
[1381] Fix | Delete
* @return string The author's first name.
[1382] Fix | Delete
*/
[1383] Fix | Delete
function get_the_author_firstname() {
[1384] Fix | Delete
_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'first_name\')' );
[1385] Fix | Delete
return get_the_author_meta('first_name');
[1386] Fix | Delete
}
[1387] Fix | Delete
[1388] Fix | Delete
/**
[1389] Fix | Delete
* Display the first name of the author of the current post.
[1390] Fix | Delete
*
[1391] Fix | Delete
* @since 0.71
[1392] Fix | Delete
* @deprecated 2.8.0 Use the_author_meta()
[1393] Fix | Delete
* @see the_author_meta()
[1394] Fix | Delete
*/
[1395] Fix | Delete
function the_author_firstname() {
[1396] Fix | Delete
_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta(\'first_name\')' );
[1397] Fix | Delete
the_author_meta('first_name');
[1398] Fix | Delete
}
[1399] Fix | Delete
[1400] Fix | Delete
/**
[1401] Fix | Delete
* Retrieve the last name of the author of the current post.
[1402] Fix | Delete
*
[1403] Fix | Delete
* @since 1.5.0
[1404] Fix | Delete
* @deprecated 2.8.0 Use get_the_author_meta()
[1405] Fix | Delete
* @see get_the_author_meta()
[1406] Fix | Delete
*
[1407] Fix | Delete
* @return string The author's last name.
[1408] Fix | Delete
*/
[1409] Fix | Delete
function get_the_author_lastname() {
[1410] Fix | Delete
_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'last_name\')' );
[1411] Fix | Delete
return get_the_author_meta('last_name');
[1412] Fix | Delete
}
[1413] Fix | Delete
[1414] Fix | Delete
/**
[1415] Fix | Delete
* Display the last name of the author of the current post.
[1416] Fix | Delete
*
[1417] Fix | Delete
* @since 0.71
[1418] Fix | Delete
* @deprecated 2.8.0 Use the_author_meta()
[1419] Fix | Delete
* @see the_author_meta()
[1420] Fix | Delete
*/
[1421] Fix | Delete
function the_author_lastname() {
[1422] Fix | Delete
_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta(\'last_name\')' );
[1423] Fix | Delete
the_author_meta('last_name');
[1424] Fix | Delete
}
[1425] Fix | Delete
[1426] Fix | Delete
/**
[1427] Fix | Delete
* Retrieve the nickname of the author of the current post.
[1428] Fix | Delete
*
[1429] Fix | Delete
* @since 1.5.0
[1430] Fix | Delete
* @deprecated 2.8.0 Use get_the_author_meta()
[1431] Fix | Delete
* @see get_the_author_meta()
[1432] Fix | Delete
*
[1433] Fix | Delete
* @return string The author's nickname.
[1434] Fix | Delete
*/
[1435] Fix | Delete
function get_the_author_nickname() {
[1436] Fix | Delete
_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'nickname\')' );
[1437] Fix | Delete
return get_the_author_meta('nickname');
[1438] Fix | Delete
}
[1439] Fix | Delete
[1440] Fix | Delete
/**
[1441] Fix | Delete
* Display the nickname of the author of the current post.
[1442] Fix | Delete
*
[1443] Fix | Delete
* @since 0.71
[1444] Fix | Delete
* @deprecated 2.8.0 Use the_author_meta()
[1445] Fix | Delete
* @see the_author_meta()
[1446] Fix | Delete
*/
[1447] Fix | Delete
function the_author_nickname() {
[1448] Fix | Delete
_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta(\'nickname\')' );
[1449] Fix | Delete
the_author_meta('nickname');
[1450] Fix | Delete
}
[1451] Fix | Delete
[1452] Fix | Delete
/**
[1453] Fix | Delete
* Retrieve the email of the author of the current post.
[1454] Fix | Delete
*
[1455] Fix | Delete
* @since 1.5.0
[1456] Fix | Delete
* @deprecated 2.8.0 Use get_the_author_meta()
[1457] Fix | Delete
* @see get_the_author_meta()
[1458] Fix | Delete
*
[1459] Fix | Delete
* @return string The author's username.
[1460] Fix | Delete
*/
[1461] Fix | Delete
function get_the_author_email() {
[1462] Fix | Delete
_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'email\')' );
[1463] Fix | Delete
return get_the_author_meta('email');
[1464] Fix | Delete
}
[1465] Fix | Delete
[1466] Fix | Delete
/**
[1467] Fix | Delete
* Display the email of the author of the current post.
[1468] Fix | Delete
*
[1469] Fix | Delete
* @since 0.71
[1470] Fix | Delete
* @deprecated 2.8.0 Use the_author_meta()
[1471] Fix | Delete
* @see the_author_meta()
[1472] Fix | Delete
*/
[1473] Fix | Delete
function the_author_email() {
[1474] Fix | Delete
_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta(\'email\')' );
[1475] Fix | Delete
the_author_meta('email');
[1476] Fix | Delete
}
[1477] Fix | Delete
[1478] Fix | Delete
/**
[1479] Fix | Delete
* Retrieve the ICQ number of the author of the current post.
[1480] Fix | Delete
*
[1481] Fix | Delete
* @since 1.5.0
[1482] Fix | Delete
* @deprecated 2.8.0 Use get_the_author_meta()
[1483] Fix | Delete
* @see get_the_author_meta()
[1484] Fix | Delete
*
[1485] Fix | Delete
* @return string The author's ICQ number.
[1486] Fix | Delete
*/
[1487] Fix | Delete
function get_the_author_icq() {
[1488] Fix | Delete
_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'icq\')' );
[1489] Fix | Delete
return get_the_author_meta('icq');
[1490] Fix | Delete
}
[1491] Fix | Delete
[1492] Fix | Delete
/**
[1493] Fix | Delete
* Display the ICQ number of the author of the current post.
[1494] Fix | Delete
*
[1495] Fix | Delete
* @since 0.71
[1496] Fix | Delete
* @deprecated 2.8.0 Use the_author_meta()
[1497] Fix | Delete
* @see the_author_meta()
[1498] Fix | Delete
*/
[1499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function