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 Built from https://develop.svn.wordpress.org/trunk@53876 git-svn-id: http://core.svn.wordpress.org/trunk@53435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8f513bba30
commit
bbdc255d50
|
@ -902,7 +902,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||||
* @param string[] $actions An array of plugin action links. By default this can include
|
* @param string[] $actions An array of plugin action links. By default this can include
|
||||||
* 'activate', 'deactivate', and 'delete'.
|
* 'activate', 'deactivate', and 'delete'.
|
||||||
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
||||||
* @param array $plugin_data An array of plugin data. See `get_plugin_data()`
|
* @param array $plugin_data An array of plugin data. See get_plugin_data()
|
||||||
* and the {@see 'plugin_row_meta'} filter for the list
|
* and the {@see 'plugin_row_meta'} filter for the list
|
||||||
* of possible values.
|
* of possible values.
|
||||||
* @param string $context The plugin context. By default this can include 'all',
|
* @param string $context The plugin context. By default this can include 'all',
|
||||||
|
@ -922,7 +922,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||||
* @param string[] $actions An array of plugin action links. By default this can include
|
* @param string[] $actions An array of plugin action links. By default this can include
|
||||||
* 'activate', 'deactivate', and 'delete'.
|
* 'activate', 'deactivate', and 'delete'.
|
||||||
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
||||||
* @param array $plugin_data An array of plugin data. See `get_plugin_data()`
|
* @param array $plugin_data An array of plugin data. See get_plugin_data()
|
||||||
* and the {@see 'plugin_row_meta'} filter for the list
|
* and the {@see 'plugin_row_meta'} filter for the list
|
||||||
* of possible values.
|
* of possible values.
|
||||||
* @param string $context The plugin context. By default this can include 'all',
|
* @param string $context The plugin context. By default this can include 'all',
|
||||||
|
@ -944,7 +944,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||||
* 'activate', 'deactivate', and 'delete'. With Multisite active
|
* 'activate', 'deactivate', and 'delete'. With Multisite active
|
||||||
* this can also include 'network_active' and 'network_only' items.
|
* this can also include 'network_active' and 'network_only' items.
|
||||||
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
||||||
* @param array $plugin_data An array of plugin data. See `get_plugin_data()`
|
* @param array $plugin_data An array of plugin data. See get_plugin_data()
|
||||||
* and the {@see 'plugin_row_meta'} filter for the list
|
* and the {@see 'plugin_row_meta'} filter for the list
|
||||||
* of possible values.
|
* of possible values.
|
||||||
* @param string $context The plugin context. By default this can include 'all',
|
* @param string $context The plugin context. By default this can include 'all',
|
||||||
|
@ -966,7 +966,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||||
* 'activate', 'deactivate', and 'delete'. With Multisite active
|
* 'activate', 'deactivate', and 'delete'. With Multisite active
|
||||||
* this can also include 'network_active' and 'network_only' items.
|
* this can also include 'network_active' and 'network_only' items.
|
||||||
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
||||||
* @param array $plugin_data An array of plugin data. See `get_plugin_data()`
|
* @param array $plugin_data An array of plugin data. See get_plugin_data()
|
||||||
* and the {@see 'plugin_row_meta'} filter for the list
|
* and the {@see 'plugin_row_meta'} filter for the list
|
||||||
* of possible values.
|
* of possible values.
|
||||||
* @param string $context The plugin context. By default this can include 'all',
|
* @param string $context The plugin context. By default this can include 'all',
|
||||||
|
@ -1229,7 +1229,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||||
* including toggle auto-update action links and
|
* including toggle auto-update action links and
|
||||||
* time to next update.
|
* time to next update.
|
||||||
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
||||||
* @param array $plugin_data An array of plugin data. See `get_plugin_data()`
|
* @param array $plugin_data An array of plugin data. See get_plugin_data()
|
||||||
* and the {@see 'plugin_row_meta'} filter for the list
|
* and the {@see 'plugin_row_meta'} filter for the list
|
||||||
* of possible values.
|
* of possible values.
|
||||||
*/
|
*/
|
||||||
|
@ -1251,7 +1251,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||||
*
|
*
|
||||||
* @param string $column_name Name of the column.
|
* @param string $column_name Name of the column.
|
||||||
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
||||||
* @param array $plugin_data An array of plugin data. See `get_plugin_data()`
|
* @param array $plugin_data An array of plugin data. See get_plugin_data()
|
||||||
* and the {@see 'plugin_row_meta'} filter for the list
|
* and the {@see 'plugin_row_meta'} filter for the list
|
||||||
* of possible values.
|
* of possible values.
|
||||||
*/
|
*/
|
||||||
|
@ -1327,7 +1327,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||||
* to possible values for `$status`.
|
* to possible values for `$status`.
|
||||||
*
|
*
|
||||||
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
||||||
* @param array $plugin_data An array of plugin data. See `get_plugin_data()`
|
* @param array $plugin_data An array of plugin data. See get_plugin_data()
|
||||||
* and the {@see 'plugin_row_meta'} filter for the list
|
* and the {@see 'plugin_row_meta'} filter for the list
|
||||||
* of possible values.
|
* of possible values.
|
||||||
* @param string $status Status filter currently applied to the plugin list.
|
* @param string $status Status filter currently applied to the plugin list.
|
||||||
|
@ -1348,7 +1348,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||||
* to possible values for `$status`.
|
* to possible values for `$status`.
|
||||||
*
|
*
|
||||||
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
* @param string $plugin_file Path to the plugin file relative to the plugins directory.
|
||||||
* @param array $plugin_data An array of plugin data. See `get_plugin_data()`
|
* @param array $plugin_data An array of plugin data. See get_plugin_data()
|
||||||
* and the {@see 'plugin_row_meta'} filter for the list
|
* and the {@see 'plugin_row_meta'} filter for the list
|
||||||
* of possible values.
|
* of possible values.
|
||||||
* @param string $status Status filter currently applied to the plugin list.
|
* @param string $status Status filter currently applied to the plugin list.
|
||||||
|
|
|
@ -1729,7 +1729,7 @@ function wp_dashboard_browser_nag() {
|
||||||
*
|
*
|
||||||
* @param string $notice The notice content.
|
* @param string $notice The notice content.
|
||||||
* @param array|false $response An array containing web browser information, or
|
* @param array|false $response An array containing web browser information, or
|
||||||
* false on failure. See `wp_check_browser_version()`.
|
* false on failure. See wp_check_browser_version().
|
||||||
*/
|
*/
|
||||||
echo apply_filters( 'browse-happy-notice', $notice, $response ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
echo apply_filters( 'browse-happy-notice', $notice, $response ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||||
}
|
}
|
||||||
|
|
|
@ -127,7 +127,7 @@ function get_plugin_data( $plugin_file, $markup = true, $translate = true ) {
|
||||||
* @access private
|
* @access private
|
||||||
*
|
*
|
||||||
* @param string $plugin_file Path to the main plugin file.
|
* @param string $plugin_file Path to the main plugin file.
|
||||||
* @param array $plugin_data An array of plugin data. See `get_plugin_data()`.
|
* @param array $plugin_data An array of plugin data. See get_plugin_data().
|
||||||
* @param bool $markup Optional. If the returned data should have HTML markup applied.
|
* @param bool $markup Optional. If the returned data should have HTML markup applied.
|
||||||
* Default true.
|
* Default true.
|
||||||
* @param bool $translate Optional. If the returned data should be translated. Default true.
|
* @param bool $translate Optional. If the returned data should be translated. Default true.
|
||||||
|
@ -269,7 +269,7 @@ function get_plugin_files( $plugin ) {
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
* @param string $plugin_folder Optional. Relative path to single plugin folder.
|
* @param string $plugin_folder Optional. Relative path to single plugin folder.
|
||||||
* @return array[] Array of arrays of plugin data, keyed by plugin file name. See `get_plugin_data()`.
|
* @return array[] Array of arrays of plugin data, keyed by plugin file name. See get_plugin_data().
|
||||||
*/
|
*/
|
||||||
function get_plugins( $plugin_folder = '' ) {
|
function get_plugins( $plugin_folder = '' ) {
|
||||||
|
|
||||||
|
@ -357,7 +357,7 @@ function get_plugins( $plugin_folder = '' ) {
|
||||||
* WordPress only includes mu-plugin files in the base mu-plugins directory (wp-content/mu-plugins).
|
* WordPress only includes mu-plugin files in the base mu-plugins directory (wp-content/mu-plugins).
|
||||||
*
|
*
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
* @return array[] Array of arrays of mu-plugin data, keyed by plugin file name. See `get_plugin_data()`.
|
* @return array[] Array of arrays of mu-plugin data, keyed by plugin file name. See get_plugin_data().
|
||||||
*/
|
*/
|
||||||
function get_mu_plugins() {
|
function get_mu_plugins() {
|
||||||
$wp_plugins = array();
|
$wp_plugins = array();
|
||||||
|
@ -429,7 +429,7 @@ function _sort_uname_callback( $a, $b ) {
|
||||||
* Checks the wp-content directory and retrieve all drop-ins with any plugin data.
|
* Checks the wp-content directory and retrieve all drop-ins with any plugin data.
|
||||||
*
|
*
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
* @return array[] Array of arrays of dropin plugin data, keyed by plugin file name. See `get_plugin_data()`.
|
* @return array[] Array of arrays of dropin plugin data, keyed by plugin file name. See get_plugin_data().
|
||||||
*/
|
*/
|
||||||
function get_dropins() {
|
function get_dropins() {
|
||||||
$dropins = array();
|
$dropins = array();
|
||||||
|
|
|
@ -1144,7 +1144,7 @@ function the_meta() {
|
||||||
* @see get_pages()
|
* @see get_pages()
|
||||||
*
|
*
|
||||||
* @param array|string $args {
|
* @param array|string $args {
|
||||||
* Optional. Array or string of arguments to generate a page dropdown. See `get_pages()` for additional arguments.
|
* Optional. Array or string of arguments to generate a page dropdown. See get_pages() for additional arguments.
|
||||||
*
|
*
|
||||||
* @type int $depth Maximum depth. Default 0.
|
* @type int $depth Maximum depth. Default 0.
|
||||||
* @type int $child_of Page ID to retrieve child pages of. Default 0.
|
* @type int $child_of Page ID to retrieve child pages of. Default 0.
|
||||||
|
@ -1236,7 +1236,7 @@ function wp_dropdown_pages( $args = '' ) {
|
||||||
* @global WP_Query $wp_query WordPress Query object.
|
* @global WP_Query $wp_query WordPress Query object.
|
||||||
*
|
*
|
||||||
* @param array|string $args {
|
* @param array|string $args {
|
||||||
* Optional. Array or string of arguments to generate a list of pages. See `get_pages()` for additional arguments.
|
* Optional. Array or string of arguments to generate a list of pages. See get_pages() for additional arguments.
|
||||||
*
|
*
|
||||||
* @type int $child_of Display only the sub-pages of a single page by ID. Default 0 (all pages).
|
* @type int $child_of Display only the sub-pages of a single page by ID. Default 0 (all pages).
|
||||||
* @type string $authors Comma-separated list of author IDs. Default empty (all authors).
|
* @type string $authors Comma-separated list of author IDs. Default empty (all authors).
|
||||||
|
@ -1367,7 +1367,7 @@ function wp_list_pages( $args = '' ) {
|
||||||
* @since 4.7.0 Added the `item_spacing` argument.
|
* @since 4.7.0 Added the `item_spacing` argument.
|
||||||
*
|
*
|
||||||
* @param array|string $args {
|
* @param array|string $args {
|
||||||
* Optional. Array or string of arguments to generate a page menu. See `wp_list_pages()` for additional arguments.
|
* Optional. Array or string of arguments to generate a page menu. See wp_list_pages() for additional arguments.
|
||||||
*
|
*
|
||||||
* @type string $sort_column How to sort the list of pages. Accepts post column names.
|
* @type string $sort_column How to sort the list of pages. Accepts post column names.
|
||||||
* Default 'menu_order, post_title'.
|
* Default 'menu_order, post_title'.
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.1-alpha-53875';
|
$wp_version = '6.1-alpha-53876';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue