- fixed integration with core and another extensions (removed class_exists checking);

This commit is contained in:
nikitozzzzzzz
2017-08-14 17:24:38 +03:00
parent fe584dfdf9
commit e03b16adac
36 changed files with 17 additions and 170 deletions
+1 -1
View File
@@ -110,6 +110,7 @@ if ( ! class_exists( 'Admin_Settings' ) ) {
);
$tabs = UM()->profile()->tabs_primary();
foreach( $tabs as $id => $tab ) {
$appearances_profile_menu_fields = array_merge( $appearances_profile_menu_fields, array(
array(
@@ -169,7 +170,6 @@ if ( ! class_exists( 'Admin_Settings' ) ) {
)
) );
$all_post_types = get_post_types( array( 'public' => true ) );
$all_taxonomies = get_taxonomies( array( 'public' => true ) );