Make WordPress Core

Ticket #49660: 49660.diff

File 49660.diff, 605 bytes (added by david.binda, 5 years ago)
  • src/wp-includes/rewrite.php

     
    269269 * @global WP_Rewrite $wp_rewrite WordPress rewrite component.
    270270 *
    271271 * @param bool $hard Whether to update .htaccess (hard flush) or just update
    272  *                   rewrite_rules transient (soft flush). Default is true (hard).
     272 *                   rewrite_rules option (soft flush). Default is true (hard).
    273273 */
    274274function flush_rewrite_rules( $hard = true ) {
    275275        global $wp_rewrite;