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
|
* @since 2.0.0
|
||||||
*
|
*
|
||||||
* @return bool
|
* @return bool Whether the server is running Apache with the mod_rewrite module loaded.
|
||||||
*/
|
*/
|
||||||
function got_mod_rewrite() {
|
function got_mod_rewrite() {
|
||||||
$got_rewrite = apache_mod_loaded( 'mod_rewrite', true );
|
$got_rewrite = apache_mod_loaded( 'mod_rewrite', true );
|
||||||
@ -60,9 +60,9 @@ function got_url_rewrite() {
|
|||||||
*
|
*
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
* @param string $filename
|
* @param string $filename Filename to extract the strings from.
|
||||||
* @param string $marker
|
* @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.
|
* @return array An array of strings from a file (.htaccess) from between BEGIN and END markers.
|
||||||
*/
|
*/
|
||||||
function extract_from_markers( $filename, $marker ) {
|
function extract_from_markers( $filename, $marker ) {
|
||||||
$result = array();
|
$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.
|
* BEGIN and END markers.
|
||||||
*
|
*
|
||||||
* Replaces existing marked info. Retains surrounding
|
* Replaces existing marked info. Retains surrounding
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user