WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#23896 closed defect (bug) (fixed)

Post Formats: "Localize" the right script

Reported by: ocean90 Owned by: SergeyBiryukov
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.6
Component: Post Formats Keywords: has-patch commit
Focuses: Cc:
PR Number:

Description

The currentPostFormat variable should be added to the post-formats.js script.

Patch also prevents a notice on the edit screen for media.

Notice: Undefined variable: active_post_type_slug in /wp-admin/edit-form-advanced.php

Attachments (1)

23896.patch (1.3 KB) - added by ocean90 7 years ago.

Download all attachments as: .zip

Change History (3)

@ocean90
7 years ago

#1 @SergeyBiryukov
7 years ago

  • Keywords commit added

#2 @SergeyBiryukov
7 years ago

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

In 23868:

Fix incorrect script handle and a notice. props ocean90. fixes #23896.

Note: See TracTickets for help on using tickets.