WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#25326 closed defect (bug) (fixed)

Unknown version for wp_script_is() and wp_style_is()

Reported by: jdgrimes Owned by: kpdesign
Milestone: 3.7 Priority: normal
Severity: normal Version:
Component: Inline Docs Keywords: has-patch
Focuses: Cc:

Description

The docblocks for wp_script_is() and wp_style_is() currently say

* @since WP unknown; BP unknown

The functions were added in 2.8.0 - http://core.trac.wordpress.org/ticket/6197

Attachments (3)

25326.diff (1.1 KB) - added by jdgrimes 8 years ago.
Changes to @since 2.8.0
25326.1-scripts.diff (8.9 KB) - added by kpdesign 8 years ago.
Functional docs changes for functions.wp-scripts.php
25326.2-styles.diff (10.6 KB) - added by kpdesign 8 years ago.
Functional docs changes for functions.wp-styles.php

Download all attachments as: .zip

Change History (12)

#1 @SergeyBiryukov
8 years ago

  • Milestone changed from Awaiting Review to 3.7

@jdgrimes
8 years ago

Changes to @since 2.8.0

#2 @jdgrimes
8 years ago

  • Keywords has-patch added; needs-patch removed

#3 @SergeyBiryukov
8 years ago

In 25449:

Update @since for wp_script_is() and wp_style_is(). props jdgrimes. see #25326.

#4 follow-up: @SergeyBiryukov
8 years ago

We should probably add proper @since references for other functions in those files.

Not sure if @since r79 from BackPress is still relevant.

#5 in reply to: ↑ 4 @DrewAPicture
8 years ago

Replying to SergeyBiryukov:

We should probably add proper @since references for other functions in those files.

Not sure if @since r79 from BackPress is still relevant.

@kpdesign is working on expanded docs for this file.

#6 @DrewAPicture
8 years ago

  • Cc xoodrew@… added
  • Owner set to kpdesign
  • Status changed from new to assigned

#7 @DrewAPicture
8 years ago

  • Summary changed from Uknown version for wp_script_is() and wp_style_is() to Unknown version for wp_script_is() and wp_style_is()

@kpdesign
8 years ago

Functional docs changes for functions.wp-scripts.php

@kpdesign
8 years ago

Functional docs changes for functions.wp-styles.php

#8 @kpdesign
8 years ago

Uploaded patches for functional docs changes for functions.wp-scripts.php 25326.1-scripts.diff and functions.wp-styles.php 25326.2-styles.diff.

Last edited 8 years ago by DrewAPicture (previous) (diff)

#9 @DrewAPicture
8 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

I'm thinking we should split the functions.wp-styles.php and functions.wp-scripts.php functional changes out to new tickets.

Closing as fixed as of [25449].

Note: See TracTickets for help on using tickets.