-
diff --git src/wp-content/themes/twentyfourteen/inc/featured-content.php src/wp-content/themes/twentyfourteen/inc/featured-content.php
index 424e134..b5efa01 100644
|
|
|
class Featured_Content {
|
| 23 | 23 | * |
| 24 | 24 | * @since Twenty Fourteen 1.0 |
| 25 | 25 | * |
| 26 | | * @static |
| 27 | 26 | * @access public |
| 28 | 27 | * @var int |
| 29 | 28 | */ |
| … |
… |
class Featured_Content {
|
| 34 | 33 | * |
| 35 | 34 | * All custom functionality will be hooked into the "init" action. |
| 36 | 35 | * |
| 37 | | * @static |
| 38 | 36 | * @access public |
| 39 | 37 | * @since Twenty Fourteen 1.0 |
| 40 | 38 | */ |
| … |
… |
class Featured_Content {
|
| 51 | 49 | * If no theme support is found there is no need to hook into WordPress. |
| 52 | 50 | * We'll just return early instead. |
| 53 | 51 | * |
| 54 | | * @static |
| 55 | 52 | * @access public |
| 56 | 53 | * @since Twenty Fourteen 1.0 |
| 57 | 54 | */ |
| … |
… |
class Featured_Content {
|
| 100 | 97 | * Has to run on wp_loaded so that the preview filters of the Customizer |
| 101 | 98 | * have a chance to alter the value. |
| 102 | 99 | * |
| 103 | | * @static |
| 104 | 100 | * @access public |
| 105 | 101 | * @since Twenty Fourteen 1.0 |
| 106 | 102 | */ |
| … |
… |
class Featured_Content {
|
| 114 | 110 | /** |
| 115 | 111 | * Get featured posts. |
| 116 | 112 | * |
| 117 | | * @static |
| 118 | 113 | * @access public |
| 119 | 114 | * @since Twenty Fourteen 1.0 |
| 120 | 115 | * |
| … |
… |
class Featured_Content {
|
| 146 | 141 | * |
| 147 | 142 | * Sets the "featured_content_ids" transient. |
| 148 | 143 | * |
| 149 | | * @static |
| 150 | 144 | * @access public |
| 151 | 145 | * @since Twenty Fourteen 1.0 |
| 152 | 146 | * |
| … |
… |
class Featured_Content {
|
| 193 | 187 | /** |
| 194 | 188 | * Return an array with IDs of posts maked as sticky. |
| 195 | 189 | * |
| 196 | | * @static |
| 197 | 190 | * @access public |
| 198 | 191 | * @since Twenty Fourteen 1.0 |
| 199 | 192 | * |
| … |
… |
class Featured_Content {
|
| 210 | 203 | * |
| 211 | 204 | * @see Featured_Content::validate_settings(). |
| 212 | 205 | * |
| 213 | | * @static |
| 214 | 206 | * @access public |
| 215 | 207 | * @since Twenty Fourteen 1.0 |
| 216 | 208 | */ |
| … |
… |
class Featured_Content {
|
| 225 | 217 | * Hooked onto the 'pre_get_posts' action, this changes the parameters of |
| 226 | 218 | * the query before it gets any posts. |
| 227 | 219 | * |
| 228 | | * @static |
| 229 | 220 | * @access public |
| 230 | 221 | * @since Twenty Fourteen 1.0 |
| 231 | 222 | * |
| … |
… |
class Featured_Content {
|
| 273 | 264 | * |
| 274 | 265 | * @see Featured_Content::validate_settings(). |
| 275 | 266 | * |
| 276 | | * @static |
| 277 | 267 | * @access public |
| 278 | 268 | * @since Twenty Fourteen 1.0 |
| 279 | 269 | * |
| … |
… |
class Featured_Content {
|
| 296 | 286 | * |
| 297 | 287 | * Hooks into the "get_terms" filter. |
| 298 | 288 | * |
| 299 | | * @static |
| 300 | 289 | * @access public |
| 301 | 290 | * @since Twenty Fourteen 1.0 |
| 302 | 291 | * |
| … |
… |
class Featured_Content {
|
| 344 | 333 | * |
| 345 | 334 | * Hooks into the "get_the_terms" filter. |
| 346 | 335 | * |
| 347 | | * @static |
| 348 | 336 | * @access public |
| 349 | 337 | * @since Twenty Fourteen 1.0 |
| 350 | 338 | * |
| … |
… |
class Featured_Content {
|
| 385 | 373 | /** |
| 386 | 374 | * Register custom setting on the Settings -> Reading screen. |
| 387 | 375 | * |
| 388 | | * @static |
| 389 | 376 | * @access public |
| 390 | 377 | * @since Twenty Fourteen 1.0 |
| 391 | 378 | */ |
| … |
… |
class Featured_Content {
|
| 396 | 383 | /** |
| 397 | 384 | * Add settings to the Customizer. |
| 398 | 385 | * |
| 399 | | * @static |
| 400 | 386 | * @access public |
| 401 | 387 | * @since Twenty Fourteen 1.0 |
| 402 | 388 | * |
| … |
… |
class Featured_Content {
|
| 453 | 439 | /** |
| 454 | 440 | * Enqueue the tag suggestion script. |
| 455 | 441 | * |
| 456 | | * @static |
| 457 | 442 | * @access public |
| 458 | 443 | * @since Twenty Fourteen 1.0 |
| 459 | 444 | */ |
| … |
… |
class Featured_Content {
|
| 473 | 458 | * its name as the first parameter to the function and only that |
| 474 | 459 | * value will be returned. |
| 475 | 460 | * |
| 476 | | * @static |
| 477 | 461 | * @access public |
| 478 | 462 | * @since Twenty Fourteen 1.0 |
| 479 | 463 | * |
| … |
… |
class Featured_Content {
|
| 506 | 490 | * format before saving to the database. This function will also |
| 507 | 491 | * delete the transient set in Featured_Content::get_featured_content(). |
| 508 | 492 | * |
| 509 | | * @static |
| 510 | 493 | * @access public |
| 511 | 494 | * @since Twenty Fourteen 1.0 |
| 512 | 495 | * |
-
diff --git src/wp-includes/class-http.php src/wp-includes/class-http.php
index bead194..f2d77c0 100644
|
|
|
class WP_Http {
|
| 430 | 430 | * Normalizes cookies for using in Requests. |
| 431 | 431 | * |
| 432 | 432 | * @since 4.6.0 |
| 433 | | * @static |
| 434 | 433 | * |
| 435 | 434 | * @param array $cookies List of cookies to send with the request. |
| 436 | 435 | * @return Requests_Cookie_Jar Cookie holder object. |
| … |
… |
class WP_Http {
|
| 457 | 456 | * specification for compatibility purposes. |
| 458 | 457 | * |
| 459 | 458 | * @since 4.6.0 |
| 460 | | * @static |
| 461 | 459 | * |
| 462 | 460 | * @param string $location URL to redirect to. |
| 463 | 461 | * @param array $headers Headers for the redirect. |
| … |
… |
class WP_Http {
|
| 539 | 537 | * |
| 540 | 538 | * @since 3.2.0 |
| 541 | 539 | * |
| 542 | | * @static |
| 543 | | * |
| 544 | 540 | * @param string $url URL to Request |
| 545 | 541 | * @param array $args Request arguments |
| 546 | 542 | * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error |
| … |
… |
class WP_Http {
|
| 633 | 629 | /** |
| 634 | 630 | * Parses the responses and splits the parts into headers and body. |
| 635 | 631 | * |
| 636 | | * @static |
| 637 | 632 | * @since 2.7.0 |
| 638 | 633 | * |
| 639 | 634 | * @param string $strResponse The full response string |
| … |
… |
class WP_Http {
|
| 654 | 649 | * If an array is given then it is assumed to be raw header data with numeric keys with the |
| 655 | 650 | * headers as the values. No headers must be passed that were already processed. |
| 656 | 651 | * |
| 657 | | * @static |
| 658 | 652 | * @since 2.7.0 |
| 659 | 653 | * |
| 660 | 654 | * @param string|array $headers |
| … |
… |
class WP_Http {
|
| 742 | 736 | * Edits the array by reference. |
| 743 | 737 | * |
| 744 | 738 | * @since 2.8.0 |
| 745 | | * @static |
| 746 | 739 | * |
| 747 | 740 | * @param array $r Full array of args passed into ::request() |
| 748 | 741 | */ |
| … |
… |
class WP_Http {
|
| 778 | 771 | * @link https://tools.ietf.org/html/rfc2616#section-19.4.6 Process for chunked decoding. |
| 779 | 772 | * |
| 780 | 773 | * @since 2.7.0 |
| 781 | | * @static |
| 782 | 774 | * |
| 783 | 775 | * @param string $body Body content |
| 784 | 776 | * @return string Chunked decoded body on success or raw body on failure. |
| … |
… |
class WP_Http {
|
| 912 | 904 | * |
| 913 | 905 | * @since 3.4.0 |
| 914 | 906 | * |
| 915 | | * @static |
| 916 | | * |
| 917 | 907 | * @param string $maybe_relative_path The URL which might be relative |
| 918 | 908 | * @param string $url The URL which $maybe_relative_path is relative to |
| 919 | 909 | * @return string An Absolute URL, in a failure condition where the URL cannot be parsed, the relative URL will be returned. |
| … |
… |
class WP_Http {
|
| 987 | 977 | * Handles HTTP Redirects and follows them if appropriate. |
| 988 | 978 | * |
| 989 | 979 | * @since 3.7.0 |
| 990 | | * @static |
| 991 | 980 | * |
| 992 | 981 | * @param string $url The URL which was requested. |
| 993 | 982 | * @param array $args The Arguments which were used to make the request. |
| … |
… |
class WP_Http {
|
| 1049 | 1038 | * @link http://home.deds.nl/~aeron/regex/ for IPv6 regex |
| 1050 | 1039 | * |
| 1051 | 1040 | * @since 3.7.0 |
| 1052 | | * @static |
| 1053 | 1041 | * |
| 1054 | 1042 | * @param string $maybe_ip A suspected IP address |
| 1055 | 1043 | * @return integer|bool Upon success, '4' or '6' to represent a IPv4 or IPv6 address, false upon failure |
-
diff --git src/wp-includes/class-oembed.php src/wp-includes/class-oembed.php
index e9e885d..30df338 100644
|
|
|
class WP_oEmbed {
|
| 30 | 30 | * A list of an early oEmbed providers. |
| 31 | 31 | * |
| 32 | 32 | * @since 4.0.0 |
| 33 | | * @static |
| 34 | 33 | * @var array |
| 35 | 34 | */ |
| 36 | 35 | public static $early_providers = array(); |
| … |
… |
class WP_oEmbed {
|
| 290 | 289 | * |
| 291 | 290 | * The just-in-time addition is for the benefit of the {@see 'oembed_providers'} filter. |
| 292 | 291 | * |
| 293 | | * @static |
| 294 | 292 | * @since 4.0.0 |
| 295 | 293 | * |
| 296 | 294 | * @see wp_oembed_add_provider() |
| … |
… |
class WP_oEmbed {
|
| 318 | 316 | * The just-in-time removal is for the benefit of the {@see 'oembed_providers'} filter. |
| 319 | 317 | * |
| 320 | 318 | * @since 4.0.0 |
| 321 | | * @static |
| 322 | 319 | * |
| 323 | 320 | * @see wp_oembed_remove_provider() |
| 324 | 321 | * |
-
diff --git src/wp-includes/class-wp-comment.php src/wp-includes/class-wp-comment.php
index e93d4c4..f631444 100644
|
|
|
final class WP_Comment {
|
| 162 | 162 | * Retrieves a WP_Comment instance. |
| 163 | 163 | * |
| 164 | 164 | * @since 4.4.0 |
| 165 | | * @static |
| 166 | 165 | * |
| 167 | 166 | * @global wpdb $wpdb WordPress database abstraction object. |
| 168 | 167 | * |
-
diff --git src/wp-includes/class-wp-customize-control.php src/wp-includes/class-wp-customize-control.php
index 398d089..1a9df6d 100644
|
|
|
class WP_Customize_Control {
|
| 21 | 21 | * |
| 22 | 22 | * @since 4.1.0 |
| 23 | 23 | * |
| 24 | | * @static |
| 25 | 24 | * @var int |
| 26 | 25 | */ |
| 27 | 26 | protected static $instance_count = 0; |
-
diff --git src/wp-includes/class-wp-customize-panel.php src/wp-includes/class-wp-customize-panel.php
index f234f32..ae1ab33 100644
|
|
|
class WP_Customize_Panel {
|
| 25 | 25 | * |
| 26 | 26 | * @since 4.1.0 |
| 27 | 27 | * |
| 28 | | * @static |
| 29 | 28 | * @var int |
| 30 | 29 | */ |
| 31 | 30 | protected static $instance_count = 0; |
-
diff --git src/wp-includes/class-wp-customize-section.php src/wp-includes/class-wp-customize-section.php
index fa406b1..ae65d74 100644
|
|
|
class WP_Customize_Section {
|
| 25 | 25 | * |
| 26 | 26 | * @since 4.1.0 |
| 27 | 27 | * |
| 28 | | * @static |
| 29 | 28 | * @var int |
| 30 | 29 | */ |
| 31 | 30 | protected static $instance_count = 0; |
-
diff --git src/wp-includes/class-wp-customize-setting.php src/wp-includes/class-wp-customize-setting.php
index ae768fe..a5cbabb 100644
|
|
|
class WP_Customize_Setting {
|
| 135 | 135 | * Cache of multidimensional values to improve performance. |
| 136 | 136 | * |
| 137 | 137 | * @since 4.4.0 |
| 138 | | * @static |
| 139 | 138 | * @var array |
| 140 | 139 | */ |
| 141 | 140 | protected static $aggregated_multidimensionals = array(); |
-
diff --git src/wp-includes/class-wp-editor.php src/wp-includes/class-wp-editor.php
index 1b92ac5..f4fef83 100644
|
|
|
final class _WP_Editors {
|
| 35 | 35 | /** |
| 36 | 36 | * Parse default arguments for the editor instance. |
| 37 | 37 | * |
| 38 | | * @static |
| 39 | 38 | * @param string $editor_id ID for the current editor instance. |
| 40 | 39 | * @param array $settings { |
| 41 | 40 | * Array of editor arguments. |
| … |
… |
final class _WP_Editors {
|
| 148 | 147 | /** |
| 149 | 148 | * Outputs the HTML for a single instance of the editor. |
| 150 | 149 | * |
| 151 | | * @static |
| 152 | 150 | * @param string $content The initial content of the editor. |
| 153 | 151 | * @param string $editor_id ID for the textarea and TinyMCE and Quicktags instances (can contain only ASCII letters and numbers). |
| 154 | 152 | * @param array $settings See _WP_Editors()::parse_settings() for description. |
| … |
… |
final class _WP_Editors {
|
| 307 | 305 | } |
| 308 | 306 | |
| 309 | 307 | /** |
| 310 | | * @static |
| 311 | | * |
| 312 | 308 | * @global string $tinymce_version |
| 313 | 309 | * |
| 314 | 310 | * @param string $editor_id |
| … |
… |
final class _WP_Editors {
|
| 733 | 729 | } |
| 734 | 730 | |
| 735 | 731 | /** |
| 736 | | * @static |
| 737 | 732 | * @param array $init |
| 738 | 733 | * @return string |
| 739 | 734 | */ |
| … |
… |
final class _WP_Editors {
|
| 760 | 755 | } |
| 761 | 756 | |
| 762 | 757 | /** |
| 763 | | * @static |
| 764 | | * |
| 765 | 758 | * @param bool $default_scripts Optional. Whether default scripts should be enqueued. Default false. |
| 766 | 759 | */ |
| 767 | 760 | public static function enqueue_scripts( $default_scripts = false ) { |
| … |
… |
final class _WP_Editors {
|
| 1338 | 1331 | * Translates the default TinyMCE strings and returns them as JSON encoded object ready to be loaded with tinymce.addI18n(), |
| 1339 | 1332 | * or as JS snippet that should run after tinymce.js is loaded. |
| 1340 | 1333 | * |
| 1341 | | * @static |
| 1342 | 1334 | * @param string $mce_locale The locale used for the editor. |
| 1343 | 1335 | * @param bool $json_only optional Whether to include the JavaScript calls to tinymce.addI18n() and tinymce.ScriptLoader.markDone(). |
| 1344 | 1336 | * @return string Translation object, JSON encoded. |
| … |
… |
final class _WP_Editors {
|
| 1398 | 1390 | * |
| 1399 | 1391 | * @since 4.8.0 |
| 1400 | 1392 | * |
| 1401 | | * @static |
| 1402 | 1393 | * @global string $tinymce_version |
| 1403 | 1394 | * @global bool $concatenate_scripts |
| 1404 | 1395 | * @global bool $compress_scripts |
| … |
… |
final class _WP_Editors {
|
| 1439 | 1430 | /** |
| 1440 | 1431 | * Print (output) the TinyMCE configuration and initialization scripts. |
| 1441 | 1432 | * |
| 1442 | | * @static |
| 1443 | 1433 | * @global string $tinymce_version |
| 1444 | 1434 | */ |
| 1445 | 1435 | public static function editor_js() { |
| … |
… |
final class _WP_Editors {
|
| 1595 | 1585 | * |
| 1596 | 1586 | * @since 3.2.0 |
| 1597 | 1587 | * @deprecated 4.3.0 |
| 1598 | | * |
| 1599 | | * @static |
| 1600 | 1588 | */ |
| 1601 | 1589 | public static function wp_fullscreen_html() { |
| 1602 | 1590 | _deprecated_function( __FUNCTION__, '4.3.0' ); |
| … |
… |
final class _WP_Editors {
|
| 1607 | 1595 | * |
| 1608 | 1596 | * @since 3.1.0 |
| 1609 | 1597 | * |
| 1610 | | * @static |
| 1611 | 1598 | * @param array $args Optional. Accepts 'pagenum' and 's' (search) arguments. |
| 1612 | 1599 | * @return false|array Results. |
| 1613 | 1600 | */ |
| … |
… |
final class _WP_Editors {
|
| 1697 | 1684 | * Dialog for internal linking. |
| 1698 | 1685 | * |
| 1699 | 1686 | * @since 3.1.0 |
| 1700 | | * |
| 1701 | | * @static |
| 1702 | 1687 | */ |
| 1703 | 1688 | public static function wp_link_dialog() { |
| 1704 | 1689 | // Run once |
-
diff --git src/wp-includes/class-wp-hook.php src/wp-includes/class-wp-hook.php
index 9472c0b..efb1360 100644
|
|
|
final class WP_Hook implements Iterator, ArrayAccess {
|
| 356 | 356 | * Normalizes filters set up before WordPress has initialized to WP_Hook objects. |
| 357 | 357 | * |
| 358 | 358 | * @since 4.7.0 |
| 359 | | * @static |
| 360 | 359 | * |
| 361 | 360 | * @param array $filters Filters to normalize. |
| 362 | 361 | * @return WP_Hook[] Array of normalized filters. |
-
diff --git src/wp-includes/class-wp-http-curl.php src/wp-includes/class-wp-http-curl.php
index 2704735..59e30d6 100644
|
|
|
class WP_Http_Curl {
|
| 373 | 373 | /** |
| 374 | 374 | * Determines whether this class can be used for retrieving a URL. |
| 375 | 375 | * |
| 376 | | * @static |
| 377 | 376 | * @since 2.7.0 |
| 378 | 377 | * |
| 379 | 378 | * @param array $args Optional. Array of request arguments. Default empty array. |
-
diff --git src/wp-includes/class-wp-http-encoding.php src/wp-includes/class-wp-http-encoding.php
index 4b16319..0315f62 100644
|
|
|
class WP_Http_Encoding {
|
| 23 | 23 | * |
| 24 | 24 | * @since 2.8.0 |
| 25 | 25 | * |
| 26 | | * @static |
| 27 | | * |
| 28 | 26 | * @param string $raw String to compress. |
| 29 | 27 | * @param int $level Optional, default is 9. Compression level, 9 is highest. |
| 30 | 28 | * @param string $supports Optional, not used. When implemented it will choose the right compression based on what the server supports. |
| … |
… |
class WP_Http_Encoding {
|
| 44 | 42 | * |
| 45 | 43 | * @since 2.8.0 |
| 46 | 44 | * |
| 47 | | * @static |
| 48 | | * |
| 49 | 45 | * @param string $compressed String to decompress. |
| 50 | 46 | * @param int $length The optional length of the compressed data. |
| 51 | 47 | * @return string|bool False on failure. |
| … |
… |
class WP_Http_Encoding {
|
| 96 | 92 | * @link https://secure.php.net/manual/en/function.gzinflate.php#70875 |
| 97 | 93 | * @link https://secure.php.net/manual/en/function.gzinflate.php#77336 |
| 98 | 94 | * |
| 99 | | * @static |
| 100 | | * |
| 101 | 95 | * @param string $gzData String to decompress. |
| 102 | 96 | * @return string|bool False on failure. |
| 103 | 97 | */ |
| … |
… |
class WP_Http_Encoding {
|
| 142 | 136 | * |
| 143 | 137 | * @since 2.8.0 |
| 144 | 138 | * |
| 145 | | * @static |
| 146 | | * |
| 147 | 139 | * @param string $url |
| 148 | 140 | * @param array $args |
| 149 | 141 | * @return string Types of encoding to accept. |
| … |
… |
class WP_Http_Encoding {
|
| 194 | 186 | * |
| 195 | 187 | * @since 2.8.0 |
| 196 | 188 | * |
| 197 | | * @static |
| 198 | | * |
| 199 | 189 | * @return string Content-Encoding string to send in the header. |
| 200 | 190 | */ |
| 201 | 191 | public static function content_encoding() { |
| … |
… |
class WP_Http_Encoding {
|
| 207 | 197 | * |
| 208 | 198 | * @since 2.8.0 |
| 209 | 199 | * |
| 210 | | * @static |
| 211 | | * |
| 212 | 200 | * @param array|string $headers All of the available headers. |
| 213 | 201 | * @return bool |
| 214 | 202 | */ |
| … |
… |
class WP_Http_Encoding {
|
| 233 | 221 | * |
| 234 | 222 | * @since 2.8.0 |
| 235 | 223 | * |
| 236 | | * @static |
| 237 | | * |
| 238 | 224 | * @return bool |
| 239 | 225 | */ |
| 240 | 226 | public static function is_available() { |
-
diff --git src/wp-includes/class-wp-http-streams.php src/wp-includes/class-wp-http-streams.php
index 2ed6412..9774d32 100644
|
|
|
class WP_Http_Streams {
|
| 362 | 362 | * IP Address support is included if the request is being made to an IP address. |
| 363 | 363 | * |
| 364 | 364 | * @since 3.7.0 |
| 365 | | * @static |
| 366 | 365 | * |
| 367 | 366 | * @param stream $stream The PHP Stream which the SSL request is being made over |
| 368 | 367 | * @param string $host The hostname being requested |
| … |
… |
class WP_Http_Streams {
|
| 424 | 423 | /** |
| 425 | 424 | * Determines whether this class can be used for retrieving a URL. |
| 426 | 425 | * |
| 427 | | * @static |
| 428 | 426 | * @since 2.7.0 |
| 429 | 427 | * @since 3.7.0 Combined with the fsockopen transport and switched to stream_socket_client(). |
| 430 | 428 | * |
-
diff --git src/wp-includes/class-wp-image-editor-gd.php src/wp-includes/class-wp-image-editor-gd.php
index c8d1ed2..32f33df 100644
|
|
|
class WP_Image_Editor_GD extends WP_Image_Editor {
|
| 33 | 33 | * |
| 34 | 34 | * @since 3.5.0 |
| 35 | 35 | * |
| 36 | | * @static |
| 37 | | * |
| 38 | 36 | * @param array $args |
| 39 | 37 | * @return bool |
| 40 | 38 | */ |
| … |
… |
class WP_Image_Editor_GD extends WP_Image_Editor {
|
| 59 | 57 | * |
| 60 | 58 | * @since 3.5.0 |
| 61 | 59 | * |
| 62 | | * @static |
| 63 | | * |
| 64 | 60 | * @param string $mime_type |
| 65 | 61 | * @return bool |
| 66 | 62 | */ |
-
diff --git src/wp-includes/class-wp-image-editor-imagick.php src/wp-includes/class-wp-image-editor-imagick.php
index 5db6fc4..abb2150 100644
|
|
|
class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
| 37 | 37 | * |
| 38 | 38 | * @since 3.5.0 |
| 39 | 39 | * |
| 40 | | * @static |
| 41 | | * |
| 42 | 40 | * @param array $args |
| 43 | 41 | * @return bool |
| 44 | 42 | */ |
| … |
… |
class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
| 98 | 96 | * |
| 99 | 97 | * @since 3.5.0 |
| 100 | 98 | * |
| 101 | | * @static |
| 102 | | * |
| 103 | 99 | * @param string $mime_type |
| 104 | 100 | * @return bool |
| 105 | 101 | */ |
-
diff --git src/wp-includes/class-wp-image-editor.php src/wp-includes/class-wp-image-editor.php
index 1bf80e3..9af795a 100644
|
|
|
abstract class WP_Image_Editor {
|
| 34 | 34 | * |
| 35 | 35 | * @since 3.5.0 |
| 36 | 36 | * |
| 37 | | * @static |
| 38 | 37 | * @abstract |
| 39 | 38 | * |
| 40 | 39 | * @param array $args |
| … |
… |
abstract class WP_Image_Editor {
|
| 50 | 49 | * |
| 51 | 50 | * @since 3.5.0 |
| 52 | 51 | * |
| 53 | | * @static |
| 54 | 52 | * @abstract |
| 55 | 53 | * |
| 56 | 54 | * @param string $mime_type |
| … |
… |
abstract class WP_Image_Editor {
|
| 429 | 427 | * |
| 430 | 428 | * @since 3.5.0 |
| 431 | 429 | * |
| 432 | | * @static |
| 433 | | * |
| 434 | 430 | * @param string $extension |
| 435 | 431 | * @return string|false |
| 436 | 432 | */ |
| … |
… |
abstract class WP_Image_Editor {
|
| 457 | 453 | * |
| 458 | 454 | * @since 3.5.0 |
| 459 | 455 | * |
| 460 | | * @static |
| 461 | | * |
| 462 | 456 | * @param string $mime_type |
| 463 | 457 | * @return string|false |
| 464 | 458 | */ |
-
diff --git src/wp-includes/class-wp-matchesmapregex.php src/wp-includes/class-wp-matchesmapregex.php
index 935fb6c..86e3889 100644
|
|
|
class WP_MatchesMapRegex {
|
| 57 | 57 | * |
| 58 | 58 | * static helper function to ease use |
| 59 | 59 | * |
| 60 | | * @static |
| 61 | | * |
| 62 | 60 | * @param string $subject subject |
| 63 | 61 | * @param array $matches data used for substitution |
| 64 | 62 | * @return string |
-
diff --git src/wp-includes/class-wp-network.php src/wp-includes/class-wp-network.php
index 621c5ce..89026c7 100644
|
|
|
class WP_Network {
|
| 318 | 318 | * requested site address. |
| 319 | 319 | * |
| 320 | 320 | * @since 4.4.0 |
| 321 | | * @static |
| 322 | 321 | * |
| 323 | 322 | * @param string $domain Domain to check. |
| 324 | 323 | * @param string $path Path to check. |
-
diff --git src/wp-includes/class-wp-post.php src/wp-includes/class-wp-post.php
index 2e3a32a..231fa4c 100644
|
|
|
final class WP_Post {
|
| 222 | 222 | * Retrieve WP_Post instance. |
| 223 | 223 | * |
| 224 | 224 | * @since 3.5.0 |
| 225 | | * @static |
| 226 | 225 | * |
| 227 | 226 | * @global wpdb $wpdb WordPress database abstraction object. |
| 228 | 227 | * |
-
diff --git src/wp-includes/class-wp-session-tokens.php src/wp-includes/class-wp-session-tokens.php
index 2878cca..bfc593d 100644
|
|
|
abstract class WP_Session_Tokens {
|
| 40 | 40 | * the session manager for a subclass of `WP_Session_Tokens`. |
| 41 | 41 | * |
| 42 | 42 | * @since 4.0.0 |
| 43 | | * @static |
| 44 | 43 | * |
| 45 | 44 | * @param int $user_id User whose session to manage. |
| 46 | 45 | * @return WP_User_Meta_Session_Tokens WP_User_Meta_Session_Tokens class instance by default. |
| … |
… |
abstract class WP_Session_Tokens {
|
| 223 | 222 | * Destroy all session tokens for all users. |
| 224 | 223 | * |
| 225 | 224 | * @since 4.0.0 |
| 226 | | * @static |
| 227 | 225 | */ |
| 228 | 226 | final public static function destroy_all_for_all_users() { |
| 229 | 227 | /** This filter is documented in wp-includes/class-wp-session-tokens.php */ |
| … |
… |
abstract class WP_Session_Tokens {
|
| 294 | 292 | * This static method should destroy all session tokens for all users. |
| 295 | 293 | * |
| 296 | 294 | * @since 4.0.0 |
| 297 | | * @static |
| 298 | 295 | */ |
| 299 | 296 | public static function drop_sessions() {} |
| 300 | 297 | } |
-
diff --git src/wp-includes/class-wp-site.php src/wp-includes/class-wp-site.php
index 8a72c33..8698ac5 100644
|
|
|
final class WP_Site {
|
| 145 | 145 | /** |
| 146 | 146 | * Retrieves a site from the database by its ID. |
| 147 | 147 | * |
| 148 | | * @static |
| 149 | 148 | * @since 4.5.0 |
| 150 | 149 | * |
| 151 | 150 | * @global wpdb $wpdb WordPress database abstraction object. |
-
diff --git src/wp-includes/class-wp-tax-query.php src/wp-includes/class-wp-tax-query.php
index b818b8f..114263c 100644
|
|
|
class WP_Tax_Query {
|
| 44 | 44 | * |
| 45 | 45 | * @since 3.2.0 |
| 46 | 46 | * |
| 47 | | * @static |
| 48 | 47 | * @var string |
| 49 | 48 | */ |
| 50 | 49 | private static $no_results = array( |
| … |
… |
class WP_Tax_Query {
|
| 224 | 223 | * |
| 225 | 224 | * @since 4.1.0 |
| 226 | 225 | * |
| 227 | | * @static |
| 228 | | * |
| 229 | 226 | * @param array $query Tax query arguments. |
| 230 | 227 | * @return bool Whether the query clause is a first-order clause. |
| 231 | 228 | */ |
| … |
… |
class WP_Tax_Query {
|
| 238 | 235 | * |
| 239 | 236 | * @since 3.1.0 |
| 240 | 237 | * |
| 241 | | * @static |
| 242 | | * |
| 243 | 238 | * @param string $primary_table Database table where the object being filtered is stored (eg wp_users). |
| 244 | 239 | * @param string $primary_id_column ID column for the filtered object in $primary_table. |
| 245 | 240 | * @return array { |
-
diff --git src/wp-includes/class-wp-term.php src/wp-includes/class-wp-term.php
index 02dfacc..df74705 100644
|
|
|
final class WP_Term {
|
| 102 | 102 | * Retrieve WP_Term instance. |
| 103 | 103 | * |
| 104 | 104 | * @since 4.4.0 |
| 105 | | * @static |
| 106 | 105 | * |
| 107 | 106 | * @global wpdb $wpdb WordPress database abstraction object. |
| 108 | 107 | * |
-
diff --git src/wp-includes/class-wp-theme.php src/wp-includes/class-wp-theme.php
index 683065c..b2207c8 100644
|
|
|
final class WP_Theme implements ArrayAccess {
|
| 21 | 21 | /** |
| 22 | 22 | * Headers for style.css files. |
| 23 | 23 | * |
| 24 | | * @static |
| 25 | 24 | * @var array |
| 26 | 25 | */ |
| 27 | 26 | private static $file_headers = array( |
| … |
… |
final class WP_Theme implements ArrayAccess {
|
| 41 | 40 | /** |
| 42 | 41 | * Default themes. |
| 43 | 42 | * |
| 44 | | * @static |
| 45 | 43 | * @var array |
| 46 | 44 | */ |
| 47 | 45 | private static $default_themes = array( |
| … |
… |
final class WP_Theme implements ArrayAccess {
|
| 60 | 58 | /** |
| 61 | 59 | * Renamed theme tags. |
| 62 | 60 | * |
| 63 | | * @static |
| 64 | 61 | * @var array |
| 65 | 62 | */ |
| 66 | 63 | private static $tag_map = array( |
| … |
… |
final class WP_Theme implements ArrayAccess {
|
| 158 | 155 | * |
| 159 | 156 | * Default is false. Can be set with the {@see 'wp_cache_themes_persistently'} filter. |
| 160 | 157 | * |
| 161 | | * @static |
| 162 | 158 | * @var bool |
| 163 | 159 | */ |
| 164 | 160 | private static $persistently_cache; |
| … |
… |
final class WP_Theme implements ArrayAccess {
|
| 168 | 164 | * |
| 169 | 165 | * By default the bucket is not cached, so this value is useless. |
| 170 | 166 | * |
| 171 | | * @static |
| 172 | 167 | * @var bool |
| 173 | 168 | */ |
| 174 | 169 | private static $cache_expiration = 1800; |
| … |
… |
final class WP_Theme implements ArrayAccess {
|
| 1210 | 1205 | * |
| 1211 | 1206 | * @since 3.4.0 |
| 1212 | 1207 | * |
| 1213 | | * @static |
| 1214 | | * |
| 1215 | 1208 | * @param string $path Absolute path to search. |
| 1216 | 1209 | * @param array|string|null $extensions Optional. Array of extensions to find, string of a single extension, |
| 1217 | 1210 | * or null for all extensions. Default null. |
| … |
… |
final class WP_Theme implements ArrayAccess {
|
| 1362 | 1355 | * |
| 1363 | 1356 | * @since 3.4.0 |
| 1364 | 1357 | * |
| 1365 | | * @static |
| 1366 | | * |
| 1367 | 1358 | * @param int $blog_id Optional. ID of the site. Defaults to the current site. |
| 1368 | 1359 | * @return array Array of stylesheet names. |
| 1369 | 1360 | */ |
| … |
… |
final class WP_Theme implements ArrayAccess {
|
| 1388 | 1379 | * |
| 1389 | 1380 | * @since 3.4.0 |
| 1390 | 1381 | * |
| 1391 | | * @static |
| 1392 | | * |
| 1393 | 1382 | * @staticvar array $allowed_themes |
| 1394 | 1383 | * |
| 1395 | 1384 | * @return array Array of stylesheet names. |
| … |
… |
final class WP_Theme implements ArrayAccess {
|
| 1417 | 1406 | * |
| 1418 | 1407 | * @since 3.4.0 |
| 1419 | 1408 | * |
| 1420 | | * @static |
| 1421 | | * |
| 1422 | 1409 | * @staticvar array $allowed_themes |
| 1423 | 1410 | * |
| 1424 | 1411 | * @param int $blog_id Optional. ID of the site. Defaults to the current site. |
| … |
… |
final class WP_Theme implements ArrayAccess {
|
| 1498 | 1485 | * Enables a theme for all sites on the current network. |
| 1499 | 1486 | * |
| 1500 | 1487 | * @since 4.6.0 |
| 1501 | | * @static |
| 1502 | 1488 | * |
| 1503 | 1489 | * @param string|array $stylesheets Stylesheet name or array of stylesheet names. |
| 1504 | 1490 | */ |
| … |
… |
final class WP_Theme implements ArrayAccess {
|
| 1523 | 1509 | * Disables a theme for all sites on the current network. |
| 1524 | 1510 | * |
| 1525 | 1511 | * @since 4.6.0 |
| 1526 | | * @static |
| 1527 | 1512 | * |
| 1528 | 1513 | * @param string|array $stylesheets Stylesheet name or array of stylesheet names. |
| 1529 | 1514 | */ |
| … |
… |
final class WP_Theme implements ArrayAccess {
|
| 1551 | 1536 | * |
| 1552 | 1537 | * @since 3.4.0 |
| 1553 | 1538 | * |
| 1554 | | * @static |
| 1555 | | * |
| 1556 | 1539 | * @param array $themes Array of themes to sort (passed by reference). |
| 1557 | 1540 | */ |
| 1558 | 1541 | public static function sort_by_name( &$themes ) { |
| … |
… |
final class WP_Theme implements ArrayAccess {
|
| 1571 | 1554 | * |
| 1572 | 1555 | * @since 3.4.0 |
| 1573 | 1556 | * |
| 1574 | | * @static |
| 1575 | | * |
| 1576 | 1557 | * @param string $a First name. |
| 1577 | 1558 | * @param string $b Second name. |
| 1578 | 1559 | * @return int Negative if `$a` falls lower in the natural order than `$b`. Zero if they fall equally. |
| … |
… |
final class WP_Theme implements ArrayAccess {
|
| 1587 | 1568 | * |
| 1588 | 1569 | * @since 3.4.0 |
| 1589 | 1570 | * |
| 1590 | | * @static |
| 1591 | | * |
| 1592 | 1571 | * @param string $a First name. |
| 1593 | 1572 | * @param string $b Second name. |
| 1594 | 1573 | * @return int Negative if `$a` falls lower in the natural order than `$b`. Zero if they fall equally. |
-
diff --git src/wp-includes/class-wp-user-meta-session-tokens.php src/wp-includes/class-wp-user-meta-session-tokens.php
index 1cb5cca..c144a7a 100644
|
|
|
class WP_User_Meta_Session_Tokens extends WP_Session_Tokens {
|
| 124 | 124 | * Destroy all session tokens for all users. |
| 125 | 125 | * |
| 126 | 126 | * @since 4.0.0 |
| 127 | | * @static |
| 128 | 127 | */ |
| 129 | 128 | public static function drop_sessions() { |
| 130 | 129 | delete_metadata( 'user', 0, 'session_tokens', false, true ); |
-
diff --git src/wp-includes/class-wp-user.php src/wp-includes/class-wp-user.php
index f67780f..c677085 100644
|
|
|
class WP_User {
|
| 101 | 101 | private $site_id = 0; |
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | | * @static |
| 105 | 104 | * @since 3.3.0 |
| 106 | 105 | * @var array |
| 107 | 106 | */ |
| … |
… |
class WP_User {
|
| 180 | 179 | * @since 3.3.0 |
| 181 | 180 | * @since 4.4.0 Added 'ID' as an alias of 'id' for the `$field` parameter. |
| 182 | 181 | * |
| 183 | | * @static |
| 184 | | * |
| 185 | 182 | * @global wpdb $wpdb WordPress database abstraction object. |
| 186 | 183 | * |
| 187 | 184 | * @param string $field The field to query against: 'id', 'ID', 'slug', 'email' or 'login'. |
-
diff --git src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php
index 545c2f6..1049acf 100644
|
|
|
class WP_Customize_Nav_Menu_Item_Setting extends WP_Customize_Setting {
|
| 538 | 538 | * Re-apply the tail logic also applied on $items by wp_get_nav_menu_items(). |
| 539 | 539 | * |
| 540 | 540 | * @since 4.3.0 |
| 541 | | * @static |
| 542 | 541 | * |
| 543 | 542 | * @see wp_get_nav_menu_items() |
| 544 | 543 | * |
-
diff --git src/wp-includes/pomo/mo.php src/wp-includes/pomo/mo.php
index 6ec3524..4dfd672 100644
|
|
|
if ( ! class_exists( 'MO', false ) ) :
|
| 295 | 295 | * Build a Translation_Entry from original string and translation strings, |
| 296 | 296 | * found in a MO file |
| 297 | 297 | * |
| 298 | | * @static |
| 299 | 298 | * @param string $original original string to translate from MO file. Might contain |
| 300 | 299 | * 0x04 as context separator or 0x00 as singular/plural separator |
| 301 | 300 | * @param string $translation translation string from MO file. Might contain |
-
diff --git src/wp-includes/pomo/po.php src/wp-includes/pomo/po.php
index 17e1d71..f5ddf5f 100644
|
|
|
if ( ! class_exists( 'PO', false ) ) :
|
| 100 | 100 | /** |
| 101 | 101 | * Formats a string in PO-style |
| 102 | 102 | * |
| 103 | | * @static |
| 104 | 103 | * @param string $string the string to format |
| 105 | 104 | * @return string the poified string |
| 106 | 105 | */ |
| … |
… |
if ( ! class_exists( 'PO', false ) ) :
|
| 131 | 130 | /** |
| 132 | 131 | * Gives back the original string from a PO-formatted string |
| 133 | 132 | * |
| 134 | | * @static |
| 135 | 133 | * @param string $string PO-formatted string |
| 136 | 134 | * @return string enascaped string |
| 137 | 135 | */ |
| … |
… |
if ( ! class_exists( 'PO', false ) ) :
|
| 173 | 171 | * Inserts $with in the beginning of every new line of $string and |
| 174 | 172 | * returns the modified string |
| 175 | 173 | * |
| 176 | | * @static |
| 177 | 174 | * @param string $string prepend lines in this string |
| 178 | 175 | * @param string $with prepend lines with this string |
| 179 | 176 | */ |
| … |
… |
if ( ! class_exists( 'PO', false ) ) :
|
| 211 | 208 | /** |
| 212 | 209 | * Builds a string from the entry for inclusion in PO file |
| 213 | 210 | * |
| 214 | | * @static |
| 215 | 211 | * @param Translation_Entry $entry the entry to convert to po string (passed by reference). |
| 216 | 212 | * @return false|string PO-style formatted string for the entry or |
| 217 | 213 | * false if the entry is empty |
-
diff --git src/wp-includes/rest-api/class-wp-rest-request.php src/wp-includes/rest-api/class-wp-rest-request.php
index 49e119d..f4981e9 100644
|
|
|
class WP_REST_Request implements ArrayAccess {
|
| 174 | 174 | * @link https://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers |
| 175 | 175 | * |
| 176 | 176 | * @since 4.4.0 |
| 177 | | * @static |
| 178 | 177 | * |
| 179 | 178 | * @param string $key Header name. |
| 180 | 179 | * @return string Canonicalized name. |
| … |
… |
class WP_REST_Request implements ArrayAccess {
|
| 953 | 952 | /** |
| 954 | 953 | * Retrieves a WP_REST_Request object from a full URL. |
| 955 | 954 | * |
| 956 | | * @static |
| 957 | 955 | * @since 4.5.0 |
| 958 | 956 | * |
| 959 | 957 | * @param string $url URL with protocol, domain, path and query args. |
-
diff --git src/wp-includes/rest-api/class-wp-rest-server.php src/wp-includes/rest-api/class-wp-rest-server.php
index fbc47da..bdb6f0f 100644
|
|
|
class WP_REST_Server {
|
| 459 | 459 | * direct output. |
| 460 | 460 | * |
| 461 | 461 | * @since 4.4.0 |
| 462 | | * @static |
| 463 | 462 | * |
| 464 | 463 | * @param WP_REST_Response $response Response to extract links from. |
| 465 | 464 | * @return array Map of link relation to list of link hashes. |
| … |
… |
class WP_REST_Server {
|
| 492 | 491 | * direct output. |
| 493 | 492 | * |
| 494 | 493 | * @since 4.5.0 |
| 495 | | * @static |
| 496 | 494 | * |
| 497 | 495 | * @param WP_REST_Response $response Response to extract links from. |
| 498 | 496 | * @return array Map of link relation to list of link hashes. |
-
diff --git src/wp-includes/widgets/class-wp-widget-calendar.php src/wp-includes/widgets/class-wp-widget-calendar.php
index c19a3a2..dd56e6f 100644
|
|
|
class WP_Widget_Calendar extends WP_Widget {
|
| 20 | 20 | * |
| 21 | 21 | * @since 4.4.0 |
| 22 | 22 | * |
| 23 | | * @static |
| 24 | 23 | * @var int |
| 25 | 24 | */ |
| 26 | 25 | private static $instance = 0; |