Changeset 8950
- Timestamp:
- 09/22/2008 03:52:41 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/widgets.php
r8945 r8950 378 378 * @see wp_unregister_widget_control() 379 379 * 380 * @param int $id Widget ID 380 * @param int $id Widget ID. 381 381 */ 382 382 function unregister_widget_control($id) { … … 638 638 639 639 /** 640 * {@internal Missing Short Description}} 641 * 642 * {@internal Missing Long Description}} 640 * Display pages widget. 643 641 * 644 642 * @since 2.2.0 … … 673 671 674 672 /** 675 * {@internal Missing Short Description}} 676 * 677 * {@internal Missing Long Description}} 673 * Display and process pages widget options form. 678 674 * 679 675 * @since 2.2.0 … … 721 717 722 718 /** 723 * {@internal Missing Short Description}} 724 * 725 * {@internal Missing Long Description}} 719 * Display links widget. 726 720 * 727 721 * @since 2.2.0 … … 741 735 742 736 /** 743 * {@internal Missing Short Description}} 744 * 745 * {@internal Missing Long Description}} 737 * Display search widget. 746 738 * 747 739 * @since 2.2.0 … … 770 762 771 763 /** 772 * {@internal Missing Short Description}} 773 * 774 * {@internal Missing Long Description}} 764 * Display archives widget. 775 765 * 776 766 * @since 2.2.0 … … 804 794 805 795 /** 806 * {@internal Missing Short Description}} 807 * 808 * {@internal Missing Long Description}} 796 * Display and process archives widget options form. 809 797 * 810 798 * @since 2.2.0 … … 836 824 837 825 /** 838 * {@internal Missing Short Description}}839 * 840 * {@internal Missing Long Description}}841 * 842 * @since 2.2.0 843 * 844 * @param array $args Widget Arguments826 * Display meta widget. 827 * 828 * Displays log in/out, RSS feed links, etc. 829 * 830 * @since 2.2.0 831 * 832 * @param array $args Widget arguments. 845 833 */ 846 834 function wp_widget_meta($args) { … … 864 852 865 853 /** 866 * {@internal Missing Short Description}} 867 * 868 * {@internal Missing Long Description}} 854 * Display and process meta widget options form. 869 855 * 870 856 * @since 2.2.0 … … 887 873 888 874 /** 889 * {@internal Missing Short Description}} 890 * 891 * {@internal Missing Long Description}} 875 * Display calendar widget. 892 876 * 893 877 * @since 2.2.0 … … 909 893 910 894 /** 911 * {@internal Missing Short Description}} 912 * 913 * {@internal Missing Long Description}} 895 * Display and process calendar widget options form. 914 896 * 915 897 * @since 2.2.0 … … 966 948 967 949 /** 968 * {@internal Missing Short Description}} 969 * 970 * {@internal Missing Long Description}} 950 * Display and process text widget options form. 971 951 * 972 952 * @since 2.2.0 … … 1037 1017 1038 1018 /** 1039 * {@internal Missing Short Description}} 1040 * 1041 * {@internal Missing Long Description}} 1019 * Register text widget on startup. 1042 1020 * 1043 1021 * @since 2.2.0 … … 1068 1046 1069 1047 /** 1070 * {@internal Missing Short Description}} 1071 * 1072 * {@internal Missing Long Description}} 1073 * 1074 * @since 2.2.0 1075 * 1076 * @param unknown_type $args 1077 * @param unknown_type $number 1078 */ 1079 // See large comment section at end of this file 1048 * Display categories widget. 1049 * 1050 * Allows multiple category widgets. 1051 * 1052 * @since 2.2.0 1053 * 1054 * @param array $args Widget arguments. 1055 * @param int $number Widget number. 1056 */ 1080 1057 function wp_widget_categories($args, $widget_args = 1) { 1081 1058 extract($args, EXTR_SKIP); … … 1133 1110 1134 1111 /** 1135 * {@internal Missing Short Description}} 1136 * 1137 * {@internal Missing Long Description}} 1138 * 1139 * @since 2.2.0 1140 * 1141 * @param unknown_type $number 1112 * Display and process categories widget options form. 1113 * 1114 * @since 2.2.0 1115 * 1116 * @param int $widget_args Widget number. 1142 1117 */ 1143 1118 function wp_widget_categories_control( $widget_args ) { … … 1228 1203 1229 1204 /** 1230 * {@internal Missing Short Description}} 1231 * 1232 * {@internal Missing Long Description}} 1205 * Register categories widget on startup. 1233 1206 * 1234 1207 * @since 2.3.0 … … 1263 1236 1264 1237 /** 1265 * {@internal Missing Short Description}} 1266 * 1267 * {@internal Missing Long Description}} 1238 * Upgrade previous category widget to current version. 1268 1239 * 1269 1240 * @since 2.3.0 1270 1241 * 1271 * @return unknown1242 * @return array 1272 1243 */ 1273 1244 function wp_widget_categories_upgrade() { … … 1299 1270 1300 1271 /** 1301 * {@internal Missing Short Description}} 1302 * 1303 * {@internal Missing Long Description}} 1304 * 1305 * @since 2.2.0 1306 * 1307 * @param unknown_type $args 1308 * @return unknown 1272 * Display recent entries widget. 1273 * 1274 * @since 2.2.0 1275 * 1276 * @param array $args Widget arguments. 1277 * @return int Displayed cache. 1309 1278 */ 1310 1279 function wp_widget_recent_entries($args) { … … 1347 1316 * Remove recent entries widget items cache. 1348 1317 * 1349 * {@internal Missing Long Description}}1350 *1351 1318 * @since 2.2.0 1352 1319 */ … … 1360 1327 1361 1328 /** 1362 * {@internal Missing Short Description}} 1363 * 1364 * {@internal Missing Long Description}} 1329 * Display and process recent entries widget options form. 1365 1330 * 1366 1331 * @since 2.2.0 … … 1393 1358 1394 1359 /** 1395 * {@internal Missing Short Description}} 1396 * 1397 * {@internal Missing Long Description}} 1398 * 1399 * @since 2.2.0 1400 * 1401 * @param unknown_type $args 1360 * Display recent comments widget. 1361 * 1362 * @since 2.2.0 1363 * 1364 * @param array $args Widget arguments. 1402 1365 */ 1403 1366 function wp_widget_recent_comments($args) { … … 1432 1395 * Remove the cache for recent comments widget. 1433 1396 * 1434 * {@internal Missing Long Description}}1435 *1436 1397 * @since 2.2.0 1437 1398 */ … … 1443 1404 1444 1405 /** 1445 * {@internal Missing Short Description}} 1446 * 1447 * {@internal Missing Long Description}} 1406 * Display and process recent comments widget options form. 1448 1407 * 1449 1408 * @since 2.2.0 … … 1477 1436 * Display the style for recent comments widget. 1478 1437 * 1479 * {@internal Missing Long Description}}1480 *1481 1438 * @since 2.2.0 1482 1439 */ … … 1488 1445 1489 1446 /** 1490 * {@internal Missing Short Description}} 1491 * 1492 * {@internal Missing Long Description}} 1447 * Register recent comments with control and hook for 'wp_head' action. 1493 1448 * 1494 1449 * @since 2.2.0 … … 1504 1459 1505 1460 /** 1506 * {@internal Missing Short Description}} 1507 * 1508 * {@internal Missing Long Description}} 1509 * 1510 * @since 2.2.0 1511 * 1512 * @param unknown_type $args 1513 * @param unknown_type $number 1514 */ 1515 // See large comment section at end of this file 1461 * Display RSS widget. 1462 * 1463 * Allows for multiple widgets to be displayed. 1464 * 1465 * @since 2.2.0 1466 * 1467 * @param array $args Widget arguments. 1468 * @param int $number Widget number. 1469 */ 1516 1470 function wp_widget_rss($args, $widget_args = 1) { 1517 1471 extract($args, EXTR_SKIP); … … 1565 1519 } 1566 1520 1521 /** 1522 * Display the RSS entries in a list. 1523 * 1524 * @since 2.5.0 1525 * 1526 * @param string|array|object $rss RSS url. 1527 * @param array $args Widget arguments. 1528 */ 1567 1529 function wp_widget_rss_output( $rss, $args = array() ) { 1568 1530 if ( is_string( $rss ) ) { … … 1649 1611 1650 1612 /** 1651 * wp_widget_rss_control() - {@internal Missing Short Description}} 1652 * 1653 * {@internal Missing Long Description}} 1654 * 1655 * @since 2.2.0 1656 * 1657 * @param unknown_type $widget_args 1613 * Display and process RSS widget control form. 1614 * 1615 * @since 2.2.0 1616 * 1617 * @param int $widget_args Widget number. 1658 1618 */ 1659 1619 function wp_widget_rss_control($widget_args) { … … 1727 1687 * 'show_date'. 1728 1688 * 1729 * @since unknown1689 * @since 2.5.0 1730 1690 * 1731 1691 * @param array|string $args Values for input fields. … … 1814 1774 * All respectively in the order of the array elements. 1815 1775 * 1816 * @since unknown1776 * @since 2.5.0 1817 1777 * 1818 1778 * @param array $widget_rss RSS widget feed data. Expects unescaped data. … … 1849 1809 1850 1810 /** 1851 * Register RSS widget to allow multiple RSS widgets .1811 * Register RSS widget to allow multiple RSS widgets on startup. 1852 1812 * 1853 1813 * @since 2.2.0 … … 1924 1884 1925 1885 /** 1926 * Register all of the default WordPress widgets .1886 * Register all of the default WordPress widgets on startup. 1927 1887 * 1928 1888 * Calls 'widgets_init' action after all of the WordPress widgets have been … … 1975 1935 add_action('init', 'wp_widgets_init', 1); 1976 1936 1977 /* Pattern for multi-widget (allows multiple instances such as the text widget). 1978 1979 // Displays widget on blag 1980 // $widget_args: number 1981 // number: which of the several widgets of this type do we mean 1937 /* 1938 * Pattern for multi-widget (allows multiple instances such as the text widget). 1939 * 1940 * Make sure to close the comments after copying. 1941 1942 /** 1943 * Displays widget. 1944 * 1945 * Supports multiple widgets. 1946 * 1947 * @param array $args Widget arguments. 1948 * @param array|int $widget_args Widget number. Which of the several widgets of this type do we mean. 1949 * / 1982 1950 function widget_many( $args, $widget_args = 1 ) { 1983 1951 extract( $args, EXTR_SKIP ); … … 1999 1967 } 2000 1968 2001 // Displays form for a particular instance of the widget. Also updates the data after a POST submit 2002 // $widget_args: number 2003 // number: which of the several widgets of this type do we mean 1969 /** 1970 * Displays form for a particular instance of the widget. 1971 * 1972 * Also updates the data after a POST submit. 1973 * 1974 * @param array|int $widget_args Widget number. Which of the several widgets of this type do we mean. 1975 * / 2004 1976 function widget_many_control( $widget_args = 1 ) { 2005 1977 global $wp_registered_widgets; … … 2069 2041 } 2070 2042 2071 // Registers each instance of our widget on startup 2043 /** 2044 * Registers each instance of our widget on startup. 2045 * / 2072 2046 function widget_many_register() { 2073 2047 if ( !$options = get_option('widget_many') )
Note: See TracChangeset
for help on using the changeset viewer.