Ticket #8592: 8592.6.diff
| File 8592.6.diff, 699 bytes (added by , 9 years ago) |
|---|
-
wp-includes/post-template.php
1078 1078 ); 1079 1079 1080 1080 $r = wp_parse_args( $args, $defaults ); 1081 if ( ! ( is_admin() && 'options-reading' == get_current_screen()->base ) ) 1082 $r = apply_filters( 'wp_dropdown_pages_args', $r ); 1081 1083 1082 1084 $pages = get_pages( $r ); 1083 1085 $output = ''; … … 1171 1173 ); 1172 1174 1173 1175 $r = wp_parse_args( $args, $defaults ); 1176 $r = apply_filters( 'wp_list_pages_args', $r ); 1174 1177 1175 1178 if ( ! in_array( $r['item_spacing'], array( 'preserve', 'discard' ), true ) ) { 1176 1179 // invalid value, fall back to default.