| | 1307 | /** |
| | 1308 | * Retrieve the description of the author of the current post. |
| | 1309 | * |
| | 1310 | * @since 1.5 |
| | 1311 | * @uses $authordata The current author's DB object. |
| | 1312 | * @return string The author's description. |
| | 1313 | * @deprecated 2.8 |
| | 1314 | * @deprecated Use the_author_meta('description') |
| | 1315 | */ |
| | 1316 | function get_the_author_description() { |
| | 1317 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'description\')' ); |
| | 1318 | echo the_author_meta('description'); |
| | 1319 | } |
| | 1320 | |
| | 1321 | /** |
| | 1322 | * Display the description of the author of the current post. |
| | 1323 | * |
| | 1324 | * @link http://codex.wordpress.org/Template_Tags/the_author_description |
| | 1325 | * @since 1.0.0 |
| | 1326 | * @deprecated 2.8 |
| | 1327 | * @deprecated Use the_author_meta('description') |
| | 1328 | */ |
| | 1329 | function the_author_description() { |
| | 1330 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'description\')' ); |
| | 1331 | echo the_author_meta('description'); |
| | 1332 | } |
| | 1333 | |
| | 1334 | /** |
| | 1335 | * Retrieve the login name of the author of the current post. |
| | 1336 | * |
| | 1337 | * @since 1.5 |
| | 1338 | * @uses $authordata The current author's DB object. |
| | 1339 | * @return string The author's login name (username). |
| | 1340 | * @deprecated 2.8 |
| | 1341 | * @deprecated Use the_author_meta('user_login') |
| | 1342 | */ |
| | 1343 | function get_the_author_login() { |
| | 1344 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'user_login\')' ); |
| | 1345 | echo the_author_meta('user_login'); |
| | 1346 | } |
| | 1347 | |
| | 1348 | /** |
| | 1349 | * Display the login name of the author of the current post. |
| | 1350 | * |
| | 1351 | * @link http://codex.wordpress.org/Template_Tags/the_author_login |
| | 1352 | * @since 0.71 |
| | 1353 | * @deprecated 2.8 |
| | 1354 | * @deprecated Use the_author_meta('user_login') |
| | 1355 | */ |
| | 1356 | function the_author_login() { |
| | 1357 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'user_login\')' ); |
| | 1358 | echo the_author_meta('user_login'); |
| | 1359 | } |
| | 1360 | |
| | 1361 | /** |
| | 1362 | * Retrieve the first name of the author of the current post. |
| | 1363 | * |
| | 1364 | * @since 1.5 |
| | 1365 | * @uses $authordata The current author's DB object. |
| | 1366 | * @return string The author's first name. |
| | 1367 | * @deprecated 2.8 |
| | 1368 | * @deprecated Use the_author_meta('first_name') |
| | 1369 | */ |
| | 1370 | function get_the_author_firstname() { |
| | 1371 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'first_name\')' ); |
| | 1372 | echo the_author_meta('first_name'); |
| | 1373 | } |
| | 1374 | |
| | 1375 | /** |
| | 1376 | * Display the first name of the author of the current post. |
| | 1377 | * |
| | 1378 | * @link http://codex.wordpress.org/Template_Tags/the_author_firstname |
| | 1379 | * @since 0.71 |
| | 1380 | * @deprecated 2.8 |
| | 1381 | * @deprecated Use the_author_meta('first_name') |
| | 1382 | */ |
| | 1383 | function the_author_firstname() { |
| | 1384 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'first_name\')' ); |
| | 1385 | echo the_author_meta('first_name'); |
| | 1386 | } |
| | 1387 | |
| | 1388 | /** |
| | 1389 | * Retrieve the last name of the author of the current post. |
| | 1390 | * |
| | 1391 | * @since 1.5 |
| | 1392 | * @uses $authordata The current author's DB object. |
| | 1393 | * @return string The author's last name. |
| | 1394 | * @deprecated 2.8 |
| | 1395 | * @deprecated Use the_author_meta('last_name') |
| | 1396 | */ |
| | 1397 | function get_the_author_lastname() { |
| | 1398 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'last_name\')' ); |
| | 1399 | echo the_author_meta('last_name'); |
| | 1400 | } |
| | 1401 | |
| | 1402 | /** |
| | 1403 | * Display the last name of the author of the current post. |
| | 1404 | * |
| | 1405 | * @link http://codex.wordpress.org/Template_Tags/the_author_lastname |
| | 1406 | * @since 0.71 |
| | 1407 | * @deprecated 2.8 |
| | 1408 | * @deprecated Use the_author_meta('last_name') |
| | 1409 | */ |
| | 1410 | function the_author_lastname() { |
| | 1411 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'last_name\')' ); |
| | 1412 | echo the_author_meta('last_name'); |
| | 1413 | } |
| | 1414 | |
| | 1415 | /** |
| | 1416 | * Retrieve the nickname of the author of the current post. |
| | 1417 | * |
| | 1418 | * @since 1.5 |
| | 1419 | * @uses $authordata The current author's DB object. |
| | 1420 | * @return string The author's nickname. |
| | 1421 | * @deprecated 2.8 |
| | 1422 | * @deprecated Use the_author_meta('nickname') |
| | 1423 | */ |
| | 1424 | function get_the_author_nickname() { |
| | 1425 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'nickname\')' ); |
| | 1426 | echo the_author_meta('nickname'); |
| | 1427 | } |
| | 1428 | |
| | 1429 | /** |
| | 1430 | * Display the nickname of the author of the current post. |
| | 1431 | * |
| | 1432 | * @link http://codex.wordpress.org/Template_Tags/the_author_nickname |
| | 1433 | * @since 0.71 |
| | 1434 | * @deprecated 2.8 |
| | 1435 | * @deprecated Use the_author_meta('nickname') |
| | 1436 | */ |
| | 1437 | function the_author_nickname() { |
| | 1438 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'nickname\')' ); |
| | 1439 | echo the_author_meta('nickname'); |
| | 1440 | } |
| | 1441 | |
| | 1442 | /** |
| | 1443 | * Retrieve the email of the author of the current post. |
| | 1444 | * |
| | 1445 | * @since 1.5 |
| | 1446 | * @uses $authordata The current author's DB object. |
| | 1447 | * @return string The author's username. |
| | 1448 | * @deprecated 2.8 |
| | 1449 | * @deprecated Use the_author_meta('user_email') |
| | 1450 | */ |
| | 1451 | function get_the_author_email() { |
| | 1452 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'user_email\')' ); |
| | 1453 | echo the_author_meta('user_email'); |
| | 1454 | } |
| | 1455 | |
| | 1456 | /** |
| | 1457 | * Display the email of the author of the current post. |
| | 1458 | * |
| | 1459 | * @link http://codex.wordpress.org/Template_Tags/the_author_email |
| | 1460 | * @since 0.71 |
| | 1461 | * @deprecated 2.8 |
| | 1462 | * @deprecated Use the_author_meta('user_email') |
| | 1463 | */ |
| | 1464 | function the_author_email() { |
| | 1465 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'user_email\')' ); |
| | 1466 | echo the_author_meta('user_email'); |
| | 1467 | } |
| | 1468 | |
| | 1469 | /** |
| | 1470 | * Retrieve the ICQ number of the author of the current post. |
| | 1471 | * |
| | 1472 | * @since 1.5 |
| | 1473 | * @uses $authordata The current author's DB object. |
| | 1474 | * @return string The author's ICQ number. |
| | 1475 | * @deprecated 2.8 |
| | 1476 | * @deprecated Use the_author_meta('icq') |
| | 1477 | */ |
| | 1478 | function get_the_author_icq() { |
| | 1479 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'icq\')' ); |
| | 1480 | echo the_author_meta('icq'); |
| | 1481 | } |
| | 1482 | |
| | 1483 | /** |
| | 1484 | * Display the ICQ number of the author of the current post. |
| | 1485 | * |
| | 1486 | * @link http://codex.wordpress.org/Template_Tags/the_author_icq |
| | 1487 | * @since 0.71 |
| | 1488 | * @see get_the_author_icq() |
| | 1489 | * @deprecated 2.8 |
| | 1490 | * @deprecated Use the_author_meta('icq') |
| | 1491 | */ |
| | 1492 | function the_author_icq() { |
| | 1493 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'icq\')' ); |
| | 1494 | echo the_author_meta('icq'); |
| | 1495 | } |
| | 1496 | |
| | 1497 | /** |
| | 1498 | * Retrieve the Yahoo! IM name of the author of the current post. |
| | 1499 | * |
| | 1500 | * @since 1.5 |
| | 1501 | * @uses $authordata The current author's DB object. |
| | 1502 | * @return string The author's Yahoo! IM name. |
| | 1503 | * @deprecated 2.8 |
| | 1504 | * @deprecated Use the_author_meta('yim') |
| | 1505 | */ |
| | 1506 | function get_the_author_yim() { |
| | 1507 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'yim\')' ); |
| | 1508 | echo the_author_meta('yim'); |
| | 1509 | } |
| | 1510 | |
| | 1511 | /** |
| | 1512 | * Display the Yahoo! IM name of the author of the current post. |
| | 1513 | * |
| | 1514 | * @link http://codex.wordpress.org/Template_Tags/the_author_yim |
| | 1515 | * @since 0.71 |
| | 1516 | * @deprecated 2.8 |
| | 1517 | * @deprecated Use the_author_meta('yim') |
| | 1518 | */ |
| | 1519 | function the_author_yim() { |
| | 1520 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'yim\')' ); |
| | 1521 | echo the_author_meta('yim'); |
| | 1522 | } |
| | 1523 | |
| | 1524 | /** |
| | 1525 | * Retrieve the MSN address of the author of the current post. |
| | 1526 | * |
| | 1527 | * @since 1.5 |
| | 1528 | * @uses $authordata The current author's DB object. |
| | 1529 | * @return string The author's MSN address. |
| | 1530 | * @deprecated 2.8 |
| | 1531 | * @deprecated Use the_author_meta('msn') |
| | 1532 | */ |
| | 1533 | function get_the_author_msn() { |
| | 1534 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'msn\')' ); |
| | 1535 | echo the_author_meta('msn'); |
| | 1536 | } |
| | 1537 | |
| | 1538 | /** |
| | 1539 | * Display the MSN address of the author of the current post. |
| | 1540 | * |
| | 1541 | * @link http://codex.wordpress.org/Template_Tags/the_author_msn |
| | 1542 | * @since 0.71 |
| | 1543 | * @see get_the_author_msn() |
| | 1544 | * @deprecated 2.8 |
| | 1545 | * @deprecated Use the_author_meta('msn') |
| | 1546 | */ |
| | 1547 | function the_author_msn() { |
| | 1548 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'msn\')' ); |
| | 1549 | echo the_author_meta('msn'); |
| | 1550 | } |
| | 1551 | |
| | 1552 | /** |
| | 1553 | * Retrieve the specified author's preferred display name. |
| | 1554 | * |
| | 1555 | * @since 1.0.0 |
| | 1556 | * @param int $auth_id The ID of the author. |
| | 1557 | * @return string The author's display name. |
| | 1558 | * @deprecated 2.8 |
| | 1559 | * @deprecated Use the_author_meta('display_name') |
| | 1560 | */ |
| | 1561 | function get_author_name( $auth_id ) { |
| | 1562 | _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'display_name\')' ); |
| | 1563 | echo the_author_meta('display_name'); |
| | 1564 | } |
| | 1565 | |