mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Add doc blocks to functions that are missing them.
If the function has no need for `@param` or `@return`, do an archeaological dig to find `@since`. See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32672 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -310,6 +310,12 @@ function show_message($message) {
|
||||
flush();
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param string $content
|
||||
* @return array
|
||||
*/
|
||||
function wp_doc_link_parse( $content ) {
|
||||
if ( !is_string( $content ) || empty( $content ) )
|
||||
return array();
|
||||
@@ -676,6 +682,9 @@ function wp_color_scheme_settings() {
|
||||
echo '<script type="text/javascript">var _wpColorScheme = ' . wp_json_encode( array( 'icons' => $icon_colors ) ) . ";</script>\n";
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 3.3.0
|
||||
*/
|
||||
function _ipad_meta() {
|
||||
if ( wp_is_mobile() ) {
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user