Changeset 14219
- Timestamp:
- 04/24/2010 02:42:30 PM (15 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r14158 r14219 800 800 801 801 // Args prefixed with an underscore are reserved for internal use. 802 $defaults = array('label' => false, 'singular_label' => false, 'description' => '', 'publicly_queryable' => null, 'exclude_from_search' => null, '_builtin' => false, '_edit_link' => 'post.php?post=%d', 'capability_type' => 'post', 'hierarchical' => false, 'public' => false, 'rewrite' => true, 'query_var' => true, 'supports' => array(), 'register_meta_box_cb' => null, 'taxonomies' => array(), 'show_ui' => null, 'menu_position' => null, 'menu_icon' => null, 'permalink_epmask' => EP_ NONE);802 $defaults = array('label' => false, 'singular_label' => false, 'description' => '', 'publicly_queryable' => null, 'exclude_from_search' => null, '_builtin' => false, '_edit_link' => 'post.php?post=%d', 'capability_type' => 'post', 'hierarchical' => false, 'public' => false, 'rewrite' => true, 'query_var' => true, 'supports' => array(), 'register_meta_box_cb' => null, 'taxonomies' => array(), 'show_ui' => null, 'menu_position' => null, 'menu_icon' => null, 'permalink_epmask' => EP_PERMALINK ); 803 803 $args = wp_parse_args($args, $defaults); 804 804 $args = (object) $args; -
trunk/wp-includes/rewrite.php
r14155 r14219 1400 1400 1401 1401 //only on pages with comments add ../comment-page-xx/ 1402 if ( EP_PAGES & $ep_mask || EP_PERMALINK & $ep_mask || EP_NONE & $ep_mask)1402 if ( EP_PAGES & $ep_mask || EP_PERMALINK & $ep_mask ) 1403 1403 $rewrite = array_merge($rewrite, array($commentmatch => $commentquery)); 1404 1404 else if ( EP_ROOT & $ep_mask && get_option('page_on_front') )
Note: See TracChangeset
for help on using the changeset viewer.