Changeset 40638 for trunk/src/wp-includes/load.php
- Timestamp:
- 05/11/2017 07:23:45 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/load.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r40575 r40638 1100 1100 * @return bool True if file modification is disallowed, false otherwise. 1101 1101 */ 1102 function wp_ disallow_file_mods( $context ) {1102 function wp_is_file_mod_allowed( $context ) { 1103 1103 /** 1104 1104 * Filters whether file modifications are disallowed. … … 1106 1106 * @since 4.8.0 1107 1107 * 1108 * @param bool $dis llow_file_mods Whether file modifications are disallowed.1109 * @param string $context The usage context.1108 * @param bool $disallow_file_mods Whether file modifications are disallowed. 1109 * @param string $context The usage context. 1110 1110 */ 1111 return apply_filters( 'disallow_file_mods' , defined( 'DISALLOW_FILE_MODS' ) && DISALLOW_FILE_MODS, $context );1112 } 1111 return apply_filters( 'disallow_file_mods', defined( 'DISALLOW_FILE_MODS' ) && DISALLOW_FILE_MODS, $context ); 1112 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)