Changeset 47414 for trunk/src/wp-admin/includes/class-theme-upgrader.php
- Timestamp:
- 03/03/2020 11:38:00 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-theme-upgrader.php
r47409 r47414 530 530 * 531 531 * @param bool|WP_Error $return Upgrade offer return. 532 * @param array $theme Theme arguments.532 * @param array $theme Theme arguments. 533 533 * @return bool|WP_Error The passed in $return param or WP_Error. 534 534 */ … … 562 562 * 563 563 * @param bool|WP_Error $return Upgrade offer return. 564 * @param array $theme Theme arguments.564 * @param array $theme Theme arguments. 565 565 * @return bool|WP_Error The passed in $return param or WP_Error. 566 566 */ … … 572 572 $theme = isset( $theme['theme'] ) ? $theme['theme'] : ''; 573 573 574 // Only run if current theme 574 // Only run if current theme. 575 575 if ( get_stylesheet() !== $theme ) { 576 576 return $return;
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)