mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Fix syntax for single- and multi-line comments in wp-admin-directory files.
See #28931. git-svn-id: https://develop.svn.wordpress.org/trunk@29206 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -121,7 +121,10 @@ foreach ( (array) get_post_types( array('show_ui' => true, '_builtin' => false,
|
||||
$ptype_class = 'post';
|
||||
}
|
||||
|
||||
// if $ptype_menu_position is already populated or will be populated by a hard-coded value below, increment the position.
|
||||
/*
|
||||
* If $ptype_menu_position is already populated or will be populated
|
||||
* by a hard-coded value below, increment the position.
|
||||
*/
|
||||
$core_menu_positions = array(59, 60, 65, 70, 75, 80, 85, 99);
|
||||
while ( isset($menu[$ptype_menu_position]) || in_array($ptype_menu_position, $core_menu_positions) )
|
||||
$ptype_menu_position++;
|
||||
|
||||
Reference in New Issue
Block a user