Changeset 56521
- Timestamp:
- 09/06/2023 09:31:48 AM (13 months ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r56276 r56521 186 186 */ 187 187 public function generic_strings() { 188 $this->strings['bad_request'] 189 $this->strings['fs_unavailable'] 190 $this->strings['fs_error'] 191 $this->strings['fs_no_root_dir'] 188 $this->strings['bad_request'] = __( 'Invalid data provided.' ); 189 $this->strings['fs_unavailable'] = __( 'Could not access filesystem.' ); 190 $this->strings['fs_error'] = __( 'Filesystem error.' ); 191 $this->strings['fs_no_root_dir'] = __( 'Unable to locate WordPress root directory.' ); 192 192 /* translators: %s: Directory name. */ 193 193 $this->strings['fs_no_content_dir'] = sprintf( __( 'Unable to locate WordPress content directory (%s).' ), 'wp-content' ); -
trunk/src/wp-admin/site-editor.php
r56302 r56521 24 24 } 25 25 26 $is_template_part = isset( $_GET['postType'] ) && 'wp_template_part' === sanitize_key( $_GET['postType'] );27 $is_template_part_path = isset( $_GET['path'] ) && 'wp_template_partall' === sanitize_key( $_GET['path'] );26 $is_template_part = isset( $_GET['postType'] ) && 'wp_template_part' === sanitize_key( $_GET['postType'] ); 27 $is_template_part_path = isset( $_GET['path'] ) && 'wp_template_partall' === sanitize_key( $_GET['path'] ); 28 28 $is_template_part_editor = $is_template_part || $is_template_part_path; 29 29
Note: See TracChangeset
for help on using the changeset viewer.