Changeset 1165421
- Timestamp:
- 05/22/2015 02:13:00 AM (11 years ago)
- Location:
- easy-content-adder/trunk
- Files:
-
- 3 edited
-
easy-content-adder.php (modified) (1 diff)
-
includes/admin-page.php (modified) (1 diff)
-
includes/display-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
easy-content-adder/trunk/easy-content-adder.php
r1164600 r1165421 20 20 // retrieve our plugin settings from options table 21 21 $beca_options = get_option('beca_settings'); 22 $post_types = get_post_types(array('public' => true)); 22 23 23 24 24 -
easy-content-adder/trunk/includes/admin-page.php
r1165248 r1165421 28 28 <h4><?php _e('Select which type of pages to display content on.', 'beca_domain' ); ?></h4> 29 29 <?php // get all post types that are public 30 global $post_types;30 $post_types = get_post_types(array('public' => true)); 31 31 32 32 foreach ( $post_types as $post_type ) { -
easy-content-adder/trunk/includes/display-functions.php
r1165248 r1165421 7 7 8 8 global $beca_options; 9 global $post_types;9 $post_types = get_post_types(array('public' => true)); 10 10 11 11 if ( ! isset( $beca_options['enable'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.