mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
[31210] broke Supportflow on dotorg, which declares these methods as protected. Switch to protected for the noop methods. The subclasses can make them more visible using public.
See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31211 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -541,7 +541,7 @@ class WP {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the Headers for 404, if nothing is found for requested URL.
|
||||
* Set the Headers for 404, if nothing is found for requested URL.
|
||||
*
|
||||
* Issue a 404 if a request doesn't match any posts and doesn't match
|
||||
* any object (e.g. an existing-but-empty category, tag, author) and a 404 was not already
|
||||
@@ -666,7 +666,6 @@ class WP_MatchesMapRegex {
|
||||
*
|
||||
* @param string $subject subject if regex
|
||||
* @param array $matches data to use in map
|
||||
* @return self
|
||||
*/
|
||||
public function __construct($subject, $matches) {
|
||||
$this->_subject = $subject;
|
||||
|
||||
Reference in New Issue
Block a user