Changeset 53014
- Timestamp:
- 03/29/2022 01:19:23 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-base.php
r52332 r53014 130 130 * @see WP_Filesystem_Base::wp_lang_dir() 131 131 * 132 * @param string $base The folder to start searching from. 133 * @param bool $echo True to display debug information. 134 * Default false. 132 * @param string $base Optional. The folder to start searching from. Default '.'. 133 * @param bool $verbose Optional. True to display debug information. Default false. 135 134 * @return string The location of the remote path. 136 135 */ 137 public function find_base_dir( $base = '.', $ echo= false ) {136 public function find_base_dir( $base = '.', $verbose = false ) { 138 137 _deprecated_function( __FUNCTION__, '2.7.0', 'WP_Filesystem_Base::abspath() or WP_Filesystem_Base::wp_*_dir()' ); 139 $this->verbose = $ echo;138 $this->verbose = $verbose; 140 139 return $this->abspath(); 141 140 } … … 152 151 * @see WP_Filesystem_Base::wp_lang_dir() 153 152 * 154 * @param string $base The folder to start searching from.155 * @param bool $ echo True to display debug information.153 * @param string $base Optional. The folder to start searching from. Default '.'. 154 * @param bool $verbose Optional. True to display debug information. Default false. 156 155 * @return string The location of the remote path. 157 156 */ 158 public function get_base_dir( $base = '.', $ echo= false ) {157 public function get_base_dir( $base = '.', $verbose = false ) { 159 158 _deprecated_function( __FUNCTION__, '2.7.0', 'WP_Filesystem_Base::abspath() or WP_Filesystem_Base::wp_*_dir()' ); 160 $this->verbose = $ echo;159 $this->verbose = $verbose; 161 160 return $this->abspath(); 162 161 }
Note: See TracChangeset
for help on using the changeset viewer.