Make WordPress Core

Opened 8 years ago

Closed 8 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:


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 8 years ago.

Download all attachments as: .zip

Change History (3)

8 years ago

#1 @SergeyBiryukov
8 years ago

  • Keywords commit added

#2 @SergeyBiryukov
8 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.