mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 05:04:31 +00:00
The keyword elseif should be used instead of else if so that all control keywords look like single words.
This was a mess, is now standardized across the codebase, except for a few 3rd-party libs. See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31090 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -60,7 +60,7 @@ if ( isset( $_GET['download'] ) ) {
|
||||
|
||||
if ( ! isset( $_GET['content'] ) || 'all' == $_GET['content'] ) {
|
||||
$args['content'] = 'all';
|
||||
} else if ( 'posts' == $_GET['content'] ) {
|
||||
} elseif ( 'posts' == $_GET['content'] ) {
|
||||
$args['content'] = 'post';
|
||||
|
||||
if ( $_GET['cat'] )
|
||||
@@ -76,7 +76,7 @@ if ( isset( $_GET['download'] ) ) {
|
||||
|
||||
if ( $_GET['post_status'] )
|
||||
$args['status'] = $_GET['post_status'];
|
||||
} else if ( 'pages' == $_GET['content'] ) {
|
||||
} elseif ( 'pages' == $_GET['content'] ) {
|
||||
$args['content'] = 'page';
|
||||
|
||||
if ( $_GET['page_author'] )
|
||||
|
||||
Reference in New Issue
Block a user