Ticket #27989: 27989.diff
File 27989.diff, 914 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/js/theme.js
1559 1559 routes: { 1560 1560 'theme-install.php?theme=:slug': 'preview', 1561 1561 'theme-install.php?browse=:sort': 'sort', 1562 'theme-install.php?tab=upload': 'upload', // Back compat 1562 1563 'theme-install.php?upload': 'upload', 1563 1564 'theme-install.php?search=:query': 'search', 1564 1565 'theme-install.php': 'sort' -
src/wp-admin/theme-install.php
189 189 * @param int $paged Number of the current page of results being viewed. 190 190 */ 191 191 if ( $tab ) { 192 $paged = empty( $paged ) ? 1 : $paged; 192 193 do_action( "install_themes_{$tab}", $paged ); 193 194 } 194 195 ?>