Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#23896 closed defect (bug) (fixed)

Post Formats: "Localize" the right script

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

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

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
14 years ago

  • Keywords commit added

#2 @SergeyBiryukov
14 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 23868:

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

Note: See TracTickets for help on using tickets.