mirror of
git://develop.git.wordpress.org/
synced 2025-03-19 19:39:51 +01:00
Docs: Various improvements to inline documentation.
Some checks failed
Cleanup Pull Requests / Clean up pull requests (push) Has been cancelled
Coding Standards / PHP coding standards (push) Has been cancelled
Coding Standards / JavaScript coding standards (push) Has been cancelled
End-to-end Tests / Test with SCRIPT_DEBUG disabled (push) Has been cancelled
End-to-end Tests / Test with SCRIPT_DEBUG enabled (push) Has been cancelled
JavaScript Tests / QUnit Tests (push) Has been cancelled
Performance Tests / Determine Matrix (push) Has been cancelled
PHP Compatibility / Check PHP compatibility (push) Has been cancelled
PHPUnit Tests / PHP 7.2 (push) Has been cancelled
PHPUnit Tests / PHP 7.3 (push) Has been cancelled
PHPUnit Tests / PHP 7.4 (push) Has been cancelled
PHPUnit Tests / PHP 8.0 (push) Has been cancelled
PHPUnit Tests / PHP 8.1 (push) Has been cancelled
PHPUnit Tests / PHP 8.2 (push) Has been cancelled
PHPUnit Tests / PHP 8.3 (push) Has been cancelled
PHPUnit Tests / PHP 8.4 (push) Has been cancelled
PHPUnit Tests / html-api-html5lib-tests (push) Has been cancelled
Test Build Processes / Core running from build (push) Has been cancelled
Test Build Processes / Core running from src (push) Has been cancelled
Test Build Processes / Gutenberg running from build (push) Has been cancelled
Test Build Processes / Gutenberg running from src (push) Has been cancelled
Upgrade Develop Version Tests / Build (push) Has been cancelled
Coding Standards / Slack Notifications (push) Has been cancelled
Coding Standards / Failed workflow tasks (push) Has been cancelled
End-to-end Tests / Slack Notifications (push) Has been cancelled
End-to-end Tests / Failed workflow tasks (push) Has been cancelled
JavaScript Tests / Slack Notifications (push) Has been cancelled
JavaScript Tests / Failed workflow tasks (push) Has been cancelled
Performance Tests / ${{ matrix.multisite && 'Multisite' || 'Single Site' }} ${{ matrix.memcached && 'Memcached' || 'Default' }} (push) Has been cancelled
Performance Tests / Compare (push) Has been cancelled
Performance Tests / Slack Notifications (push) Has been cancelled
Performance Tests / Failed workflow tasks (push) Has been cancelled
PHP Compatibility / Slack Notifications (push) Has been cancelled
PHP Compatibility / Failed workflow tasks (push) Has been cancelled
PHPUnit Tests / Slack Notifications (push) Has been cancelled
PHPUnit Tests / Failed workflow tasks (push) Has been cancelled
Test Build Processes / Slack Notifications (push) Has been cancelled
Test Build Processes / Failed workflow tasks (push) Has been cancelled
Upgrade Develop Version Tests / Upgrade from 6.5 (push) Has been cancelled
Upgrade Develop Version Tests / Upgrade from 6.6 (push) Has been cancelled
Upgrade Develop Version Tests / Upgrade from 6.7 (push) Has been cancelled
Upgrade Develop Version Tests / Slack Notifications (push) Has been cancelled
Upgrade Develop Version Tests / Failed workflow tasks (push) Has been cancelled
Installation Tests / Build Test Matrix (push) Has been cancelled
Installation Tests / WP ${{ inputs.wp-version || 'nightly' }} / PHP ${{ matrix.php }} / ${{ 'mariadb' == matrix.db-type && 'MariaDB' || 'MySQL' }} ${{ matrix.db-version }}${{ matrix.multisite && ' multisite' || '' }} (push) Has been cancelled
Installation Tests / Slack Notifications (push) Has been cancelled
Installation Tests / Failed workflow tasks (push) Has been cancelled
Some checks failed
Cleanup Pull Requests / Clean up pull requests (push) Has been cancelled
Coding Standards / PHP coding standards (push) Has been cancelled
Coding Standards / JavaScript coding standards (push) Has been cancelled
End-to-end Tests / Test with SCRIPT_DEBUG disabled (push) Has been cancelled
End-to-end Tests / Test with SCRIPT_DEBUG enabled (push) Has been cancelled
JavaScript Tests / QUnit Tests (push) Has been cancelled
Performance Tests / Determine Matrix (push) Has been cancelled
PHP Compatibility / Check PHP compatibility (push) Has been cancelled
PHPUnit Tests / PHP 7.2 (push) Has been cancelled
PHPUnit Tests / PHP 7.3 (push) Has been cancelled
PHPUnit Tests / PHP 7.4 (push) Has been cancelled
PHPUnit Tests / PHP 8.0 (push) Has been cancelled
PHPUnit Tests / PHP 8.1 (push) Has been cancelled
PHPUnit Tests / PHP 8.2 (push) Has been cancelled
PHPUnit Tests / PHP 8.3 (push) Has been cancelled
PHPUnit Tests / PHP 8.4 (push) Has been cancelled
PHPUnit Tests / html-api-html5lib-tests (push) Has been cancelled
Test Build Processes / Core running from build (push) Has been cancelled
Test Build Processes / Core running from src (push) Has been cancelled
Test Build Processes / Gutenberg running from build (push) Has been cancelled
Test Build Processes / Gutenberg running from src (push) Has been cancelled
Upgrade Develop Version Tests / Build (push) Has been cancelled
Coding Standards / Slack Notifications (push) Has been cancelled
Coding Standards / Failed workflow tasks (push) Has been cancelled
End-to-end Tests / Slack Notifications (push) Has been cancelled
End-to-end Tests / Failed workflow tasks (push) Has been cancelled
JavaScript Tests / Slack Notifications (push) Has been cancelled
JavaScript Tests / Failed workflow tasks (push) Has been cancelled
Performance Tests / ${{ matrix.multisite && 'Multisite' || 'Single Site' }} ${{ matrix.memcached && 'Memcached' || 'Default' }} (push) Has been cancelled
Performance Tests / Compare (push) Has been cancelled
Performance Tests / Slack Notifications (push) Has been cancelled
Performance Tests / Failed workflow tasks (push) Has been cancelled
PHP Compatibility / Slack Notifications (push) Has been cancelled
PHP Compatibility / Failed workflow tasks (push) Has been cancelled
PHPUnit Tests / Slack Notifications (push) Has been cancelled
PHPUnit Tests / Failed workflow tasks (push) Has been cancelled
Test Build Processes / Slack Notifications (push) Has been cancelled
Test Build Processes / Failed workflow tasks (push) Has been cancelled
Upgrade Develop Version Tests / Upgrade from 6.5 (push) Has been cancelled
Upgrade Develop Version Tests / Upgrade from 6.6 (push) Has been cancelled
Upgrade Develop Version Tests / Upgrade from 6.7 (push) Has been cancelled
Upgrade Develop Version Tests / Slack Notifications (push) Has been cancelled
Upgrade Develop Version Tests / Failed workflow tasks (push) Has been cancelled
Installation Tests / Build Test Matrix (push) Has been cancelled
Installation Tests / WP ${{ inputs.wp-version || 'nightly' }} / PHP ${{ matrix.php }} / ${{ 'mariadb' == matrix.db-type && 'MariaDB' || 'MySQL' }} ${{ matrix.db-version }}${{ matrix.multisite && ' multisite' || '' }} (push) Has been cancelled
Installation Tests / Slack Notifications (push) Has been cancelled
Installation Tests / Failed workflow tasks (push) Has been cancelled
See #62281 git-svn-id: https://develop.svn.wordpress.org/trunk@59896 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f6b55440a6
commit
3e56dfc905
@ -625,7 +625,7 @@ function show_message( $message ) {
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param string $content
|
||||
* @return array
|
||||
* @return string[] Array of function names.
|
||||
*/
|
||||
function wp_doc_link_parse( $content ) {
|
||||
if ( ! is_string( $content ) || empty( $content ) ) {
|
||||
|
@ -493,7 +493,13 @@ function edit_post( $post_data = null ) {
|
||||
*
|
||||
* @param array|null $post_data Optional. The array of post data to process.
|
||||
* Defaults to the `$_POST` superglobal.
|
||||
* @return array
|
||||
* @return array {
|
||||
* An array of updated, skipped, and locked post IDs.
|
||||
*
|
||||
* @type int[] $updated An array of updated post IDs.
|
||||
* @type int[] $skipped An array of skipped post IDs.
|
||||
* @type int[] $locked An array of locked post IDs.
|
||||
* }
|
||||
*/
|
||||
function bulk_edit_posts( $post_data = null ) {
|
||||
global $wpdb;
|
||||
@ -1211,7 +1217,7 @@ function get_available_post_statuses( $type = 'post' ) {
|
||||
*
|
||||
* @param array|false $q Optional. Array of query variables to use to build the query.
|
||||
* Defaults to the `$_GET` superglobal.
|
||||
* @return array
|
||||
* @return string[] An array of all the statuses for the queried post type.
|
||||
*/
|
||||
function wp_edit_posts_query( $q = false ) {
|
||||
if ( false === $q ) {
|
||||
@ -1383,7 +1389,12 @@ function wp_edit_attachments_query_vars( $q = false ) {
|
||||
*
|
||||
* @param array|false $q Optional. Array of query variables to use to build the query.
|
||||
* Defaults to the `$_GET` superglobal.
|
||||
* @return array
|
||||
* @return array {
|
||||
* Array containing the post mime types and available post mime types.
|
||||
*
|
||||
* @type array[] $post_mime_types Post mime types.
|
||||
* @type string[] $avail_post_mime_types Available post mime types.
|
||||
* }
|
||||
*/
|
||||
function wp_edit_attachments_query( $q = false ) {
|
||||
wp( wp_edit_attachments_query_vars( $q ) );
|
||||
|
@ -313,7 +313,7 @@ function get_users_drafts( $user_id ) {
|
||||
$query = $wpdb->prepare( "SELECT ID, post_title FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'draft' AND post_author = %d ORDER BY post_modified DESC", $user_id );
|
||||
|
||||
/**
|
||||
* Filters the user's drafts query string.
|
||||
* Filters the SQL query string for the user's drafts query.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
|
@ -2095,7 +2095,7 @@ function wp_style_loader_src( $src, $handle ) {
|
||||
*
|
||||
* @global bool $concatenate_scripts
|
||||
*
|
||||
* @return array
|
||||
* @return string[] Handles of the scripts that were printed.
|
||||
*/
|
||||
function print_head_scripts() {
|
||||
global $concatenate_scripts;
|
||||
@ -2134,7 +2134,7 @@ function print_head_scripts() {
|
||||
* @global WP_Scripts $wp_scripts
|
||||
* @global bool $concatenate_scripts
|
||||
*
|
||||
* @return array
|
||||
* @return string[] Handles of the scripts that were printed.
|
||||
*/
|
||||
function print_footer_scripts() {
|
||||
global $wp_scripts, $concatenate_scripts;
|
||||
@ -2215,7 +2215,7 @@ function _print_scripts() {
|
||||
*
|
||||
* @global WP_Scripts $wp_scripts
|
||||
*
|
||||
* @return array
|
||||
* @return string[] Handles of the scripts that were printed.
|
||||
*/
|
||||
function wp_print_head_scripts() {
|
||||
global $wp_scripts;
|
||||
@ -2280,7 +2280,7 @@ function wp_enqueue_scripts() {
|
||||
*
|
||||
* @global bool $concatenate_scripts
|
||||
*
|
||||
* @return array
|
||||
* @return string[] Handles of the styles that were printed.
|
||||
*/
|
||||
function print_admin_styles() {
|
||||
global $concatenate_scripts;
|
||||
|
@ -891,7 +891,12 @@ function wp_get_translation_updates() {
|
||||
*
|
||||
* @since 3.3.0
|
||||
*
|
||||
* @return array
|
||||
* @return array {
|
||||
* Fetched update data.
|
||||
*
|
||||
* @type int[] $counts An array of counts for available plugin, theme, and WordPress updates.
|
||||
* @type string $update_title Titles of available updates.
|
||||
* }
|
||||
*/
|
||||
function wp_get_update_data() {
|
||||
$counts = array(
|
||||
|
@ -1462,7 +1462,7 @@ abstract class WP_UnitTestCase_Base extends PHPUnit_Adapter_TestCase {
|
||||
* @since 4.0.0
|
||||
*
|
||||
* @param string $dir Path to the directory to scan.
|
||||
* @return array List of file paths.
|
||||
* @return string[] List of file paths.
|
||||
*/
|
||||
public function files_in_dir( $dir ) {
|
||||
$files = array();
|
||||
@ -1483,7 +1483,7 @@ abstract class WP_UnitTestCase_Base extends PHPUnit_Adapter_TestCase {
|
||||
*
|
||||
* @since 4.0.0
|
||||
*
|
||||
* @return array List of file paths.
|
||||
* @return string[] List of file paths.
|
||||
*/
|
||||
public function scan_user_uploads() {
|
||||
static $files = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user