Changeset 49120
- Timestamp:
- 10/10/2020 08:00:30 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r49108 r49120 177 177 * 178 178 * @param string $html The image HTML markup to send. 179 * @param int eger$id Image attachment ID.179 * @param int $id Image attachment ID. 180 180 * @param string $caption Image caption. 181 181 * @param string $title Image title attribute (not used). … … 1320 1320 * 1321 1321 * @param string $html 1322 * @param int eger$attachment_id1322 * @param int $attachment_id 1323 1323 * @param array $attachment 1324 1324 * @return string … … 2276 2276 * @param string $type 2277 2277 * @param object $errors 2278 * @param int eger$id2278 * @param int $id 2279 2279 */ 2280 2280 function media_upload_type_form( $type = 'file', $errors = null, $id = null ) { … … 2350 2350 * @param string $type 2351 2351 * @param object $errors 2352 * @param int eger$id2352 * @param int $id 2353 2353 */ 2354 2354 function media_upload_type_url_form( $type = null, $errors = null, $id = null ) { -
trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php
r49108 r49120 129 129 * @since Twenty Fourteen 1.0 130 130 * 131 * @return bool eantrue if blog has more than 1 category131 * @return bool true if blog has more than 1 category 132 132 */ 133 133 function twentyfourteen_categorized_blog() { -
trunk/src/wp-content/themes/twentyseventeen/inc/template-tags.php
r48104 r49120 128 128 * 129 129 * @param WP_Customize_Partial $partial Partial associated with a selective refresh request. 130 * @param int eger$id Front page section to display.130 * @param int $id Front page section to display. 131 131 */ 132 132 function twentyseventeen_front_page_section( $partial = null, $id = 0 ) { -
trunk/src/wp-content/themes/twentythirteen/functions.php
r48782 r49120 516 516 * @since Twenty Thirteen 1.0 517 517 * 518 * @param bool ean$echo (optional) Whether to echo the date. Default true.518 * @param bool $echo (optional) Whether to echo the date. Default true. 519 519 * @return string The HTML-formatted post date. 520 520 */ -
trunk/src/wp-content/themes/twentytwenty/inc/template-tags.php
r48199 r49120 27 27 * 28 28 * @param array $args Arguments for displaying the site logo either as an image or text. 29 * @param bool ean$echo Echo or return the HTML.29 * @param bool $echo Echo or return the HTML. 30 30 * @return string Compiled HTML based on our arguments. 31 31 */ … … 89 89 * Displays the site description. 90 90 * 91 * @param bool ean$echo Echo or return the html.91 * @param bool $echo Echo or return the html. 92 92 * @return string The HTML to display. 93 93 */ -
trunk/src/wp-includes/Text/Diff.php
r32990 r49120 76 76 * @since Text_Diff 1.1.0 77 77 * 78 * @return int egerThe number of new lines78 * @return int The number of new lines 79 79 */ 80 80 function countAddedLines() … … 95 95 * @since Text_Diff 1.1.0 96 96 * 97 * @return int egerThe number of deleted lines97 * @return int The number of deleted lines 98 98 */ 99 99 function countDeletedLines() … … 140 140 * Checks for an empty diff. 141 141 * 142 * @return bool eanTrue if two sequences were identical.142 * @return bool True if two sequences were identical. 143 143 */ 144 144 function isEmpty() … … 157 157 * This is mostly for diagnostic purposes. 158 158 * 159 * @return int egerThe length of the LCS.159 * @return int The length of the LCS. 160 160 */ 161 161 function lcs() … … 211 211 * 212 212 * @param string $line The line to trim. 213 * @param int eger $keyThe index of the line in the array. Not used.213 * @param int $key The index of the line in the array. Not used. 214 214 */ 215 215 static function trimNewlines(&$line, $key) -
trunk/src/wp-includes/blocks.php
r48794 r49120 813 813 * label, style (name of the stylesheet to be enqueued), 814 814 * inline_style (string containing the CSS to be added). 815 * @return bool eanTrue if the block style was registered with success and false otherwise.815 * @return bool True if the block style was registered with success and false otherwise. 816 816 */ 817 817 function register_block_style( $block_name, $style_properties ) { … … 826 826 * @param string $block_name Block type name including namespace. 827 827 * @param array $block_style_name Block style name. 828 * @return bool eanTrue if the block style was unregistered with success and false otherwise.828 * @return bool True if the block style was unregistered with success and false otherwise. 829 829 */ 830 830 function unregister_block_style( $block_name, $block_style_name ) { -
trunk/src/wp-includes/class-http.php
r49108 r49120 1077 1077 * 1078 1078 * @param string $maybe_ip A suspected IP address. 1079 * @return int eger|bool Upon success, '4' or '6' to represent a IPv4 or IPv6 address, false upon failure1079 * @return int|bool Upon success, '4' or '6' to represent a IPv4 or IPv6 address, false upon failure 1080 1080 */ 1081 1081 public static function is_ip_address( $maybe_ip ) { -
trunk/src/wp-includes/class-wp-block-styles-registry.php
r48198 r49120 39 39 * style (name of the stylesheet to be enqueued), 40 40 * inline_style (string containing the CSS to be added). 41 * @return bool eanTrue if the block style was registered with success and false otherwise.41 * @return bool True if the block style was registered with success and false otherwise. 42 42 */ 43 43 public function register( $block_name, $style_properties ) { … … 70 70 * @param string $block_name Block type name including namespace. 71 71 * @param string $block_style_name Block style name. 72 * @return bool eanTrue if the block style was unregistered with success and false otherwise.72 * @return bool True if the block style was unregistered with success and false otherwise. 73 73 */ 74 74 public function unregister( $block_name, $block_style_name ) { -
trunk/src/wp-includes/class-wp-block-type.php
r48969 r49120 193 193 * @since 5.0.0 194 194 * 195 * @return bool eanWhether block type is dynamic.195 * @return bool Whether block type is dynamic. 196 196 */ 197 197 public function is_dynamic() { -
trunk/src/wp-includes/class-wp-hook.php
r47219 r49120 491 491 * @link https://www.php.net/manual/en/iterator.valid.php 492 492 * 493 * @return bool ean493 * @return bool Whether the current position is valid. 494 494 */ 495 495 public function valid() { -
trunk/src/wp-includes/class-wp-http-requests-hooks.php
r48586 r49120 46 46 * @param string $hook Hook name. 47 47 * @param array $parameters Parameters to pass to callbacks. 48 * @return bool eanTrue if hooks were run, false if nothing was hooked.48 * @return bool True if hooks were run, false if nothing was hooked. 49 49 */ 50 50 public function dispatch( $hook, $parameters = array() ) { -
trunk/src/wp-includes/class-wp-simplepie-file.php
r47122 r49120 24 24 * 25 25 * @param string $url Remote file URL. 26 * @param int eger$timeout Optional. How long the connection should stay open in seconds.26 * @param int $timeout Optional. How long the connection should stay open in seconds. 27 27 * Default 10. 28 * @param int eger$redirects Optional. The number of allowed redirects. Default 5.28 * @param int $redirects Optional. The number of allowed redirects. Default 5. 29 29 * @param string|array $headers Optional. Array or string of headers to send with the request. 30 30 * Default null. 31 31 * @param string $useragent Optional. User-agent value sent. Default null. 32 * @param bool ean$force_fsockopen Optional. Whether to force opening internet or unix domain socket32 * @param bool $force_fsockopen Optional. Whether to force opening internet or unix domain socket 33 33 * connection or not. Default false. 34 34 */ -
trunk/src/wp-includes/class-wp-simplepie-sanitize-kses.php
r47219 r49120 28 28 * 29 29 * @param mixed $data The data that needs to be sanitized. 30 * @param int eger$type The type of data that it's supposed to be.30 * @param int $type The type of data that it's supposed to be. 31 31 * @param string $base Optional. The `xml:base` value to use when converting relative 32 32 * URLs to absolute ones. Default empty. -
trunk/src/wp-includes/class-wp-widget.php
r48580 r49120 545 545 * @since 2.8.0 546 546 * 547 * @param int eger$number Optional. The unique order number of this widget instance548 * 547 * @param int $number Optional. The unique order number of this widget instance 548 * compared to other instances of the same class. Default -1. 549 549 */ 550 550 public function _register_one( $number = -1 ) { -
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r49108 r49120 5575 5575 * @since 2.8.0 5576 5576 * 5577 * @param int eger$post_ID Post ID.5578 * @param array 5577 * @param int $post_ID Post ID. 5578 * @param array $enclosure Enclosure data. 5579 5579 */ 5580 5580 public function add_enclosure_if_new( $post_ID, $enclosure ) { -
trunk/src/wp-includes/pomo/po.php
r48590 r49120 284 284 /** 285 285 * @param string $filename 286 * @return bool ean286 * @return bool 287 287 */ 288 288 function import_from_file( $filename ) { … … 455 455 * @param resource $f 456 456 * @param string $action 457 * @return bool ean457 * @return bool 458 458 */ 459 459 function read_line( $f, $action = 'read' ) { -
trunk/src/wp-includes/pomo/streams.php
r47902 r49120 63 63 * Reads an array of 32-bit Integers from the Stream 64 64 * 65 * @param int eger$count How many elements should be read65 * @param int $count How many elements should be read 66 66 * @return mixed Array of integers or false if there isn't 67 67 * enough data or on error … … 176 176 /** 177 177 * @param int $pos 178 * @return bool ean178 * @return bool 179 179 */ 180 180 function seekto( $pos ) { -
trunk/src/wp-includes/pomo/translations.php
r47808 r49120 117 117 * from their headers. 118 118 * 119 * @param int eger$count number of items119 * @param int $count number of items 120 120 */ 121 121 function select_plural_form( $count ) { -
trunk/src/wp-includes/rest-api.php
r49109 r49120 1245 1245 * @since 4.7.0 1246 1246 * 1247 * @return int eger401 if the user is not logged in, 403 if the user is logged in.1247 * @return int 401 if the user is not logged in, 403 if the user is logged in. 1248 1248 */ 1249 1249 function rest_authorization_required_code() { … … 1342 1342 * 1343 1343 * @param bool|string|int $value The value being evaluated. 1344 * @return bool eanReturns the proper associated boolean value.1344 * @return bool Returns the proper associated boolean value. 1345 1345 */ 1346 1346 function rest_sanitize_boolean( $value ) { … … 1363 1363 * 1364 1364 * @param bool|string $maybe_bool The value being evaluated. 1365 * @return bool eanTrue if a boolean, otherwise false.1365 * @return bool True if a boolean, otherwise false. 1366 1366 */ 1367 1367 function rest_is_boolean( $maybe_bool ) { -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r48782 r49120 1371 1371 * @since 4.9.0 Added the `$validate` parameter. 1372 1372 * 1373 * @param string 1374 * @param int eger$post_id Post ID.1375 * @param bool 1373 * @param string $template Page template filename. 1374 * @param int $post_id Post ID. 1375 * @param bool $validate Whether to validate that the template selected is valid. 1376 1376 */ 1377 1377 public function handle_template( $template, $post_id, $validate = false ) { -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r48782 r49120 1174 1174 * @since 4.7.0 1175 1175 * 1176 * @param int eger$user_id User ID.1177 * @param array 1176 * @param int $user_id User ID. 1177 * @param array $roles New user roles. 1178 1178 * @return true|WP_Error True if the current user is allowed to make the role change, 1179 1179 * otherwise a WP_Error object. -
trunk/src/wp-includes/widgets/class-wp-widget-custom-html.php
r48782 r49120 59 59 * @since 4.9.0 60 60 * 61 * @param int eger$number Optional. The unique order number of this widget instance62 * 61 * @param int $number Optional. The unique order number of this widget instance 62 * compared to other instances of the same class. Default -1. 63 63 */ 64 64 public function _register_one( $number = -1 ) { -
trunk/src/wp-includes/widgets/class-wp-widget-media.php
r49108 r49120 97 97 * @since 4.8.0 98 98 * 99 * @param int eger$number Optional. The unique order number of this widget instance100 * 99 * @param int $number Optional. The unique order number of this widget instance 100 * compared to other instances of the same class. Default -1. 101 101 */ 102 102 public function _register_one( $number = -1 ) { -
trunk/src/wp-includes/widgets/class-wp-widget-text.php
r48782 r49120 46 46 * Add hooks for enqueueing assets when registering all widget instances of this widget class. 47 47 * 48 * @param int eger$number Optional. The unique order number of this widget instance49 * 48 * @param int $number Optional. The unique order number of this widget instance 49 * compared to other instances of the same class. Default -1. 50 50 */ 51 51 public function _register_one( $number = -1 ) {
Note: See TracChangeset
for help on using the changeset viewer.