Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#23896 closed defect (bug) (fixed)

Post Formats: "Localize" the right script

Reported by: ocean90's profile ocean90 Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.6
Component: Post Formats Keywords: has-patch commit
Focuses: Cc:

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

Download all attachments as: .zip

Change History (3)

@ocean90
12 years ago

#1 @SergeyBiryukov
12 years ago

  • Keywords commit added

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