Ticket #5640: general-template.phpdoc.r6597.diff
File general-template.phpdoc.r6597.diff, 19.0 KB (added by , 17 years ago) |
---|
-
general-template.php
1 1 <?php 2 /** 3 * General template tags that can go anywhere in a 4 * template. 5 * 6 * @package WordPress 7 * @subpackage Template 8 */ 2 9 3 /* Note: these tags go anywhere in the template */ 4 10 /** 11 * get_header() - {@internal Missing Short Description}} 12 * 13 * {@internal Missing Long Description}} 14 * 15 * @since 1.5.0 16 * @uses do_action() 17 */ 5 18 function get_header() { 6 19 do_action( 'get_header' ); 7 20 if ( file_exists( TEMPLATEPATH . '/header.php') ) … … 10 23 load_template( ABSPATH . 'wp-content/themes/default/header.php'); 11 24 } 12 25 13 26 /** 27 * get_footer() - {@internal Missing Short Description}} 28 * 29 * {@internal Missing Long Description}} 30 * 31 * @since 1.5.0 32 * @uses do_action() 33 */ 14 34 function get_footer() { 15 35 do_action( 'get_footer' ); 16 36 if ( file_exists( TEMPLATEPATH . '/footer.php') ) … … 19 39 load_template( ABSPATH . 'wp-content/themes/default/footer.php'); 20 40 } 21 41 22 42 /** 43 * get_sidebar() - {@internal Missing Short Description}} 44 * 45 * {@internal Missing Long Description}} 46 * 47 * @since 1.5.0 48 * @uses do_action() 49 */ 23 50 function get_sidebar() { 24 51 do_action( 'get_sidebar' ); 25 52 if ( file_exists( TEMPLATEPATH . '/sidebar.php') ) … … 28 55 load_template( ABSPATH . 'wp-content/themes/default/sidebar.php'); 29 56 } 30 57 31 58 /** 59 * wp_loginout() - {@internal Missing Short Description}} 60 * 61 * {@internal Missing Long Description}} 62 * 63 * @since 1.5.0 64 * @uses apply_filters() 65 */ 32 66 function wp_loginout() { 33 67 if ( ! is_user_logged_in() ) 34 68 $link = '<a href="' . get_option('siteurl') . '/wp-login.php">' . __('Log in') . '</a>'; … … 38 72 echo apply_filters('loginout', $link); 39 73 } 40 74 41 75 /** 76 * wp_register() - {@internal Missing Short Description}} 77 * 78 * {@internal Missing Long Description}} 79 * 80 * @since 1.5.0 81 * @uses apply_filters() 82 * 83 * @param unknown_type $before 84 * @param unknown_type $after 85 */ 42 86 function wp_register( $before = '<li>', $after = '</li>' ) { 43 87 44 88 if ( ! is_user_logged_in() ) { … … 53 97 echo apply_filters('register', $link); 54 98 } 55 99 56 100 /** 101 * wp_meta() - {@internal Missing Short Description}} 102 * 103 * {@internal Missing Long Description}} 104 * 105 * @since 1.5.0 106 * @uses do_action() 107 */ 57 108 function wp_meta() { 58 109 do_action('wp_meta'); 59 110 } 60 111 61 112 /** 113 * bloginfo() - {@internal Missing Short Description}} 114 * 115 * {@internal Missing Long Description}} 116 * 117 * @since 0.71 118 * 119 * @param unknown_type $show 120 */ 62 121 function bloginfo($show='') { 63 122 echo get_bloginfo($show, 'display'); 64 123 } 65 124 66 125 /** 126 * get_bloginfo() - {@internal Missing Short Description}} 127 * 128 * {@internal Missing Long Description}} 129 * 67 130 * Note: some of these values are DEPRECATED. Meaning they could be 68 131 * taken out at any time and shouldn't be relied upon. Options 69 132 * without "// DEPRECATED" are the preferred and recommended ways 70 133 * to get the information. 134 * 135 * @since 0.71 136 * 137 * @param unknown_type $show 138 * @param unknown_type $filter 139 * @return unknown 71 140 */ 72 141 function get_bloginfo($show = '', $filter = 'raw') { 73 142 … … 158 227 return $output; 159 228 } 160 229 161 230 /** 231 * wp_title() - {@internal Missing Short Description}} 232 * 233 * {@internal Missing Long Description}} 234 * 235 * @since 1.0.0 236 * 237 * @param unknown_type $sep 238 * @param unknown_type $display 239 * @return unknown 240 */ 162 241 function wp_title($sep = '»', $display = true, $seplocation = '') { 163 242 global $wpdb, $wp_locale, $wp_query; 164 243 … … 251 330 252 331 } 253 332 254 333 /** 334 * single_post_title() - {@internal Missing Short Description}} 335 * 336 * {@internal Missing Long Description}} 337 * 338 * @since 0.71 339 * @uses $wpdb 340 * 341 * @param unknown_type $prefix 342 * @param unknown_type $display 343 * @return unknown 344 */ 255 345 function single_post_title($prefix = '', $display = true) { 256 346 global $wpdb; 257 347 $p = get_query_var('p'); … … 270 360 } 271 361 } 272 362 273 363 /** 364 * single_cat_title() - {@internal Missing Short Description}} 365 * 366 * {@internal Missing Long Description}} 367 * 368 * @since 0.71 369 * 370 * @param unknown_type $prefix 371 * @param unknown_type $display 372 * @return unknown 373 */ 274 374 function single_cat_title($prefix = '', $display = true ) { 275 375 $cat = intval( get_query_var('cat') ); 276 376 if ( !empty($cat) && !(strtoupper($cat) == 'ALL') ) { … … 286 386 } 287 387 } 288 388 289 389 /** 390 * single_tag_title() - {@internal Missing Short Description}} 391 * 392 * {@internal Missing Long Description}} 393 * 394 * @since 2.3.0 395 * 396 * @param unknown_type $prefix 397 * @param unknown_type $display 398 * @return unknown 399 */ 290 400 function single_tag_title($prefix = '', $display = true ) { 291 401 if ( !is_tag() ) 292 402 return; … … 307 417 } 308 418 } 309 419 310 420 /** 421 * single_month_title() - {@internal Missing Short Description}} 422 * 423 * {@internal Missing Long Description}} 424 * 425 * @since 0.71 426 * 427 * @param unknown_type $prefix 428 * @param unknown_type $display 429 * @return unknown 430 */ 311 431 function single_month_title($prefix = '', $display = true ) { 312 432 global $wp_locale; 313 433 … … 333 453 echo $result; 334 454 } 335 455 336 337 /* link navigation hack by Orien http://icecode.com/ */ 456 /** 457 * get_archives_link() - {@internal Missing Short Description}} 458 * 459 * {@internal Missing Long Description}} 460 * 461 * @since 1.0.0 462 * @author Orien 463 * @link http://icecode.com/ link navigation hack by Orien 464 * 465 * @param unknown_type $url 466 * @param unknown_type $text 467 * @param unknown_type $format 468 * @param unknown_type $before 469 * @param unknown_type $after 470 * @return unknown 471 */ 338 472 function get_archives_link($url, $text, $format = 'html', $before = '', $after = '') { 339 473 $text = wptexturize($text); 340 474 $title_text = attribute_escape($text); … … 350 484 return "\t$before<a href='$url' title='$title_text'>$text</a>$after\n"; 351 485 } 352 486 353 487 /** 488 * wp_get_archives() - {@internal Missing Short Description}} 489 * 490 * {@internal Missing Long Description}} 491 * 492 * @since 1.2.0 493 * 494 * @param unknown_type $args 495 */ 354 496 function wp_get_archives($args = '') { 355 497 global $wpdb, $wp_locale; 356 498 … … 516 658 } 517 659 } 518 660 519 520 // Used in get_calendar 661 /** 662 * calendar_week_mod() - {@internal Missing Short Description}} 663 * 664 * {@internal Missing Long Description}} 665 * 666 * @since 1.5.0 667 * @usedby get_calendar() 668 * 669 * @param unknown_type $num 670 * @return unknown 671 */ 521 672 function calendar_week_mod($num) { 522 673 $base = 7; 523 674 return ($num - $base*floor($num/$base)); 524 675 } 525 676 526 677 /** 678 * get_calendar() - {@internal Missing Short Description}} 679 * 680 * {@internal Missing Long Description}} 681 * 682 * @since 1.0.0 683 * 684 * @param unknown_type $initial 685 */ 527 686 function get_calendar($initial = true) { 528 687 global $wpdb, $m, $monthnum, $year, $wp_locale, $posts; 529 688 … … 716 875 wp_cache_set( 'get_calendar', $cache, 'calendar' ); 717 876 } 718 877 878 /** 879 * delete_get_calendar_cache() - {@internal Missing Short Description}} 880 * 881 * @since 2.1.0 882 */ 719 883 function delete_get_calendar_cache() { 720 884 wp_cache_delete( 'get_calendar', 'calendar' ); 721 885 } … … 725 889 add_action( 'update_option_gmt_offset', 'delete_get_calendar_cache' ); 726 890 add_action( 'update_option_start_of_week', 'delete_get_calendar_cache' ); 727 891 728 892 /** 893 * allowed_tags() - {@internal Missing Short Description}} 894 * 895 * {@internal Missing Long Description}} 896 * 897 * @since 1.0.1 898 * @uses $allowedtags 899 * 900 * @return unknown 901 */ 729 902 function allowed_tags() { 730 903 global $allowedtags; 731 904 $allowed = ''; … … 741 914 return htmlentities($allowed); 742 915 } 743 916 744 745 917 /***** Date/Time tags *****/ 746 918 747 919 /** 920 * the_date_xml() - {@internal Missing Short Description}} 921 * 922 * {@internal Missing Long Description}} 923 * 924 * @since 1.0.0 925 * 926 */ 748 927 function the_date_xml() { 749 928 global $post; 750 929 echo mysql2date('Y-m-d', $post->post_date); 751 930 //echo ""+$post->post_date; 752 931 } 753 932 754 933 /** 934 * the_date() - {@internal Missing Short Description}} 935 * 936 * {@internal Missing Long Description}} 937 * 938 * @since 0.71 939 * 940 * @param unknown_type $d 941 * @param unknown_type $before 942 * @param unknown_type $after 943 * @param unknown_type $echo 944 * @return unknown 945 */ 755 946 function the_date($d='', $before='', $after='', $echo = true) { 756 947 global $post, $day, $previousday; 757 948 $the_date = ''; … … 771 962 return $the_date; 772 963 } 773 964 774 965 /** 966 * the_modified_date() - {@internal Missing Short Description}} 967 * 968 * {@internal Missing Long Description}} 969 * 970 * @since 2.1.0 971 * 972 * @param unknown_type $d 973 */ 775 974 function the_modified_date($d = '') { 776 975 echo apply_filters('the_modified_date', get_the_modified_date($d), $d); 777 976 } 778 977 779 978 /** 979 * get_the_modified_date() - {@internal Missing Short Description}} 980 * 981 * {@internal Missing Long Description}} 982 * 983 * @since 2.1.0 984 * 985 * @param unknown_type $d 986 * @return unknown 987 */ 780 988 function get_the_modified_date($d = '') { 781 989 if ( '' == $d ) 782 990 $the_time = get_post_modified_time(get_option('date_format')); … … 785 993 return apply_filters('get_the_modified_date', $the_time, $d); 786 994 } 787 995 788 996 /** 997 * the_time() - {@internal Missing Short Description}} 998 * 999 * {@internal Missing Long Description}} 1000 * 1001 * @since 0.71 1002 * 1003 * @param unknown_type $d 1004 */ 789 1005 function the_time( $d = '' ) { 790 1006 echo apply_filters('the_time', get_the_time( $d ), $d); 791 1007 } 792 1008 793 1009 /** 1010 * get_the_time() - {@internal Missing Short Description}} 1011 * 1012 * {@internal Missing Long Description}} 1013 * 1014 * @since 1.5.0 1015 * 1016 * @param unknown_type $d 1017 * @return unknown 1018 */ 794 1019 function get_the_time( $d = '' ) { 795 1020 if ( '' == $d ) 796 1021 $the_time = get_post_time(get_option('time_format')); … … 799 1024 return apply_filters('get_the_time', $the_time, $d); 800 1025 } 801 1026 802 1027 /** 1028 * get_post_time() - {@internal Missing Short Description}} 1029 * 1030 * {@internal Missing Long Description}} 1031 * 1032 * @since 1.5.0 1033 * 1034 * @param unknown_type $d 1035 * @param unknown_type $gmt 1036 * @return unknown 1037 */ 803 1038 function get_post_time( $d = 'U', $gmt = false ) { // returns timestamp 804 1039 global $post; 805 1040 if ( $gmt ) … … 811 1046 return apply_filters('get_the_time', $time, $d, $gmt); 812 1047 } 813 1048 814 1049 /** 1050 * the_modified_time() - {@internal Missing Short Description}} 1051 * 1052 * {@internal Missing Long Description}} 1053 * 1054 * @since 2.0.0 1055 * 1056 * @param unknown_type $d 1057 */ 815 1058 function the_modified_time($d = '') { 816 1059 echo apply_filters('the_modified_time', get_the_modified_time($d), $d); 817 1060 } 818 1061 819 1062 /** 1063 * get_the_modified_time() - {@internal Missing Short Description}} 1064 * 1065 * {@internal Missing Long Description}} 1066 * 1067 * @since 2.0.0 1068 * 1069 * @param unknown_type $d 1070 * @return unknown 1071 */ 820 1072 function get_the_modified_time($d = '') { 821 1073 if ( '' == $d ) 822 1074 $the_time = get_post_modified_time(get_option('time_format')); … … 825 1077 return apply_filters('get_the_modified_time', $the_time, $d); 826 1078 } 827 1079 828 1080 /** 1081 * get_post_modified_time() - {@internal Missing Short Description}} 1082 * 1083 * {@internal Missing Long Description}} 1084 * 1085 * @since 2.0.0 1086 * 1087 * @param unknown_type $d 1088 * @param unknown_type $gmt 1089 * @return unknown 1090 */ 829 1091 function get_post_modified_time( $d = 'U', $gmt = false ) { // returns timestamp 830 1092 global $post; 831 1093 … … 838 1100 return apply_filters('get_the_modified_time', $time, $d, $gmt); 839 1101 } 840 1102 841 1103 /** 1104 * the_weekday() - {@internal Missing Short Description}} 1105 * 1106 * {@internal Missing Long Description}} 1107 * 1108 * @since 0.71 1109 * @uses $wp_locale 1110 * @uses $post 1111 */ 842 1112 function the_weekday() { 843 1113 global $wp_locale, $post; 844 1114 $the_weekday = $wp_locale->get_weekday(mysql2date('w', $post->post_date)); … … 846 1116 echo $the_weekday; 847 1117 } 848 1118 849 1119 /** 1120 * the_weekday_date() - {@internal Missing Short Description}} 1121 * 1122 * {@internal Missing Long Description}} 1123 * 1124 * @since 0.71 1125 * 1126 * @param unknown_type $before 1127 * @param unknown_type $after 1128 */ 850 1129 function the_weekday_date($before='',$after='') { 851 1130 global $wp_locale, $post, $day, $previousweekday; 852 1131 $the_weekday_date = ''; … … 860 1139 echo $the_weekday_date; 861 1140 } 862 1141 1142 /** 1143 * wp_head() - {@internal Missing Short Description}} 1144 * 1145 * {@internal Missing Long Description}} 1146 * 1147 * @since 1.2.0 1148 * @uses do_action() 1149 */ 863 1150 function wp_head() { 864 1151 do_action('wp_head'); 865 1152 } 866 1153 1154 /** 1155 * wp_footer() - {@internal Missing Short Description}} 1156 * 1157 * {@internal Missing Long Description}} 1158 * 1159 * @since 1.5.1 1160 * @uses do_action() 1161 */ 867 1162 function wp_footer() { 868 1163 do_action('wp_footer'); 869 1164 } 870 1165 1166 /** 1167 * rsd_link() - {@internal Missing Short Description}} 1168 * 1169 * {@internal Missing Long Description}} 1170 * 1171 * @since 2.0.0 1172 * 1173 */ 871 1174 function rsd_link() { 872 1175 echo '<link rel="EditURI" type="application/rsd+xml" title="RSD" href="' . get_bloginfo('wpurl') . "/xmlrpc.php?rsd\" />\n"; 873 1176 } 874 1177 1178 /** 1179 * wlwmanifest_link() - {@internal Missing Short Description}} 1180 * 1181 * {@internal Missing Long Description}} 1182 * 1183 * @since 2.3.1 1184 * 1185 */ 875 1186 function wlwmanifest_link() { 876 1187 echo '<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="' 877 1188 . get_bloginfo('wpurl') . '/wp-includes/wlwmanifest.xml" /> ' . "\n"; 878 1189 } 879 1190 1191 /** 1192 * noindex() - {@internal Missing Short Description}} 1193 * 1194 * {@internal Missing Long Description}} 1195 * 1196 * @since 2.1.0 1197 */ 880 1198 function noindex() { 881 1199 // If the blog is not public, tell robots to go away. 882 1200 if ( '0' == get_option('blog_public') ) 883 1201 echo "<meta name='robots' content='noindex,nofollow' />\n"; 884 1202 } 885 1203 1204 /** 1205 * rich_edit_exists() - {@internal Missing Short Description}} 1206 * 1207 * {@internal Missing Long Description}} 1208 * 1209 * @since 2.1.0 1210 * 1211 * @return unknown 1212 */ 886 1213 function rich_edit_exists() { 887 1214 global $wp_rich_edit_exists; 888 1215 if ( !isset($wp_rich_edit_exists) ) … … 890 1217 return $wp_rich_edit_exists; 891 1218 } 892 1219 1220 /** 1221 * user_can_richedit() - {@internal Missing Short Description}} 1222 * 1223 * {@internal Missing Long Description}} 1224 * 1225 * @since 2.0.0 1226 * 1227 * @return unknown 1228 */ 893 1229 function user_can_richedit() { 894 1230 global $wp_rich_edit, $pagenow; 895 1231 … … 907 1243 return apply_filters('user_can_richedit', $wp_rich_edit); 908 1244 } 909 1245 1246 /** 1247 * wp_default_editor() - {@internal Missing Short Description}} 1248 * 1249 * {@internal Missing Long Description}} 1250 * 1251 * @since 2.5.0 1252 * 1253 * @return string Either 'tinymce', or 'html', or 'test' 1254 */ 910 1255 function wp_default_editor() { 911 1256 $r = user_can_richedit() ? 'tinymce' : 'html'; // defaults 912 1257 if ( $user = wp_get_current_user() ) { // look for cookie … … 916 1261 return apply_filters( 'wp_default_editor', $r ); // filter 917 1262 } 918 1263 1264 /** 1265 * the_editor() - {@internal Missing Short Description}} 1266 * 1267 * {@internal Missing Long Description}} 1268 * 1269 * @since 2.1.0 1270 * 1271 * @param unknown_type $content 1272 * @param unknown_type $id 1273 * @param unknown_type $prev_id 1274 */ 919 1275 function the_editor($content, $id = 'content', $prev_id = 'title') { 920 1276 $rows = get_option('default_post_edit_rows'); 921 1277 if (($rows < 3) || ($rows > 100)) … … 940 1296 <div id='editor-toolbar' style='display:none;'> 941 1297 <div class='zerosize'><input accesskey='e' type='button' onclick='switchEditors("<?php echo $id; ?>")' /></div> 942 1298 <a id='edButtonHTML'<?php echo 'html' == $wp_default_editor ? $active : $inactive; ?>><?php _e('HTML'); ?></a> 943 1299 <a id='edButtonPreview'<?php echo 'tinymce' == $wp_default_editor ? $active : $inactive; ?>><?php _e('Visual'); ?></a> 944 1300 945 946 947 948 1301 <div id="media-buttons"> 1302 <?php _e('Add media:'); ?> 1303 <?php do_action( 'media_buttons'); ?> 1304 </div> 949 1305 </div> 950 1306 951 1307 <script type="text/javascript"> … … 1020 1376 <?php 1021 1377 } 1022 1378 1379 /** 1380 * get_search_query() - {@internal Missing Short Description}} 1381 * 1382 * {@internal Missing Long Description}} 1383 * 1384 * @since 2.3.0 1385 * 1386 * @return unknown 1387 */ 1023 1388 function get_search_query() { 1024 1389 return apply_filters( 'get_search_query', stripslashes( get_query_var( 's' ) ) ); 1025 1390 } 1026 1391 1392 /** 1393 * the_search_query() - {@internal Missing Short Description}} 1394 * 1395 * {@internal Missing Long Description}} 1396 * 1397 * @since 2.1.0 1398 * 1399 */ 1027 1400 function the_search_query() { 1028 1401 echo attribute_escape( apply_filters( 'the_search_query', get_search_query() ) ); 1029 1402 } 1030 1403 1404 /** 1405 * language_attributes() - {@internal Missing Short Description}} 1406 * 1407 * {@internal Missing Long Description}} 1408 * 1409 * @since 2.1.0 1410 * 1411 * @param unknown_type $doctype 1412 */ 1031 1413 function language_attributes($doctype = 'html') { 1032 1414 $attributes = array(); 1033 1415 $output = ''; … … 1048 1430 echo $output; 1049 1431 } 1050 1432 1433 /** 1434 * paginate_links() - {@internal Missing Short Description}} 1435 * 1436 * {@internal Missing Long Description}} 1437 * 1438 * @since 2.1.0 1439 * 1440 * @param unknown_type $args 1441 * @return unknown 1442 */ 1051 1443 function paginate_links( $args = '' ) { 1052 1444 $defaults = array( 1053 1445 'base' => '%_%', // http://example.com/all_posts.php%_% : %_% is replaced by format (below) … … 1128 1520 return $r; 1129 1521 } 1130 1522 1523 /** 1524 * wp_admin_css_uri() - {@internal Missing Short Description}} 1525 * 1526 * {@internal Missing Long Description}} 1527 * 1528 * @since 2.3.0 1529 * 1530 * @param unknown_type $file 1531 * @return unknown 1532 */ 1131 1533 function wp_admin_css_uri( $file = 'wp-admin' ) { 1132 1534 if ( defined('WP_INSTALLING') ) 1133 1535 { … … 1138 1540 return apply_filters( 'wp_admin_css_uri', $_file, $file ); 1139 1541 } 1140 1542 1543 /** 1544 * wp_admin_css() - {@internal Missing Short Description}} 1545 * 1546 * {@internal Missing Long Description}} 1547 * 1548 * @since 2.3.0 1549 * 1550 * @param unknown_type $file 1551 */ 1141 1552 function wp_admin_css( $file = 'wp-admin' ) { 1142 1553 echo apply_filters( 'wp_admin_css', "<link rel='stylesheet' href='" . wp_admin_css_uri( $file ) . "' type='text/css' />\n", $file ); 1143 1554 if ( 'rtl' == get_bloginfo( 'text_direction' ) ) { … … 1147 1558 } 1148 1559 1149 1560 /** 1150 * Outputs the XHTML generator that is generated on the wp_head hook. 1561 * wp_generator() - Outputs the XHTML generator that is generated on the wp_head hook. 1562 * 1563 * {@internal Missing Long Description}} 1564 * 1565 * @since 2.5.0 1566 * @uses apply_filters() 1151 1567 */ 1152 function wp_generator() 1153 { 1568 function wp_generator() { 1154 1569 the_generator( apply_filters( 'wp_generator_type', 'xhtml' ) ); 1155 1570 } 1156 1571 1157 1572 /** 1158 * Outputs the generator XML or Comment for RSS, ATOM, etc. 1159 * @param {String} $type The type of generator to return. 1573 * the_generator() - Outputs the generator XML or Comment for RSS, ATOM, etc. 1574 * 1575 * {@internal Missing Long Description}} 1576 * 1577 * @since 2.5 1578 * @uses apply_filters() 1579 * 1580 * @param string $type The type of generator to return. 1160 1581 */ 1161 function the_generator 1162 echo apply_filters('the_generator', get_the_generator($type),$type) . "\n";1582 function the_generator( $type ) { 1583 echo apply_filters('the_generator', get_the_generator($type), $type) . "\n"; 1163 1584 } 1164 1585 1165 1586 /** 1166 * Creates the generator XML or Comment for RSS, ATOM, etc. 1167 * @param {String} $type The type of generator to return. 1587 * get_the_generator() - Creates the generator XML or Comment for RSS, ATOM, etc. 1588 * 1589 * {@internal Missing Long Description}} 1590 * 1591 * @since 2.5 1592 * @uses apply_filters() 1593 * 1594 * @param string $type The type of generator to return. 1168 1595 */ 1169 function get_the_generator 1596 function get_the_generator( $type ) { 1170 1597 switch ($type) { 1171 1598 case 'html': 1172 1599 $gen = '<meta name="generator" content="WordPress/' . get_bloginfo( 'version' ) . '">' . "\n"; … … 1192 1619 } 1193 1620 return apply_filters( "get_the_generator_{$type}", $gen, $type ); 1194 1621 } 1195 ?> 1622 1623 ?> 1624 No newline at end of file