WordPress.org

Make WordPress Core

Changeset 46141


Ignore:
Timestamp:
09/15/2019 11:46:44 AM (2 months ago)
Author:
SergeyBiryukov
Message:

Code Modernisation: Remove redundant call to func_get_arg() in wp-includes/class-wp-rewrite.php.

Props jrf.
See #47678.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-rewrite.php

    r45736 r46141  
    16851685
    16861686        // For backward compatibility, if null has explicitly been passed as `$query_var`, assume `true`.
    1687         if ( true === $query_var || null === func_get_arg( 2 ) ) {
     1687        if ( true === $query_var || null === $query_var ) {
    16881688            $query_var = $name;
    16891689        }
Note: See TracChangeset for help on using the changeset viewer.