- Timestamp:
- 08/21/2020 12:41:43 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-base.php
r48089 r48835 123 123 * 124 124 * @since 2.5.0 125 * @deprecated 2.7.0 use WP_Filesystem ::abspath() or WP_Filesystem::wp_*_dir() instead.126 * @see WP_Filesystem ::abspath()127 * @see WP_Filesystem ::wp_content_dir()128 * @see WP_Filesystem ::wp_plugins_dir()129 * @see WP_Filesystem ::wp_themes_dir()130 * @see WP_Filesystem ::wp_lang_dir()125 * @deprecated 2.7.0 use WP_Filesystem_Base::abspath() or WP_Filesystem_Base::wp_*_dir() instead. 126 * @see WP_Filesystem_Base::abspath() 127 * @see WP_Filesystem_Base::wp_content_dir() 128 * @see WP_Filesystem_Base::wp_plugins_dir() 129 * @see WP_Filesystem_Base::wp_themes_dir() 130 * @see WP_Filesystem_Base::wp_lang_dir() 131 131 * 132 132 * @param string $base The folder to start searching from. … … 136 136 */ 137 137 public function find_base_dir( $base = '.', $echo = false ) { 138 _deprecated_function( __FUNCTION__, '2.7.0', 'WP_Filesystem ::abspath() or WP_Filesystem::wp_*_dir()' );138 _deprecated_function( __FUNCTION__, '2.7.0', 'WP_Filesystem_Base::abspath() or WP_Filesystem_Base::wp_*_dir()' ); 139 139 $this->verbose = $echo; 140 140 return $this->abspath(); … … 145 145 * 146 146 * @since 2.5.0 147 * @deprecated 2.7.0 use WP_Filesystem ::abspath() or WP_Filesystem::wp_*_dir() methods instead.148 * @see WP_Filesystem ::abspath()149 * @see WP_Filesystem ::wp_content_dir()150 * @see WP_Filesystem ::wp_plugins_dir()151 * @see WP_Filesystem ::wp_themes_dir()152 * @see WP_Filesystem ::wp_lang_dir()147 * @deprecated 2.7.0 use WP_Filesystem_Base::abspath() or WP_Filesystem_Base::wp_*_dir() methods instead. 148 * @see WP_Filesystem_Base::abspath() 149 * @see WP_Filesystem_Base::wp_content_dir() 150 * @see WP_Filesystem_Base::wp_plugins_dir() 151 * @see WP_Filesystem_Base::wp_themes_dir() 152 * @see WP_Filesystem_Base::wp_lang_dir() 153 153 * 154 154 * @param string $base The folder to start searching from. … … 157 157 */ 158 158 public function get_base_dir( $base = '.', $echo = false ) { 159 _deprecated_function( __FUNCTION__, '2.7.0', 'WP_Filesystem ::abspath() or WP_Filesystem::wp_*_dir()' );159 _deprecated_function( __FUNCTION__, '2.7.0', 'WP_Filesystem_Base::abspath() or WP_Filesystem_Base::wp_*_dir()' ); 160 160 $this->verbose = $echo; 161 161 return $this->abspath();
Note: See TracChangeset
for help on using the changeset viewer.