Docs: Remove @staticvar tags from core.
The tag was supported in phpDocumentor 1.x, but is no longer supported in 2.x and 3.x. Usage of static variables is considered an internal implementation detail and has no information value for someone reading the docs. Props alishanvr, jrf. Fixes #50426. Built from https://develop.svn.wordpress.org/trunk@48109 git-svn-id: http://core.svn.wordpress.org/trunk@47878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -29,23 +29,6 @@
|
||||
*
|
||||
* @global array $wp_cockneyreplace Array of formatted entities for certain common phrases.
|
||||
* @global array $shortcode_tags
|
||||
* @staticvar array $static_characters
|
||||
* @staticvar array $static_replacements
|
||||
* @staticvar array $dynamic_characters
|
||||
* @staticvar array $dynamic_replacements
|
||||
* @staticvar array $default_no_texturize_tags
|
||||
* @staticvar array $default_no_texturize_shortcodes
|
||||
* @staticvar bool $run_texturize
|
||||
* @staticvar string $apos
|
||||
* @staticvar string $prime
|
||||
* @staticvar string $double_prime
|
||||
* @staticvar string $opening_quote
|
||||
* @staticvar string $closing_quote
|
||||
* @staticvar string $opening_single_quote
|
||||
* @staticvar string $closing_single_quote
|
||||
* @staticvar string $open_q_flag
|
||||
* @staticvar string $open_sq_flag
|
||||
* @staticvar string $apos_flag
|
||||
*
|
||||
* @param string $text The text to be formatted.
|
||||
* @param bool $reset Set to true for unit testing. Translated patterns will reset.
|
||||
@@ -633,8 +616,6 @@ function wp_html_split( $input ) {
|
||||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @staticvar string $regex
|
||||
*
|
||||
* @return string The regular expression
|
||||
*/
|
||||
function get_html_split_regex() {
|
||||
@@ -694,8 +675,6 @@ function get_html_split_regex() {
|
||||
* @internal This function will be removed in 4.5.0 per Shortcode API Roadmap.
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @staticvar string $html_regex
|
||||
*
|
||||
* @param string $shortcode_regex The result from _get_wptexturize_shortcode_regex(). Optional.
|
||||
* @return string The regular expression
|
||||
*/
|
||||
@@ -938,8 +917,6 @@ function seems_utf8( $str ) {
|
||||
* @since 5.5.0 `$quote_style` also accepts `ENT_XML1`.
|
||||
* @access private
|
||||
*
|
||||
* @staticvar string $_charset
|
||||
*
|
||||
* @param string $string The text which is to be encoded.
|
||||
* @param int|string $quote_style Optional. Converts double quotes if set to ENT_COMPAT,
|
||||
* both single and double if set to ENT_QUOTES or none if set to ENT_NOQUOTES.
|
||||
@@ -1112,9 +1089,6 @@ function wp_specialchars_decode( $string, $quote_style = ENT_NOQUOTES ) {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @staticvar bool $is_utf8
|
||||
* @staticvar bool $utf8_pcre
|
||||
*
|
||||
* @param string $string The text which is to be checked.
|
||||
* @param bool $strip Optional. Whether to attempt to strip out invalid UTF8. Default is false.
|
||||
* @return string The checked text.
|
||||
@@ -5445,8 +5419,6 @@ function wp_basename( $path, $suffix = '' ) {
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @staticvar string|false $dblq
|
||||
*
|
||||
* @param string $text The text to be modified.
|
||||
* @return string The modified text.
|
||||
*/
|
||||
@@ -5619,8 +5591,6 @@ function get_url_in_content( $content ) {
|
||||
*
|
||||
* @since 4.0.0
|
||||
*
|
||||
* @staticvar string $spaces
|
||||
*
|
||||
* @return string The spaces regexp.
|
||||
*/
|
||||
function wp_spaces_regexp() {
|
||||
@@ -5649,8 +5619,6 @@ function wp_spaces_regexp() {
|
||||
* Print the important emoji-related styles.
|
||||
*
|
||||
* @since 4.2.0
|
||||
*
|
||||
* @staticvar bool $printed
|
||||
*/
|
||||
function print_emoji_styles() {
|
||||
static $printed = false;
|
||||
@@ -5684,7 +5652,6 @@ img.emoji {
|
||||
* Print the inline Emoji detection script if it is not already printed.
|
||||
*
|
||||
* @since 4.2.0
|
||||
* @staticvar bool $printed
|
||||
*/
|
||||
function print_emoji_detection_script() {
|
||||
static $printed = false;
|
||||
|
||||
Reference in New Issue
Block a user