Ticket #1671: 1671.2.patch
| File 1671.2.patch, 483 bytes (added by , 10 years ago) |
|---|
-
searchform.php
34 34 <?php } ?> 35 35 36 36 <?php 37 $is_handbook = wporg_is_handbook();37 $is_handbook = function_exists( 'wporg_is_handbook' ) ? wporg_is_handbook() : false; 38 38 $search_url = $is_handbook ? wporg_get_current_handbook_home_url() : home_url( '/' ); 39 39 $form_class = $is_handbook ? ' searchform-handbook' : ''; 40 40 ?>