Make WordPress Core

Changeset 45695


Ignore:
Timestamp:
07/28/2019 04:34:58 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve the DocBlocks for got_mod_rewrite(), extract_from_markers(), insert_with_markers().

See #47110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/misc.php

    r45694 r45695  
    1212 * @since 2.0.0
    1313 *
    14  * @return bool
     14 * @return bool Whether the server is running Apache with the mod_rewrite module loaded.
    1515 */
    1616function got_mod_rewrite() {
     
    6161 * @since 1.5.0
    6262 *
    63  * @param string $filename
    64  * @param string $marker
    65  * @return array An array of strings from a file (.htaccess ) from between BEGIN and END markers.
     63 * @param string $filename Filename to extract the strings from.
     64 * @param string $marker   The marker to extract the strings from.
     65 * @return array An array of strings from a file (.htaccess) from between BEGIN and END markers.
    6666 */
    6767function extract_from_markers( $filename, $marker ) {
     
    9494
    9595/**
    96  * Inserts an array of strings into a file (.htaccess ), placing it between
     96 * Inserts an array of strings into a file (.htaccess), placing it between
    9797 * BEGIN and END markers.
    9898 *
Note: See TracChangeset for help on using the changeset viewer.