Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#22389 closed defect (bug) (fixed)

wp_dropdown_pages() is failing in Beta-2

Reported by: beautomated Owned by: nacin
Milestone: 3.5 Priority: high
Severity: major Version: 3.5
Component: Template Keywords:
Focuses: Cc:

Description (last modified by SergeyBiryukov)

The following code works in v3.4.2, but not in v3.5-beta2-22455. The dropdown containing the pages is not echo'd as is the default behavior. See: http://codex.wordpress.org/Function_Reference/wp_dropdown_pages Here's the unit test Plugin:

        Plugin Name: Sean's Unit Test
        Plugin URI: http://www.beautomated.com/
        Description: Runs a unit test of some simple code.
        Author: beAutomated
        Version: 0.1-alpha
        Author URI: http://www.beautomated.com/

add_action( 'admin_init', 'seantest_admin_init' );

function seantest_admin_init() {
        echo '<p>Before Unit Test</p>';
        echo '<p>After Unit Test</p>';


Change History (3)

#1 @rmccue
6 years ago

  • Milestone changed from Awaiting Review to 3.5
  • Priority changed from normal to high

Confirmed, regression in r22445, see #22445.

Version 0, edited 6 years ago by rmccue (next)

#2 @nacin
6 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 22464:

Revert [22445]. see #20376. fixes #22389.

#3 @SergeyBiryukov
6 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.