Docs: Improve the DocBlocks for `got_mod_rewrite()`, `extract_from_markers()`, `insert_with_markers()`.
See #47110. Built from https://develop.svn.wordpress.org/trunk@45695 git-svn-id: http://core.svn.wordpress.org/trunk@45506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
67e5038470
commit
e7abdc7040
|
@ -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
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-alpha-45694';
|
||||
$wp_version = '5.3-alpha-45695';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue