![]() |
Patch 122-02: documentation error in 'Limited PHP Code' for get_search_form(
There is a documentaton error in the 'Limited PHP Code' for the function get_search_form()
In the 'PHP Code - Full List' you will see Code:
get_search_form() Code:
get_searchform() The correct version to use is get_search_form() you can fix this by editing get_whitelist.php and changing line 46 from HTML Code:
'<?php get_searchform(); ?>' => __( 'Includes <code>searchform.php</code> sub template.', 'montezuma' ), HTML Code:
'<?php get_search_form(); ?>' => __( 'Includes <code>searchform.php</code> sub template.', 'montezuma' ), |
All times are GMT -6. The time now is 04:41 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.