mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 20:24:26 +00:00
14555b3af229c8a5407eb00f33e53220a67654ba
WP_MatchesMapRegex:
* Exactly one method was made private in [28516], and is only used internally. * 2 properties were made private, but they just store variables passed to the constructor. * Instances of this class are never created in core. `WP_MatchesMapRegex::apply()` is called statically in `WP->parse_request()` and `url_to_postid()`. The chances that: 1) this class is used as an instance somewhere and 2) the properties that have always been marked `@access private` and begin with `_` were used publicly ...is extremely low. Remove the magic methods, I should not have added them. While we're at it, use the PHP5-style `__construct()` instead of the class name. See #30891. git-svn-id: https://develop.svn.wordpress.org/trunk@31136 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%