From f793983deb12ab5b5b51082276a762f632c81980 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 28 Jul 2019 16:34:58 +0000 Subject: [PATCH] Docs: Improve the DocBlocks for `got_mod_rewrite()`, `extract_from_markers()`, `insert_with_markers()`. See #47110. git-svn-id: https://develop.svn.wordpress.org/trunk@45695 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/misc.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/includes/misc.php b/src/wp-admin/includes/misc.php index 26f5233802..bbdcd46077 100644 --- a/src/wp-admin/includes/misc.php +++ b/src/wp-admin/includes/misc.php @@ -11,7 +11,7 @@ * * @since 2.0.0 * - * @return bool + * @return bool Whether the server is running Apache with the mod_rewrite module loaded. */ function got_mod_rewrite() { $got_rewrite = apache_mod_loaded( 'mod_rewrite', true ); @@ -60,9 +60,9 @@ function got_url_rewrite() { * * @since 1.5.0 * - * @param string $filename - * @param string $marker - * @return array An array of strings from a file (.htaccess ) from between BEGIN and END markers. + * @param string $filename Filename to extract the strings from. + * @param string $marker The marker to extract the strings from. + * @return array An array of strings from a file (.htaccess) from between BEGIN and END markers. */ function extract_from_markers( $filename, $marker ) { $result = array(); @@ -93,7 +93,7 @@ function extract_from_markers( $filename, $marker ) { } /** - * Inserts an array of strings into a file (.htaccess ), placing it between + * Inserts an array of strings into a file (.htaccess), placing it between * BEGIN and END markers. * * Replaces existing marked info. Retains surrounding