mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Remove redundant isset() and empty() checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13770 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -828,7 +828,7 @@ function wp_page_menu( $args = array() ) {
|
||||
$list_args = $args;
|
||||
|
||||
// Show Home in the menu
|
||||
if ( isset($args['show_home']) && ! empty($args['show_home']) ) {
|
||||
if ( ! empty($args['show_home']) ) {
|
||||
if ( true === $args['show_home'] || '1' === $args['show_home'] || 1 === $args['show_home'] )
|
||||
$text = __('Home');
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user