Make WordPress Core

Changeset 55753


Ignore:
Timestamp:
05/12/2023 09:33:08 PM (19 months ago)
Author:
johnbillion
Message:

Docs: Various corrections and improvements to inline docs and docblocks.

See #57840

Location:
trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-activate.php

    r55515 r55753  
    8888function do_activate_header() {
    8989    /**
    90      * Fires before the Site Activation page is loaded.
     90     * Fires within the `<head>` section of the Site Activation page.
    9191     *
    9292     * Fires on the {@see 'wp_head'} action.
  • trunk/src/wp-admin/includes/deprecated.php

    r55653 r55753  
    198198 *
    199199 * @param string $filename
    200 **/
     200 */
    201201function codepress_get_lang( $filename ) {
    202202    _deprecated_function( __FUNCTION__, '3.0.0' );
     
    208208 * @since 2.8.0
    209209 * @deprecated 3.0.0
    210 **/
     210 */
    211211function codepress_footer_js() {
    212212    _deprecated_function( __FUNCTION__, '3.0.0' );
     
    218218 * @since 2.8.0
    219219 * @deprecated 3.0.0
    220 **/
     220 */
    221221function use_codepress() {
    222222    _deprecated_function( __FUNCTION__, '3.0.0' );
  • trunk/src/wp-admin/includes/media.php

    r55703 r55753  
    255255 * @access private
    256256 * @since 3.4.0
     257 *
     258 * @param array $matches Single regex match.
     259 * @return string Cleaned up HTML for caption.
    257260 */
    258261function _cleanup_image_add_caption( $matches ) {
  • trunk/src/wp-admin/includes/ms.php

    r55694 r55753  
    849849/**
    850850 * @param array $users
     851 * @return bool
    851852 */
    852853function confirm_delete_users( $users ) {
  • trunk/src/wp-admin/includes/widgets.php

    r55276 r55753  
    6868 * @access private
    6969 *
     70 * @param array $a First array.
     71 * @param array $b Second array.
    7072 * @return int
    7173 */
  • trunk/src/wp-includes/class-simplepie.php

    r55703 r55753  
    2121 *
    2222 * @since 3.5.0
     23 *
     24 * @param string $class Class name.
    2325 */
    2426function wp_simplepie_autoload( $class ) {
  • trunk/src/wp-includes/comment.php

    r55749 r55753  
    29822982 *
    29832983 * @param int|WP_Post $post Post ID or object to do trackbacks on.
     2984 * @return void|false Returns false on failure.
    29842985 */
    29852986function do_trackbacks( $post ) {
  • trunk/src/wp-includes/deprecated.php

    r55732 r55753  
    39173917 * @since 2.6.0
    39183918 * @deprecated 4.9.0
    3919  *
     3919 * @return string
    39203920 */
    39213921function get_shortcut_link() {
  • trunk/src/wp-includes/feed.php

    r53539 r55753  
    748748 *
    749749 * @param string $type Type of feed. Possible values include 'rss', rss2', 'atom', and 'rdf'.
     750 * @return string Content type for specified feed type.
    750751 */
    751752function feed_content_type( $type = '' ) {
  • trunk/src/wp-includes/plugin.php

    r55703 r55753  
    708708 * @param string $replacement Optional. The hook that should have been used. Default empty.
    709709 * @param string $message     Optional. A message regarding the change. Default empty.
     710 * @return mixed The filtered value after all hooked functions are applied to it.
    710711 */
    711712function apply_filters_deprecated( $hook_name, $args, $version, $replacement = '', $message = '' ) {
  • trunk/tests/phpunit/tests/theme/wpThemeJsonResolver.php

    r55613 r55753  
    954954     *
    955955     * @covers WP_Theme_JSON_Resolver::get_style_variations
    956      **/
     956     */
    957957    public function test_get_style_variations_returns_all_variations() {
    958958        // Switch to a child theme.
Note: See TracChangeset for help on using the changeset viewer.