Docs: Add missing @return
value for save_mod_rewrite_rules()
and iis7_save_url_rewrite_rules()
.
See #44142. git-svn-id: https://develop.svn.wordpress.org/trunk@43362 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d99d403030
commit
3de54cc930
@ -196,6 +196,8 @@ function insert_with_markers( $filename, $marker, $insertion ) {
|
|||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
* @global WP_Rewrite $wp_rewrite
|
* @global WP_Rewrite $wp_rewrite
|
||||||
|
*
|
||||||
|
* @return bool|null True on write success, false on failure. Null in multisite.
|
||||||
*/
|
*/
|
||||||
function save_mod_rewrite_rules() {
|
function save_mod_rewrite_rules() {
|
||||||
if ( is_multisite() ) {
|
if ( is_multisite() ) {
|
||||||
@ -232,7 +234,7 @@ function save_mod_rewrite_rules() {
|
|||||||
*
|
*
|
||||||
* @global WP_Rewrite $wp_rewrite
|
* @global WP_Rewrite $wp_rewrite
|
||||||
*
|
*
|
||||||
* @return bool True if web.config was updated successfully
|
* @return bool|null True on write success, false on failure. Null in multisite.
|
||||||
*/
|
*/
|
||||||
function iis7_save_url_rewrite_rules() {
|
function iis7_save_url_rewrite_rules() {
|
||||||
if ( is_multisite() ) {
|
if ( is_multisite() ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user