Changeset 48199
- Timestamp:
- 06/28/2020 02:00:26 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r48185 r48199 170 170 171 171 /** 172 * Adds image shortcode with caption to editor 172 * Adds image shortcode with caption to editor. 173 173 * 174 174 * @since 2.6.0 … … 249 249 250 250 /** 251 * Private preg_replace callback used in image_add_caption() 251 * Private preg_replace callback used in image_add_caption(). 252 252 * 253 253 * @access private … … 260 260 261 261 /** 262 * Adds image html to editor262 * Adds image HTML to editor. 263 263 * 264 264 * @since 2.5.0 … … 277 277 278 278 /** 279 * Save a file submitted from a POST request and create an attachment post for it.279 * Saves a file submitted from a POST request and create an attachment post for it. 280 280 * 281 281 * @since 2.5.0 … … 284 284 * @param int $post_id The post ID of a post to attach the media item to. Required, but can 285 285 * be set to 0, creating a media item that has no relationship to a post. 286 * @param array $post_data O verwrite some of the attachment. Optional.287 * @param array $overrides O verride the wp_handle_upload() behavior. Optional.286 * @param array $post_data Optional. Overwrite some of the attachment. 287 * @param array $overrides Optional. Override the wp_handle_upload() behavior. 288 288 * @return int|WP_Error ID of the attachment or a WP_Error object on failure. 289 289 */ -
trunk/src/wp-admin/includes/template.php
r48168 r48199 924 924 925 925 /** 926 * Print out option htmlelements for role selectors.926 * Print out option HTML elements for role selectors. 927 927 * 928 928 * @since 2.1.0 … … 1567 1567 * 1568 1568 * The $callback argument should be the name of a function that echoes out the 1569 * htmlinput tags for this setting field. Use get_option() to retrieve existing1569 * HTML input tags for this setting field. Use get_option() to retrieve existing 1570 1570 * values to show. 1571 1571 * … … 1919 1919 * Displays the post password. 1920 1920 * 1921 * The password is passed through esc_attr() to ensure that it is safe for placing in an htmlattribute.1921 * The password is passed through esc_attr() to ensure that it is safe for placing in an HTML attribute. 1922 1922 * 1923 1923 * @since 2.7.0 -
trunk/src/wp-content/themes/twentytwenty/inc/template-tags.php
r48109 r48199 71 71 * Filters the arguments for `twentytwenty_site_logo()`. 72 72 * 73 * @param string $html Compiled htmlbased on our arguments.73 * @param string $html Compiled HTML based on our arguments. 74 74 * @param array $args Parsed arguments. 75 75 * @param string $classname Class name based on current view, home or single. … … 104 104 105 105 /** 106 * Filters the htmlfor the site description.106 * Filters the HTML for the site description. 107 107 * 108 108 * @since Twenty Twenty 1.0 … … 327 327 328 328 /** 329 * Fires before post meta htmldisplay.329 * Fires before post meta HTML display. 330 330 * 331 331 * Allow output of additional post meta info to be added by child themes and plugins. … … 454 454 455 455 /** 456 * Fires after post meta htmldisplay.456 * Fires after post meta HTML display. 457 457 * 458 458 * Allow output of additional post meta info to be added by child themes and plugins. -
trunk/src/wp-includes/class-wp-ajax-response.php
r48067 r48199 56 56 * `old_id` attribute. False hides the attribute. Default false. 57 57 * @type string $position Value of the response type `position` attribute. Accepts 1 (bottom), 58 * -1 (top), html ID (after), or -htmlID (before). Default 1 (bottom).58 * -1 (top), HTML ID (after), or -HTML ID (before). Default 1 (bottom). 59 59 * @type string|WP_Error $data The response content/message. Also accepts a WP_Error object if the 60 60 * ID does not exist. Default empty. -
trunk/src/wp-includes/class-wp-customize-nav-menus.php
r48100 r48199 1128 1128 1129 1129 /** 1130 * Print the htmltemplate used to render the add-menu-item frame.1130 * Print the HTML template used to render the add-menu-item frame. 1131 1131 * 1132 1132 * @since 4.3.0 -
trunk/src/wp-includes/comment.php
r48185 r48199 2735 2735 } 2736 2736 2737 // Now do a GET since we're going to look in the htmlheaders (and we're sure it's not a binary file).2737 // Now do a GET since we're going to look in the HTML headers (and we're sure it's not a binary file). 2738 2738 $response = wp_safe_remote_get( 2739 2739 $url, -
trunk/src/wp-includes/deprecated.php
r48197 r48199 380 380 * @see get_bookmarks() 381 381 * 382 * @param string $cat_name Optional. The category name to use. If no match is found uses all. 383 * @param string $before Optional. The html to output before the link. 384 * @param string $after Optional. The html to output after the link. 385 * @param string $between Optional. The html to output between the link/image and its description. Not used if no image or $show_images is true. 386 * @param bool $show_images Optional. Whether to show images (if defined). 387 * @param string $orderby Optional. The order to output the links. E.g. 'id', 'name', 'url', 'description' or 'rating'. Or maybe owner. 388 * If you start the name with an underscore the order will be reversed. You can also specify 'rand' as the order which will return links in a 389 * random order. 390 * @param bool $show_description Optional. Whether to show the description if show_images=false/not defined. 391 * @param bool $show_rating Optional. Show rating stars/chars. 392 * @param int $limit Optional. Limit to X entries. If not specified, all entries are shown. 393 * @param int $show_updated Optional. Whether to show last updated timestamp 382 * @param string $cat_name Optional. The category name to use. If no match is found, uses all. 383 * Default 'noname'. 384 * @param string $before Optional. The HTML to output before the link. Default empty. 385 * @param string $after Optional. The HTML to output after the link. Default '<br />'. 386 * @param string $between Optional. The HTML to output between the link/image and its description. 387 * Not used if no image or $show_images is true. Default ' '. 388 * @param bool $show_images Optional. Whether to show images (if defined). Default true. 389 * @param string $orderby Optional. The order to output the links. E.g. 'id', 'name', 'url', 390 * 'description', 'rating', or 'owner'. Default 'id'. 391 * If you start the name with an underscore, the order will be reversed. 392 * Specifying 'rand' as the order will return links in a random order. 393 * @param bool $show_description Optional. Whether to show the description if show_images=false/not defined. 394 * Default true. 395 * @param bool $show_rating Optional. Show rating stars/chars. Default false. 396 * @param int $limit Optional. Limit to X entries. If not specified, all entries are shown. 397 * Default -1. 398 * @param int $show_updated Optional. Whether to show last updated timestamp. Default 0. 394 399 */ 395 400 function get_linksbyname($cat_name = "noname", $before = '', $after = '<br />', $between = " ", $show_images = true, $orderby = 'id', … … 448 453 * @see get_bookmarks() 449 454 * 450 * @param string $cat_name The category name to use. If no match is found uses all. 451 * @param string $orderby The order to output the links. E.g. 'id', 'name', 'url', 'description', or 'rating'. 452 * Or maybe owner. If you start the name with an underscore the order will be reversed. You can also 453 * specify 'rand' as the order which will return links in a random order. 454 * @param int $limit Limit to X entries. If not specified, all entries are shown. 455 * @param string $cat_name Optional. The category name to use. If no match is found, uses all. 456 * Default 'noname'. 457 * @param string $orderby Optional. The order to output the links. E.g. 'id', 'name', 'url', 458 * 'description', 'rating', or 'owner'. Default 'name'. 459 * If you start the name with an underscore, the order will be reversed. 460 * Specifying 'rand' as the order will return links in a random order. 461 * @param int $limit Optional. Limit to X entries. If not specified, all entries are shown. 462 * Default -1. 455 463 * @return array 456 464 */ … … 498 506 * @see get_bookmarks() 499 507 * 500 * @param int $category The category to use. If no category supplied uses all 501 * @param string $orderby the order to output the links. E.g. 'id', 'name', 'url', 502 * 'description', or 'rating'. Or maybe owner. If you start the name with an 503 * underscore the order will be reversed. You can also specify 'rand' as the 504 * order which will return links in a random order. 505 * @param int $limit Limit to X entries. If not specified, all entries are shown. 508 * @param int $category Optional. The category to use. If no category supplied, uses all. 509 * Default 0. 510 * @param string $orderby Optional. The order to output the links. E.g. 'id', 'name', 'url', 511 * 'description', 'rating', or 'owner'. Default 'name'. 512 * If you start the name with an underscore, the order will be reversed. 513 * Specifying 'rand' as the order will return links in a random order. 514 * @param int $limit Optional. Limit to X entries. If not specified, all entries are shown. 515 * Default 0. 506 516 * @return array 507 517 */ … … 525 535 * @see get_bookmarks() 526 536 * 527 * @param string $cat_name The category name to use. If no match is found uses all 528 * @param string $before The html to output before the link 529 * @param string $after The html to output after the link 530 * @param string $between The html to output between the link/image and its description. Not used if no image or show_images is true 531 * @param bool $show_images Whether to show images (if defined). 532 * @param string $orderby the order to output the links. E.g. 'id', 'name', 'url', 533 * 'description', or 'rating'. Or maybe owner. If you start the name with an 534 * underscore the order will be reversed. You can also specify 'rand' as the 535 * order which will return links in a random order. 536 * @param bool $show_description Whether to show the description if show_images=false/not defined 537 * @param int $limit Limit to X entries. If not specified, all entries are shown. 538 * @param int $show_updated Whether to show last updated timestamp 537 * @param string $cat_name Optional. The category name to use. If no match is found, uses all. 538 * Default 'noname'. 539 * @param string $before Optional. The HTML to output before the link. Default empty. 540 * @param string $after Optional. The HTML to output after the link. Default '<br />'. 541 * @param string $between Optional. The HTML to output between the link/image and its description. 542 * Not used if no image or $show_images is true. Default ' '. 543 * @param bool $show_images Optional. Whether to show images (if defined). Default true. 544 * @param string $orderby Optional. The order to output the links. E.g. 'id', 'name', 'url', 545 * 'description', 'rating', or 'owner'. Default 'id'. 546 * If you start the name with an underscore, the order will be reversed. 547 * Specifying 'rand' as the order will return links in a random order. 548 * @param bool $show_description Optional. Whether to show the description if show_images=false/not defined. 549 * Default true. 550 * @param int $limit Optional. Limit to X entries. If not specified, all entries are shown. 551 * Default -1. 552 * @param int $show_updated Optional. Whether to show last updated timestamp. Default 0. 539 553 */ 540 554 function get_linksbyname_withrating($cat_name = "noname", $before = '', $after = '<br />', $between = " ", … … 552 566 * @see get_bookmarks() 553 567 * 554 * @param int $category The category to use. If no category supplied uses all 555 * @param string $before The html to output before the link 556 * @param string $after The html to output after the link 557 * @param string $between The html to output between the link/image and its description. Not used if no image or show_images == true 558 * @param bool $show_images Whether to show images (if defined). 559 * @param string $orderby The order to output the links. E.g. 'id', 'name', 'url', 560 * 'description', or 'rating'. Or maybe owner. If you start the name with an 561 * underscore the order will be reversed. You can also specify 'rand' as the 562 * order which will return links in a random order. 563 * @param bool $show_description Whether to show the description if show_images=false/not defined. 564 * @param int $limit Limit to X entries. If not specified, all entries are shown. 565 * @param int $show_updated Whether to show last updated timestamp 568 * @param int $category Optional. The category to use. If no category supplied, uses all. 569 * Default 0. 570 * @param string $before Optional. The HTML to output before the link. Default empty. 571 * @param string $after Optional. The HTML to output after the link. Default '<br />'. 572 * @param string $between Optional. The HTML to output between the link/image and its description. 573 * Not used if no image or $show_images is true. Default ' '. 574 * @param bool $show_images Optional. Whether to show images (if defined). Default true. 575 * @param string $orderby Optional. The order to output the links. E.g. 'id', 'name', 'url', 576 * 'description', 'rating', or 'owner'. Default 'id'. 577 * If you start the name with an underscore, the order will be reversed. 578 * Specifying 'rand' as the order will return links in a random order. 579 * @param bool $show_description Optional. Whether to show the description if show_images=false/not defined. 580 * Default true. 581 * @param int $limit Optional. Limit to X entries. If not specified, all entries are shown. 582 * Default -1. 583 * @param int $show_updated Optional. Whether to show last updated timestamp. Default 0. 566 584 */ 567 585 function get_links_withrating($category = -1, $before = '', $after = '<br />', $between = " ", $show_images = true, … … 905 923 * @see get_bookmarks() 906 924 * 907 * @param int $category The category to use. If no category supplied uses all 908 * @param string $before the html to output before the link 909 * @param string $after the html to output after the link 910 * @param string $between the html to output between the link/image and its description. 911 * Not used if no image or show_images == true 912 * @param bool $show_images whether to show images (if defined). 913 * @param string $orderby the order to output the links. E.g. 'id', 'name', 'url', 914 * 'description', or 'rating'. Or maybe owner. If you start the name with an 915 * underscore the order will be reversed. You can also specify 'rand' as the order 916 * which will return links in a random order. 917 * @param bool $show_description whether to show the description if show_images=false/not defined. 918 * @param bool $show_rating show rating stars/chars 919 * @param int $limit Limit to X entries. If not specified, all entries are shown. 920 * @param int $show_updated whether to show last updated timestamp 921 * @param bool $echo whether to echo the results, or return them instead 925 * @param int $category Optional. The category to use. If no category supplied uses all. 926 * Default 0. 927 * @param string $before Optional. The HTML to output before the link. Default empty. 928 * @param string $after Optional. The HTML to output after the link. Default '<br />'. 929 * @param string $between Optional. The HTML to output between the link/image and its description. 930 * Not used if no image or $show_images is true. Default ' '. 931 * @param bool $show_images Optional. Whether to show images (if defined). Default true. 932 * @param string $orderby Optional. The order to output the links. E.g. 'id', 'name', 'url', 933 * 'description', 'rating', or 'owner'. Default 'name'. 934 * If you start the name with an underscore, the order will be reversed. 935 * Specifying 'rand' as the order will return links in a random order. 936 * @param bool $show_description Optional. Whether to show the description if show_images=false/not defined. 937 * Default true. 938 * @param bool $show_rating Optional. Show rating stars/chars. Default false. 939 * @param int $limit Optional. Limit to X entries. If not specified, all entries are shown. 940 * Default -1. 941 * @param int $show_updated Optional. Whether to show last updated timestamp. Default 1. 942 * @param bool $echo Whether to echo the results, or return them instead. 922 943 * @return null|string 923 944 */ … … 1629 1650 * Display the post content for the feed. 1630 1651 * 1631 * For encoding the html or the $encode_html parameter, there are three possible1632 * values. '0' will make urls footnotes and use make_url_footnote(). '1' will1633 * encode special characters and automatically display all of the content. The1634 * value of'2' will strip all HTML tags from the content.1635 * 1636 * Also note that you cannot set the amount of words and not set the html1637 * encoding. If that is the case, then the html encoding will default to 2,1638 * which will stripall HTML tags.1639 * 1640 * To restrict the amount of words of the content, you can use the cut 1641 * parameter. If the content is less than the amount, then there won't be any1642 * dots added to the end. If there is content left over, then dots will be added1643 * and the rest of the contentwill be removed.1652 * For encoding the HTML or the $encode_html parameter, there are three possible values: 1653 * - '0' will make urls footnotes and use make_url_footnote(). 1654 * - '1' will encode special characters and automatically display all of the content. 1655 * - '2' will strip all HTML tags from the content. 1656 * 1657 * Also note that you cannot set the amount of words and not set the HTML encoding. 1658 * If that is the case, then the HTML encoding will default to 2, which will strip 1659 * all HTML tags. 1660 * 1661 * To restrict the amount of words of the content, you can use the cut parameter. 1662 * If the content is less than the amount, then there won't be any dots added to the end. 1663 * If there is content left over, then dots will be added and the rest of the content 1664 * will be removed. 1644 1665 * 1645 1666 * @since 0.71 … … 1648 1669 * @see the_content_feed() 1649 1670 * 1650 * @param string $more_link_text Optional. Text to display when more content is available but not displayed. 1651 * @param int $stripteaser Optional. Default is 0. 1652 * @param string $more_file Optional. 1653 * @param int $cut Optional. Amount of words to keep for the content. 1654 * @param int $encode_html Optional. How to encode the content. 1671 * @param string $more_link_text Optional. Text to display when more content is available 1672 * but not displayed. Default '(more...)'. 1673 * @param int $stripteaser Optional. Default 0. 1674 * @param string $more_file Optional. 1675 * @param int $cut Optional. Amount of words to keep for the content. 1676 * @param int $encode_html Optional. How to encode the content. 1655 1677 */ 1656 1678 function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) { … … 1705 1727 * @deprecated 2.9.0 1706 1728 * 1707 * @param string $content Content to get links 1729 * @param string $content Content to get links. 1708 1730 * @return string HTML stripped out of content with links at the bottom. 1709 1731 */ … … 1743 1765 * @see _x() 1744 1766 * 1745 * @param string $text Text to translate 1746 * @param string $domain Optional. Domain to retrieve the translated text 1747 * @return string Translated context string without pipe 1767 * @param string $text Text to translate. 1768 * @param string $domain Optional. Domain to retrieve the translated text. 1769 * @return string Translated context string without pipe. 1748 1770 */ 1749 1771 function _c( $text, $domain = 'default' ) { … … 1760 1782 * @see _x() 1761 1783 * 1762 * @param string $text Text to translate 1763 * @param string $domain Domain to retrieve the translated text 1764 * @return string Translated text 1784 * @param string $text Text to translate. 1785 * @param string $domain Domain to retrieve the translated text. 1786 * @return string Translated text. 1765 1787 */ 1766 1788 function translate_with_context( $text, $domain = 'default' ) { -
trunk/src/wp-includes/feed.php
r48067 r48199 536 536 * Determine the type of a string of data with the data formatted. 537 537 * 538 * Tell whether the type is text, html, or xhtml, per RFC 4287 section 3.1.538 * Tell whether the type is text, HTML, or XHTML, per RFC 4287 section 3.1. 539 539 * 540 540 * In the case of WordPress, text is defined as containing no markup, 541 * xhtml is defined as "well formed", and htmlas tag soup (i.e., the rest).542 * 543 * Container div tags are added to xhtmlvalues, per section 3.1.1.3.541 * XHTML is defined as "well formed", and HTML as tag soup (i.e., the rest). 542 * 543 * Container div tags are added to XHTML values, per section 3.1.1.3. 544 544 * 545 545 * @link http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rfc.section.3.1 -
trunk/src/wp-includes/formatting.php
r48185 r48199 929 929 * Default is ENT_NOQUOTES. 930 930 * @param false|string $charset Optional. The character encoding of the string. Default false. 931 * @param bool $double_encode Optional. Whether to encode existing htmlentities. Default false.931 * @param bool $double_encode Optional. Whether to encode existing HTML entities. Default false. 932 932 * @return string The encoded text with HTML entities. 933 933 */ … … 5137 5137 5138 5138 /** 5139 * Safely extracts not more than the first $count characters from htmlstring.5139 * Safely extracts not more than the first $count characters from HTML string. 5140 5140 * 5141 5141 * UTF-8, tags and entities safe prefix extraction. Entities inside will *NOT* … … 6014 6014 * Saving hex colors without a hash puts the burden of adding the hash on the 6015 6015 * UI, which makes it difficult to use or upgrade to other color types such as 6016 * rgba, hsl, rgb, and htmlcolor names.6016 * rgba, hsl, rgb, and HTML color names. 6017 6017 * 6018 6018 * Returns either '', a 3 or 6 digit hex color (without a #), or null. -
trunk/src/wp-includes/functions.php
r48185 r48199 6560 6560 /** 6561 6561 * Retrieve a canonical form of the provided charset appropriate for passing to PHP 6562 * functions such as htmlspecialchars() and charset htmlattributes.6562 * functions such as htmlspecialchars() and charset HTML attributes. 6563 6563 * 6564 6564 * @since 3.6.0 -
trunk/src/wp-includes/general-template.php
r48197 r48199 3916 3916 * 3917 3917 * The search query string is passed through esc_attr() to ensure that it is safe 3918 * for placing in an htmlattribute.3918 * for placing in an HTML attribute. 3919 3919 * 3920 3920 * @since 2.3.0 … … 3944 3944 * 3945 3945 * The search query string is passed through esc_attr() to ensure that it is safe 3946 * for placing in an htmlattribute.3946 * for placing in an HTML attribute. 3947 3947 * 3948 3948 * @since 2.1.0 … … 3960 3960 3961 3961 /** 3962 * Gets the language attributes for the htmltag.3963 * 3964 * Builds up a set of htmlattributes containing the text direction and language3962 * Gets the language attributes for the 'html' tag. 3963 * 3964 * Builds up a set of HTML attributes containing the text direction and language 3965 3965 * information for the page. 3966 3966 * 3967 3967 * @since 4.3.0 3968 3968 * 3969 * @param string $doctype Optional. The type of htmldocument. Accepts 'xhtml' or 'html'. Default 'html'.3969 * @param string $doctype Optional. The type of HTML document. Accepts 'xhtml' or 'html'. Default 'html'. 3970 3970 */ 3971 3971 function get_language_attributes( $doctype = 'html' ) { … … 3990 3990 3991 3991 /** 3992 * Filters the language attributes for display in the htmltag.3992 * Filters the language attributes for display in the 'html' tag. 3993 3993 * 3994 3994 * @since 2.5.0 … … 3996 3996 * 3997 3997 * @param string $output A space-separated list of language attributes. 3998 * @param string $doctype The type of htmldocument (xhtml|html).3998 * @param string $doctype The type of HTML document (xhtml|html). 3999 3999 */ 4000 4000 return apply_filters( 'language_attributes', $output, $doctype ); … … 4002 4002 4003 4003 /** 4004 * Displays the language attributes for the htmltag.4005 * 4006 * Builds up a set of htmlattributes containing the text direction and language4004 * Displays the language attributes for the 'html' tag. 4005 * 4006 * Builds up a set of HTML attributes containing the text direction and language 4007 4007 * information for the page. 4008 4008 * … … 4010 4010 * @since 4.3.0 Converted into a wrapper for get_language_attributes(). 4011 4011 * 4012 * @param string $doctype Optional. The type of htmldocument. Accepts 'xhtml' or 'html'. Default 'html'.4012 * @param string $doctype Optional. The type of HTML document. Accepts 'xhtml' or 'html'. Default 'html'. 4013 4013 */ 4014 4014 function language_attributes( $doctype = 'html' ) { … … 4655 4655 4656 4656 /** 4657 * Outputs the htmlchecked attribute.4657 * Outputs the HTML checked attribute. 4658 4658 * 4659 4659 * Compares the first two arguments and if identical marks as checked … … 4664 4664 * @param mixed $current (true) The other value to compare if not just true 4665 4665 * @param bool $echo Whether to echo or just return the string 4666 * @return string htmlattribute or empty string4666 * @return string HTML attribute or empty string 4667 4667 */ 4668 4668 function checked( $checked, $current = true, $echo = true ) { … … 4671 4671 4672 4672 /** 4673 * Outputs the htmlselected attribute.4673 * Outputs the HTML selected attribute. 4674 4674 * 4675 4675 * Compares the first two arguments and if identical marks as selected … … 4680 4680 * @param mixed $current (true) The other value to compare if not just true 4681 4681 * @param bool $echo Whether to echo or just return the string 4682 * @return string htmlattribute or empty string4682 * @return string HTML attribute or empty string 4683 4683 */ 4684 4684 function selected( $selected, $current = true, $echo = true ) { … … 4687 4687 4688 4688 /** 4689 * Outputs the htmldisabled attribute.4689 * Outputs the HTML disabled attribute. 4690 4690 * 4691 4691 * Compares the first two arguments and if identical marks as disabled … … 4696 4696 * @param mixed $current (true) The other value to compare if not just true 4697 4697 * @param bool $echo Whether to echo or just return the string 4698 * @return string htmlattribute or empty string4698 * @return string HTML attribute or empty string 4699 4699 */ 4700 4700 function disabled( $disabled, $current = true, $echo = true ) { … … 4703 4703 4704 4704 /** 4705 * Outputs the htmlreadonly attribute.4705 * Outputs the HTML readonly attribute. 4706 4706 * 4707 4707 * Compares the first two arguments and if identical marks as readonly … … 4712 4712 * @param mixed $current (true) The other value to compare if not just true 4713 4713 * @param bool $echo Whether to echo or just return the string 4714 * @return string htmlattribute or empty string4714 * @return string HTML attribute or empty string 4715 4715 */ 4716 4716 function readonly( $readonly, $current = true, $echo = true ) { … … 4730 4730 * @param bool $echo Whether to echo or just return the string 4731 4731 * @param string $type The type of checked|selected|disabled|readonly we are doing 4732 * @return string htmlattribute or empty string4732 * @return string HTML attribute or empty string 4733 4733 */ 4734 4734 function __checked_selected_helper( $helper, $current, $echo, $type ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionDoubleUnderscore,PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore -
trunk/src/wp-includes/kses.php
r48198 r48199 2391 2391 2392 2392 /** 2393 * Helper function to add global attributes to a tag in the allowed htmllist.2393 * Helper function to add global attributes to a tag in the allowed HTML list. 2394 2394 * 2395 2395 * @since 3.5.0
Note: See TracChangeset
for help on using the changeset viewer.