Changeset 51475 for trunk/src/wp-admin/update.php
- Timestamp:
- 07/22/2021 01:51:58 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update.php
r48417 r51475 60 60 check_admin_referer( 'upgrade-plugin_' . $plugin ); 61 61 62 // Used in the HTML title tag. 62 63 $title = __( 'Update Plugin' ); 63 64 $parent_file = 'plugins.php'; … … 124 125 } 125 126 127 // Used in the HTML title tag. 126 128 $title = __( 'Plugin Installation' ); 127 129 $parent_file = 'plugins.php'; 128 130 $submenu_file = 'plugin-install.php'; 131 129 132 require_once ABSPATH . 'wp-admin/admin-header.php'; 130 133 … … 154 157 $file_upload = new File_Upload_Upgrader( 'pluginzip', 'package' ); 155 158 159 // Used in the HTML title tag. 156 160 $title = __( 'Upload Plugin' ); 157 161 $parent_file = 'plugins.php'; 158 162 $submenu_file = 'plugin-install.php'; 163 159 164 require_once ABSPATH . 'wp-admin/admin-header.php'; 160 165 … … 207 212 wp_enqueue_script( 'updates' ); 208 213 214 // Used in the HTML title tag. 209 215 $title = __( 'Update Theme' ); 210 216 $parent_file = 'themes.php'; 211 217 $submenu_file = 'themes.php'; 218 212 219 require_once ABSPATH . 'wp-admin/admin-header.php'; 213 220 … … 270 277 } 271 278 279 // Used in the HTML title tag. 272 280 $title = __( 'Install Themes' ); 273 281 $parent_file = 'themes.php'; 274 282 $submenu_file = 'themes.php'; 283 275 284 require_once ABSPATH . 'wp-admin/admin-header.php'; 276 285 … … 296 305 $file_upload = new File_Upload_Upgrader( 'themezip', 'package' ); 297 306 307 // Used in the HTML title tag. 298 308 $title = __( 'Upload Theme' ); 299 309 $parent_file = 'themes.php';
Note: See TracChangeset
for help on using the changeset viewer.