Ticket #51426: 51426.diff
| File 51426.diff, 33.0 KB (added by , 5 years ago) |
|---|
-
src/wp-admin/includes/media.php
176 176 * @since 2.6.0 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). 182 182 * @param string $align Image CSS alignment property. … … 1319 1319 * @since 2.5.0 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 1325 1325 */ … … 2275 2275 * 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 ) { 2281 2281 … … 2349 2349 * 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 ) { 2355 2355 if ( null === $type ) { -
src/wp-content/themes/twentyfourteen/inc/template-tags.php
128 128 * 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() { 134 134 $all_the_cool_cats = get_transient( 'twentyfourteen_category_count' ); -
src/wp-content/themes/twentyseventeen/inc/template-tags.php
127 127 * Display a front page section. 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 ) { 133 133 if ( is_a( $partial, 'WP_Customize_Partial' ) ) { -
src/wp-content/themes/twentythirteen/functions.php
515 515 * 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 */ 521 521 function twentythirteen_entry_date( $echo = true ) { -
src/wp-content/themes/twentytwenty/inc/template-tags.php
26 26 * Displays the site logo, either text or image. 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 */ 32 32 function twentytwenty_site_logo( $args = array(), $echo = true ) { … … 88 88 /** 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 */ 94 94 function twentytwenty_site_description( $echo = true ) { -
src/wp-includes/Requests/Cookie/Jar.php
58 58 * Check if the given item exists 59 59 * 60 60 * @param string $key Item key 61 * @return bool eanDoes the item exist?61 * @return bool Does the item exist? 62 62 */ 63 63 public function offsetExists($key) { 64 64 return isset($this->cookies[$key]); -
src/wp-includes/Requests/Cookie.php
90 90 * Checks the age against $this->reference_time to determine if the cookie 91 91 * is expired. 92 92 * 93 * @return bool eanTrue if expired, false if time is valid.93 * @return bool True if expired, false if time is valid. 94 94 */ 95 95 public function is_expired() { 96 96 // RFC6265, s. 4.1.2.2: … … 114 114 * Check if a cookie is valid for a given URI 115 115 * 116 116 * @param Requests_IRI $uri URI to check 117 * @return bool eanWhether the cookie is valid for the given URI117 * @return bool Whether the cookie is valid for the given URI 118 118 */ 119 119 public function uri_matches(Requests_IRI $uri) { 120 120 if (!$this->domain_matches($uri->host)) { … … 132 132 * Check if a cookie is valid for a given domain 133 133 * 134 134 * @param string $string Domain to check 135 * @return bool eanWhether the cookie is valid for the given domain135 * @return bool Whether the cookie is valid for the given domain 136 136 */ 137 137 public function domain_matches($string) { 138 138 if (!isset($this->attributes['domain'])) { … … 181 181 * From the path-match check in RFC 6265 section 5.1.4 182 182 * 183 183 * @param string $request_path Path to check 184 * @return bool eanWhether the cookie is valid for the given path184 * @return bool Whether the cookie is valid for the given path 185 185 */ 186 186 public function path_matches($request_path) { 187 187 if (empty($request_path)) { … … 223 223 /** 224 224 * Normalize cookie and attributes 225 225 * 226 * @return bool eanWhether the cookie was successfully normalized226 * @return bool Whether the cookie was successfully normalized 227 227 */ 228 228 public function normalize() { 229 229 foreach ($this->attributes as $key => $value) { -
src/wp-includes/Requests/Exception.php
31 31 * @param string $message Exception message 32 32 * @param string $type Exception type 33 33 * @param mixed $data Associated data 34 * @param int eger$code Exception numerical code, if applicable34 * @param int $code Exception numerical code, if applicable 35 35 */ 36 36 public function __construct($message, $type, $data = null, $code = 0) { 37 37 parent::__construct($message, $code); -
src/wp-includes/Requests/Hooker.php
27 27 * 28 28 * @param string $hook Hook name 29 29 * @param array $parameters Parameters to pass to callbacks 30 * @return bool eanSuccessfulness30 * @return bool Successfulness 31 31 */ 32 32 public function dispatch($hook, $parameters = array()); 33 33 } 34 Pas de fin de ligne à la fin du fichier -
src/wp-includes/Requests/Hooks.php
50 50 * 51 51 * @param string $hook Hook name 52 52 * @param array $parameters Parameters to pass to callbacks 53 * @return bool eanSuccessfulness53 * @return bool Successfulness 54 54 */ 55 55 public function dispatch($hook, $parameters = array()) { 56 56 if (empty($this->hooks[$hook])) { -
src/wp-includes/Requests/Response.php
93 93 /** 94 94 * Is the response a redirect? 95 95 * 96 * @return bool eanTrue if redirect (3xx status), false if not.96 * @return bool True if redirect (3xx status), false if not. 97 97 */ 98 98 public function is_redirect() { 99 99 $code = $this->status_code; … … 105 105 * 106 106 * @throws Requests_Exception If `$allow_redirects` is false, and code is 3xx (`response.no_redirects`) 107 107 * @throws Requests_Exception_HTTP On non-successful status code. Exception class corresponds to code (e.g. {@see Requests_Exception_HTTP_404}) 108 * @param bool ean$allow_redirects Set to false to throw on a 3xx as well108 * @param bool $allow_redirects Set to false to throw on a 3xx as well 109 109 */ 110 110 public function throw_for_status($allow_redirects = true) { 111 111 if ($this->is_redirect()) { -
src/wp-includes/Requests/SSL.php
86 86 * the third rule. 87 87 * 88 88 * @param string $reference Reference dNSName 89 * @return bool eanIs the name valid?89 * @return bool Is the name valid? 90 90 */ 91 91 public static function verify_reference_name($reference) { 92 92 $parts = explode('.', $reference); … … 122 122 * 123 123 * @param string $host Requested host 124 124 * @param string $reference dNSName to match against 125 * @return bool eanDoes the domain match?125 * @return bool Does the domain match? 126 126 */ 127 127 public static function match_domain($host, $reference) { 128 128 // Check if the reference is blocklisted first -
src/wp-includes/Requests/Session.php
231 231 * Merge a request's data with the default data 232 232 * 233 233 * @param array $request Request data (same form as {@see request_multiple}) 234 * @param bool ean$merge_options Should we merge options as well?234 * @param bool $merge_options Should we merge options as well? 235 235 * @return array Request data 236 236 */ 237 237 protected function merge_request($request, $merge_options = true) { -
src/wp-includes/Requests/Transport/cURL.php
432 432 * 433 433 * @param resource $handle cURL resource 434 434 * @param string $headers Header string 435 * @return int egerLength of provided header435 * @return int Length of provided header 436 436 */ 437 437 public function stream_headers($handle, $headers) { 438 438 // Why do we do this? cURL will send both the final response and any … … 457 457 * 458 458 * @param resource $handle cURL resource 459 459 * @param string $data Body data 460 * @return int egerLength of provided data460 * @return int Length of provided data 461 461 */ 462 462 public function stream_body($handle, $data) { 463 463 $this->hooks->dispatch('request.progress', array($data, $this->response_bytes, $this->response_byte_limit)); … … 522 522 * Whether this transport is valid 523 523 * 524 524 * @codeCoverageIgnore 525 * @return bool eanTrue if the transport is valid, false otherwise.525 * @return bool True if the transport is valid, false otherwise. 526 526 */ 527 527 public static function test($capabilities = array()) { 528 528 if (!function_exists('curl_init') || !function_exists('curl_exec')) { -
src/wp-includes/Requests/Transport/fsockopen.php
420 420 * Whether this transport is valid 421 421 * 422 422 * @codeCoverageIgnore 423 * @return bool eanTrue if the transport is valid, false otherwise.423 * @return bool True if the transport is valid, false otherwise. 424 424 */ 425 425 public static function test($capabilities = array()) { 426 426 if (!function_exists('fsockopen')) { -
src/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php
35 35 * Check if the given item exists 36 36 * 37 37 * @param string $key Item key 38 * @return bool eanDoes the item exist?38 * @return bool Does the item exist? 39 39 */ 40 40 public function offsetExists($key) { 41 41 $key = strtolower($key); -
src/wp-includes/SimplePie/HTTP/Parser.php
499 499 * Prepare headers (take care of proxies headers) 500 500 * 501 501 * @param string $headers Raw headers 502 * @param int eger$count Redirection count. Default to 1.502 * @param int $count Redirection count. Default to 1. 503 503 * 504 504 * @return string 505 505 */ -
src/wp-includes/SimplePie/Item.php
203 203 * MD5 hash based on the permalink, title and content. 204 204 * 205 205 * @since Beta 2 206 * @param bool ean$hash Should we force using a hash instead of the supplied ID?206 * @param bool $hash Should we force using a hash instead of the supplied ID? 207 207 * @param string|false $fn User-supplied function to generate an hash 208 208 * @return string|null 209 209 */ … … 309 309 * `<itunes:subtitle>` 310 310 * 311 311 * @since 0.8 312 * @param bool ean$description_only Should we avoid falling back to the content?312 * @param bool $description_only Should we avoid falling back to the content? 313 313 * @return string|null 314 314 */ 315 315 public function get_description($description_only = false) … … 379 379 * Uses `<atom:content>` or `<content:encoded>` (RSS 1.0 Content Module) 380 380 * 381 381 * @since 1.0 382 * @param bool ean$content_only Should we avoid falling back to the description?382 * @param bool $content_only Should we avoid falling back to the description? 383 383 * @return string|null 384 384 */ 385 385 public function get_content($content_only = false) -
src/wp-includes/Text/Diff.php
75 75 * 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() 81 81 { … … 94 94 * 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() 100 100 { … … 139 139 /** 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() 145 145 { … … 156 156 * 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() 162 162 { … … 210 210 * with array_walk(). 211 211 * 212 212 * @param string $line The line to trim. 213 * @param int eger$key The 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) 216 216 { -
src/wp-includes/blocks.php
812 812 * @param array $style_properties Array containing the properties of the style name, 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 ) { 818 818 return WP_Block_Styles_Registry::get_instance()->register( $block_name, $style_properties ); … … 825 825 * 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 ) { 831 831 return WP_Block_Styles_Registry::get_instance()->unregister( $block_name, $block_style_name ); -
src/wp-includes/class-http.php
1076 1076 * @since 3.7.0 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 ) { 1082 1082 if ( preg_match( '/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/', $maybe_ip ) ) { -
src/wp-includes/class-json.php
932 932 * @deprecated 5.3.0 Use the PHP native JSON extension instead. 933 933 * 934 934 * @param string 935 * @return int egerlength935 * @return int length 936 936 */ 937 937 function strlen8( $str ) 938 938 { … … 950 950 * @deprecated 5.3.0 Use the PHP native JSON extension instead. 951 951 * 952 952 * @param string 953 * @param int egerstart954 * @param int egerlength955 * @return int egerlength953 * @param int start 954 * @param int length 955 * @return int length 956 956 */ 957 957 function substr8( $string, $start, $length=false ) 958 958 { -
src/wp-includes/class-requests.php
498 498 * Get the default options 499 499 * 500 500 * @see Requests::request() for values returned by this method 501 * @param bool ean$multirequest Is this a multirequest?501 * @param bool $multirequest Is this a multirequest? 502 502 * @return array Default option values 503 503 */ 504 504 protected static function get_default_options($multirequest = false) { -
src/wp-includes/class-simplepie.php
1008 1008 * @deprecated Use {@see get_registry()} instead 1009 1009 * @link http://php.net/manual/en/language.oop5.basic.php#language.oop5.basic.extends PHP5 extends documentation 1010 1010 * @param string $class Name of custom class 1011 * @return bool eanTrue on success, false otherwise1011 * @return bool True on success, false otherwise 1012 1012 */ 1013 1013 /** 1014 1014 * Set which class SimplePie uses for caching … … 1304 1304 /** 1305 1305 * Set the limit for items returned per-feed with multifeeds 1306 1306 * 1307 * @param int eger$limit The maximum number of items to return.1307 * @param int $limit The maximum number of items to return. 1308 1308 */ 1309 1309 public function set_item_limit($limit = 0) 1310 1310 { … … 1314 1314 /** 1315 1315 * Enable throwing exceptions 1316 1316 * 1317 * @param bool ean$enable Should we throw exceptions, or use the old-style error property?1317 * @param bool $enable Should we throw exceptions, or use the old-style error property? 1318 1318 */ 1319 1319 public function enable_exceptions($enable = true) 1320 1320 { … … 1328 1328 * configuration options get processed, feeds are fetched, cached, and 1329 1329 * parsed, and all of that other good stuff. 1330 1330 * 1331 * @return bool eanTrue if successful, false otherwise1331 * @return bool True if successful, false otherwise 1332 1332 */ 1333 1333 public function init() 1334 1334 { … … 3177 3177 * @access private 3178 3178 * @param SimplePie $a 3179 3179 * @param SimplePie $b 3180 * @return bool ean3180 * @return bool 3181 3181 */ 3182 3182 public static function sort_items($a, $b) 3183 3183 { -
src/wp-includes/class-wp-block-styles-registry.php
38 38 * @param array $style_properties Array containing the properties of the style name, label, 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 ) { 44 44 … … 69 69 * 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 ) { 75 75 if ( ! $this->is_registered( $block_name, $block_style_name ) ) { -
src/wp-includes/class-wp-block-type.php
192 192 * 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() { 198 198 return is_callable( $this->render_callback ); -
src/wp-includes/class-wp-hook.php
490 490 * 491 491 * @link https://www.php.net/manual/en/iterator.valid.php 492 492 * 493 * @return bool ean493 * @return bool 494 494 */ 495 495 public function valid() { 496 496 return key( $this->callbacks ) !== null; -
src/wp-includes/class-wp-http-requests-hooks.php
45 45 * 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() ) { 51 51 $result = parent::dispatch( $hook, $parameters ); -
src/wp-includes/class-wp-simplepie-file.php
23 23 * @since 3.2.0 Updated to use a PHP5 constructor. 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 */ 35 35 public function __construct( $url, $timeout = 10, $redirects = 5, $headers = null, $useragent = null, $force_fsockopen = false ) { -
src/wp-includes/class-wp-simplepie-sanitize-kses.php
27 27 * @since 3.5.0 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. 33 33 * @return mixed Sanitized data. -
src/wp-includes/class-wp-widget.php
544 544 * 545 545 * @since 2.8.0 546 546 * 547 * @param int eger$number Optional. The unique order number of this widget instance547 * @param int $number Optional. The unique order number of this widget instance 548 548 * compared to other instances of the same class. Default -1. 549 549 */ 550 550 public function _register_one( $number = -1 ) { -
src/wp-includes/class-wp-xmlrpc-server.php
5573 5573 * 5574 5574 * @since 2.8.0 5575 5575 * 5576 * @param int eger$post_ID Post ID.5576 * @param int $post_ID Post ID. 5577 5577 * @param array $enclosure Enclosure data. 5578 5578 */ 5579 5579 public function add_enclosure_if_new( $post_ID, $enclosure ) { -
src/wp-includes/pomo/po.php
283 283 284 284 /** 285 285 * @param string $filename 286 * @return bool ean286 * @return bool 287 287 */ 288 288 function import_from_file( $filename ) { 289 289 $f = fopen( $filename, 'r' ); … … 454 454 /** 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' ) { 460 460 static $last_line = ''; -
src/wp-includes/pomo/streams.php
62 62 /** 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 68 68 */ … … 175 175 176 176 /** 177 177 * @param int $pos 178 * @return bool ean178 * @return bool 179 179 */ 180 180 function seekto( $pos ) { 181 181 if ( -1 == fseek( $this->_f, $pos, SEEK_SET ) ) { -
src/wp-includes/pomo/translations.php
116 116 * This function should be overridden by the subclasses. For example MO/PO can derive the logic 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 ) { 122 122 return 1 == $count ? 0 : 1; -
src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
1371 1371 * @since 4.9.0 Added the `$validate` parameter. 1372 1372 * 1373 1373 * @param string $template Page template filename. 1374 * @param int eger$post_id Post ID.1374 * @param int $post_id Post ID. 1375 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 ) { -
src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
1173 1173 * 1174 1174 * @since 4.7.0 1175 1175 * 1176 * @param int eger$user_id User ID.1176 * @param int $user_id User ID. 1177 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. -
src/wp-includes/rest-api.php
1161 1161 * 1162 1162 * @since 4.7.0 1163 1163 * 1164 * @return int eger401 if the user is not logged in, 403 if the user is logged in.1164 * @return int 401 if the user is not logged in, 403 if the user is logged in. 1165 1165 */ 1166 1166 function rest_authorization_required_code() { 1167 1167 return is_user_logged_in() ? 403 : 401; … … 1258 1258 * @since 4.7.0 1259 1259 * 1260 1260 * @param bool|string|int $value The value being evaluated. 1261 * @return bool eanReturns the proper associated boolean value.1261 * @return bool Returns the proper associated boolean value. 1262 1262 */ 1263 1263 function rest_sanitize_boolean( $value ) { 1264 1264 // String values are translated to `true`; make sure 'false' is false. … … 1279 1279 * @since 4.7.0 1280 1280 * 1281 1281 * @param bool|string $maybe_bool The value being evaluated. 1282 * @return bool eanTrue if a boolean, otherwise false.1282 * @return bool True if a boolean, otherwise false. 1283 1283 */ 1284 1284 function rest_is_boolean( $maybe_bool ) { 1285 1285 if ( is_bool( $maybe_bool ) ) { -
src/wp-includes/widgets/class-wp-widget-custom-html.php
58 58 * 59 59 * @since 4.9.0 60 60 * 61 * @param int eger$number Optional. The unique order number of this widget instance61 * @param int $number Optional. The unique order number of this widget instance 62 62 * compared to other instances of the same class. Default -1. 63 63 */ 64 64 public function _register_one( $number = -1 ) { -
src/wp-includes/widgets/class-wp-widget-media.php
96 96 * 97 97 * @since 4.8.0 98 98 * 99 * @param int eger$number Optional. The unique order number of this widget instance99 * @param int $number Optional. The unique order number of this widget instance 100 100 * compared to other instances of the same class. Default -1. 101 101 */ 102 102 public function _register_one( $number = -1 ) { -
src/wp-includes/widgets/class-wp-widget-text.php
45 45 /** 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 instance48 * @param int $number Optional. The unique order number of this widget instance 49 49 * compared to other instances of the same class. Default -1. 50 50 */ 51 51 public function _register_one( $number = -1 ) {