Make WordPress Core

Changeset 53876


Ignore:
Timestamp:
08/11/2022 01:53:51 PM (2 years ago)
Author:
johnbillion
Message:

Docs: Remove code tags from WordPress function names within inline documentation.

Removing these code tags means the function name will be automatically linked on the developer.wordpress.org reference, which is more useful than just seeing the function name.

See #55646

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugins-list-table.php

    r52979 r53876  
    903903             *                              'activate', 'deactivate', and 'delete'.
    904904             * @param string   $plugin_file Path to the plugin file relative to the plugins directory.
    905              * @param array    $plugin_data An array of plugin data. See `get_plugin_data()`
     905             * @param array    $plugin_data An array of plugin data. See get_plugin_data()
    906906             *                              and the {@see 'plugin_row_meta'} filter for the list
    907907             *                              of possible values.
     
    923923             *                              'activate', 'deactivate', and 'delete'.
    924924             * @param string   $plugin_file Path to the plugin file relative to the plugins directory.
    925              * @param array    $plugin_data An array of plugin data. See `get_plugin_data()`
     925             * @param array    $plugin_data An array of plugin data. See get_plugin_data()
    926926             *                              and the {@see 'plugin_row_meta'} filter for the list
    927927             *                              of possible values.
     
    945945             *                              this can also include 'network_active' and 'network_only' items.
    946946             * @param string   $plugin_file Path to the plugin file relative to the plugins directory.
    947              * @param array    $plugin_data An array of plugin data. See `get_plugin_data()`
     947             * @param array    $plugin_data An array of plugin data. See get_plugin_data()
    948948             *                              and the {@see 'plugin_row_meta'} filter for the list
    949949             *                              of possible values.
     
    967967             *                              this can also include 'network_active' and 'network_only' items.
    968968             * @param string   $plugin_file Path to the plugin file relative to the plugins directory.
    969              * @param array    $plugin_data An array of plugin data. See `get_plugin_data()`
     969             * @param array    $plugin_data An array of plugin data. See get_plugin_data()
    970970             *                              and the {@see 'plugin_row_meta'} filter for the list
    971971             *                              of possible values.
     
    12301230                     *                            time to next update.
    12311231                     * @param string $plugin_file Path to the plugin file relative to the plugins directory.
    1232                      * @param array  $plugin_data An array of plugin data. See `get_plugin_data()`
     1232                     * @param array  $plugin_data An array of plugin data. See get_plugin_data()
    12331233                     *                            and the {@see 'plugin_row_meta'} filter for the list
    12341234                     *                            of possible values.
     
    12521252                     * @param string $column_name Name of the column.
    12531253                     * @param string $plugin_file Path to the plugin file relative to the plugins directory.
    1254                      * @param array  $plugin_data An array of plugin data. See `get_plugin_data()`
     1254                     * @param array  $plugin_data An array of plugin data. See get_plugin_data()
    12551255                     *                            and the {@see 'plugin_row_meta'} filter for the list
    12561256                     *                            of possible values.
     
    13281328         *
    13291329         * @param string $plugin_file Path to the plugin file relative to the plugins directory.
    1330          * @param array  $plugin_data An array of plugin data. See `get_plugin_data()`
     1330         * @param array  $plugin_data An array of plugin data. See get_plugin_data()
    13311331         *                            and the {@see 'plugin_row_meta'} filter for the list
    13321332         *                            of possible values.
     
    13491349         *
    13501350         * @param string $plugin_file Path to the plugin file relative to the plugins directory.
    1351          * @param array  $plugin_data An array of plugin data. See `get_plugin_data()`
     1351         * @param array  $plugin_data An array of plugin data. See get_plugin_data()
    13521352         *                            and the {@see 'plugin_row_meta'} filter for the list
    13531353         *                            of possible values.
  • trunk/src/wp-admin/includes/dashboard.php

    r53383 r53876  
    17301730     * @param string      $notice   The notice content.
    17311731     * @param array|false $response An array containing web browser information, or
    1732      *                              false on failure. See `wp_check_browser_version()`.
     1732     *                              false on failure. See wp_check_browser_version().
    17331733     */
    17341734    echo apply_filters( 'browse-happy-notice', $notice, $response ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
  • trunk/src/wp-admin/includes/plugin.php

    r53555 r53876  
    128128 *
    129129 * @param string $plugin_file Path to the main plugin file.
    130  * @param array  $plugin_data An array of plugin data. See `get_plugin_data()`.
     130 * @param array  $plugin_data An array of plugin data. See get_plugin_data().
    131131 * @param bool   $markup      Optional. If the returned data should have HTML markup applied.
    132132 *                            Default true.
     
    270270 *
    271271 * @param string $plugin_folder Optional. Relative path to single plugin folder.
    272  * @return array[] Array of arrays of plugin data, keyed by plugin file name. See `get_plugin_data()`.
     272 * @return array[] Array of arrays of plugin data, keyed by plugin file name. See get_plugin_data().
    273273 */
    274274function get_plugins( $plugin_folder = '' ) {
     
    358358 *
    359359 * @since 3.0.0
    360  * @return array[] Array of arrays of mu-plugin data, keyed by plugin file name. See `get_plugin_data()`.
     360 * @return array[] Array of arrays of mu-plugin data, keyed by plugin file name. See get_plugin_data().
    361361 */
    362362function get_mu_plugins() {
     
    430430 *
    431431 * @since 3.0.0
    432  * @return array[] Array of arrays of dropin plugin data, keyed by plugin file name. See `get_plugin_data()`.
     432 * @return array[] Array of arrays of dropin plugin data, keyed by plugin file name. See get_plugin_data().
    433433 */
    434434function get_dropins() {
  • trunk/src/wp-includes/post-template.php

    r53715 r53876  
    11451145 *
    11461146 * @param array|string $args {
    1147  *     Optional. Array or string of arguments to generate a page dropdown. See `get_pages()` for additional arguments.
     1147 *     Optional. Array or string of arguments to generate a page dropdown. See get_pages() for additional arguments.
    11481148 *
    11491149 *     @type int          $depth                 Maximum depth. Default 0.
     
    12371237 *
    12381238 * @param array|string $args {
    1239  *     Optional. Array or string of arguments to generate a list of pages. See `get_pages()` for additional arguments.
     1239 *     Optional. Array or string of arguments to generate a list of pages. See get_pages() for additional arguments.
    12401240 *
    12411241 *     @type int          $child_of     Display only the sub-pages of a single page by ID. Default 0 (all pages).
     
    13681368 *
    13691369 * @param array|string $args {
    1370  *     Optional. Array or string of arguments to generate a page menu. See `wp_list_pages()` for additional arguments.
     1370 *     Optional. Array or string of arguments to generate a page menu. See wp_list_pages() for additional arguments.
    13711371 *
    13721372 *     @type string          $sort_column  How to sort the list of pages. Accepts post column names.
Note: See TracChangeset for help on using the changeset viewer.