Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#25326 closed defect (bug) (fixed)

Unknown version for wp_script_is() and wp_style_is()

Reported by: jdgrimes's profile jdgrimes Owned by: kpdesign's profile 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 11 years ago.
Changes to @since 2.8.0
25326.1-scripts.diff (8.9 KB) - added by kpdesign 11 years ago.
Functional docs changes for functions.wp-scripts.php
25326.2-styles.diff (10.6 KB) - added by kpdesign 11 years ago.
Functional docs changes for functions.wp-styles.php

Download all attachments as: .zip

Change History (12)

#1 @SergeyBiryukov
11 years ago

  • Milestone changed from Awaiting Review to 3.7

@jdgrimes
11 years ago

Changes to @since 2.8.0

#2 @jdgrimes
11 years ago

  • Keywords has-patch added; needs-patch removed

#3 @SergeyBiryukov
11 years ago

In 25449:

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

#4 follow-up: @SergeyBiryukov
11 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
11 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
11 years ago

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

#7 @DrewAPicture
11 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
11 years ago

Functional docs changes for functions.wp-scripts.php

@kpdesign
11 years ago

Functional docs changes for functions.wp-styles.php

#8 @kpdesign
11 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 11 years ago by DrewAPicture (previous) (diff)

#9 @DrewAPicture
11 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.