Skip to content

Commit c660027

Browse files
committed
Docs: Add a few missing @since tags.
See #63166 git-svn-id: https://develop.svn.wordpress.org/trunk@60416 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 4014d16 commit c660027

File tree

11 files changed

+22
-0
lines changed

11 files changed

+22
-0
lines changed

src/wp-admin/includes/class-wp-screen.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,8 @@ public function render_screen_meta() {
986986
/**
987987
* @global array $wp_meta_boxes Global meta box state.
988988
*
989+
* @since 3.3.0
990+
*
989991
* @return bool
990992
*/
991993
public function show_screen_options() {

src/wp-admin/includes/comment.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ function enqueue_comment_hotkeys_js() {
210210
/**
211211
* Displays error message at bottom of comments.
212212
*
213+
* @since 2.5.0
214+
*
213215
* @param string $msg Error Message. Assumed to contain HTML and be sanitized.
214216
*/
215217
function comment_footer_die( $msg ) {

src/wp-admin/includes/misc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,8 @@ function admin_color_scheme_picker( $user_id ) {
10591059
/**
10601060
*
10611061
* @global array $_wp_admin_css_colors
1062+
*
1063+
* @since 3.8.0
10621064
*/
10631065
function wp_color_scheme_settings() {
10641066
global $_wp_admin_css_colors;

src/wp-admin/includes/ms.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,8 @@ function _thickbox_path_admin_subfolder() {
854854
}
855855

856856
/**
857+
* @since 3.0.0
858+
*
857859
* @param array $users
858860
* @return bool
859861
*/

src/wp-admin/includes/template.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2632,6 +2632,8 @@ function get_submit_button( $text = '', $type = 'primary large', $name = 'submit
26322632
* Prints out the beginning of the admin HTML header.
26332633
*
26342634
* @global bool $is_IE
2635+
*
2636+
* @since 3.3.0
26352637
*/
26362638
function _wp_admin_html_begin() {
26372639
global $is_IE;

src/wp-includes/class-wp-user-meta-session-tokens.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ protected function get_sessions() {
3737
/**
3838
* Converts an expiration to an array of session information.
3939
*
40+
* @since 4.0.0
41+
*
4042
* @param mixed $session Session or expiration.
4143
* @return array Session.
4244
*/

src/wp-includes/functions.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5198,6 +5198,8 @@ function _wp_array_set( &$input_array, $path, $value = null ) {
51985198
* Changes to this function should follow updates in the client
51995199
* with the same logic.
52005200
*
5201+
* @since 5.8.0
5202+
*
52015203
* @link https://github.com/lodash/lodash/blob/4.17/dist/lodash.js#L14369
52025204
* @link https://github.com/lodash/lodash/blob/4.17/dist/lodash.js#L278
52035205
* @link https://github.com/lodash-php/lodash-php/blob/master/src/String/kebabCase.php

src/wp-includes/interactivity-api/class-wp-interactivity-api-directives-processor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ public function set_content_between_balanced_tags( string $new_content ): bool {
9292
* It positions the cursor in the closer tag of the balanced template tag,
9393
* if it exists.
9494
*
95+
* @since 6.5.0
96+
*
9597
* @access private
9698
*
9799
* @param string $new_content The string to append after the closing template tag.

src/wp-includes/interactivity-api/class-wp-interactivity-api.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,8 @@ private function extract_directive_value( $directive_value, $default_namespace =
744744
/**
745745
* Transforms a kebab-case string to camelCase.
746746
*
747+
* @since 6.5.0
748+
*
747749
* @param string $str The kebab-case string to transform to camelCase.
748750
* @return string The transformed camelCase string.
749751
*/

src/wp-includes/media.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5565,6 +5565,8 @@ function wpview_media_sandbox_styles() {
55655565
/**
55665566
* Registers the personal data exporter for media.
55675567
*
5568+
* @since 4.9.6
5569+
*
55685570
* @param array[] $exporters An array of personal data exporters, keyed by their ID.
55695571
* @return array[] Updated array of personal data exporters.
55705572
*/

0 commit comments

Comments
 (0)