mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Disable update service editing by default for multisite. See #12229.
Introduce __return_false for simple filtering. See #12381. git-svn-id: https://develop.svn.wordpress.org/trunk@13413 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4042,4 +4042,15 @@ function get_file_data( $file, $default_headers, $context = '' ) {
|
||||
function _search_terms_tidy($t) {
|
||||
return trim($t, "\"'\n\r ");
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns false
|
||||
*
|
||||
* Useful for returning false to filters easily
|
||||
*
|
||||
* @return bool false
|
||||
*/
|
||||
function __return_false() {
|
||||
return false;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user