Changeset 39051
- Timestamp:
- 10/31/2016 06:27:53 AM (8 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cache.php
r38457 r39051 255 255 * function when preparing the cache for a blog switch. For clearing the cache 256 256 * during unit tests, consider using wp_cache_init(). wp_cache_init() is not 257 * recommended outside of unit tests as the performance penal ity for using it is257 * recommended outside of unit tests as the performance penalty for using it is 258 258 * high. 259 259 * -
trunk/src/wp-includes/class-pop3.php
r34234 r39051 431 431 { 432 432 // The POP3 RSET command -never- gives a -ERR 433 // response - if it ever does, something tru ely433 // response - if it ever does, something truly 434 434 // wild is going on. 435 435 -
trunk/src/wp-includes/class-walker-page.php
r38523 r39051 50 50 * @param string $output Passed by reference. Used to append additional content. 51 51 * @param int $depth Optional. Depth of page. Used for padding. Default 0. 52 * @param array $args Optional. Arguments for output ing the next level.52 * @param array $args Optional. Arguments for outputting the next level. 53 53 * Default empty array. 54 54 */ -
trunk/src/wp-includes/class-wp-customize-control.php
r38948 r39051 458 458 * Render the control's content. 459 459 * 460 * Allows the content to be overrid en without having to rewrite the wrapper in `$this::render()`.460 * Allows the content to be overridden without having to rewrite the wrapper in `$this::render()`. 461 461 * 462 462 * Supports basic input types `text`, `checkbox`, `textarea`, `radio`, `select` and `dropdown-pages`. -
trunk/src/wp-includes/class-wp-widget.php
r38318 r39051 11 11 * Core base class extended to register widgets. 12 12 * 13 * This class must be extended for each widget, and WP_Widget::widget() must be overrid en.13 * This class must be extended for each widget, and WP_Widget::widget() must be overridden. 14 14 * 15 15 * If adding widget options, WP_Widget::update() and WP_Widget::form() should also be overridden. … … 105 105 106 106 // 107 // Member functions that must be overrid en by subclasses.107 // Member functions that must be overridden by subclasses. 108 108 // 109 109 -
trunk/src/wp-includes/css/editor.css
r38937 r39051 1323 1323 @media screen and ( min-width: 782px ) { 1324 1324 .wp-core-ui .quicktags-toolbar input.button.button-small { 1325 /* .button-small is normal y 11px, but a bit too small for these buttons. */1325 /* .button-small is normally 11px, but a bit too small for these buttons. */ 1326 1326 font-size: 12px; 1327 1327 height: 26px; -
trunk/src/wp-includes/customize/class-wp-customize-themes-panel.php
r38813 r39051 73 73 <li class="filter-themes-count"> 74 74 <span class="themes-displayed"><?php 75 /* translators: %s: number of themes displayed; plural forms cannot be accom odated here so assume plurality or translate as "Themes: %s" */75 /* translators: %s: number of themes displayed; plural forms cannot be accommodated here so assume plurality or translate as "Themes: %s" */ 76 76 echo sprintf( __( 'Displaying %s themes' ), '<span class="theme-count">0</span>' ); 77 77 ?></span> 78 78 <button type="button" class="button button-primary see-themes"><?php 79 /* translators: %s: number of themes displayed; plural forms cannot be accom odated here so assume plurality or omit the count and translate as "Show themes" */79 /* translators: %s: number of themes displayed; plural forms cannot be accommodated here so assume plurality or omit the count and translate as "Show themes" */ 80 80 echo sprintf( __( 'Show %s themes' ), '<span class="theme-count">0</span>' ); 81 81 ?></button> -
trunk/src/wp-includes/deprecated.php
r38928 r39051 3764 3764 * 3765 3765 * @since 1.5.0 3766 * @deprecated 4.7.0 The paged.php template is no longer part of the theme template h eirarchy.3766 * @deprecated 4.7.0 The paged.php template is no longer part of the theme template hierarchy. 3767 3767 * 3768 3768 * @return string Full path to paged template file. -
trunk/src/wp-includes/js/customize-base.js
r38890 r39051 166 166 * Observable values that support two-way binding. 167 167 * 168 * @const uctor168 * @constructor 169 169 */ 170 170 api.Value = api.Class.extend({ … … 305 305 * A collection of observable values. 306 306 * 307 * @const uctor307 * @constructor 308 308 * @augments wp.customize.Class 309 309 * @mixes wp.customize.Events … … 521 521 * Handles inputs, selects, and textareas by default. 522 522 * 523 * @const uctor523 * @constructor 524 524 * @augments wp.customize.Value 525 525 * @augments wp.customize.Class … … 618 618 * A communicator for sending data from one window to another over postMessage. 619 619 * 620 * @const uctor620 * @constructor 621 621 * @augments wp.customize.Class 622 622 * @mixes wp.customize.Events -
trunk/src/wp-includes/js/heartbeat.js
r36709 r39051 132 132 // The minimal interval can be up to 600 sec. however setting it to longer than 120 sec. will limit or disable 133 133 // some of the functionality (like post locks). 134 // Once set at initialization, minimalInterval cannot be changed/overrid en.134 // Once set at initialization, minimalInterval cannot be changed/overridden. 135 135 if ( options.minimalInterval ) { 136 136 options.minimalInterval = parseInt( options.minimalInterval, 10 ); -
trunk/src/wp-includes/js/mce-view.js
r38774 r39051 295 295 296 296 /** 297 * Retu ns the content to render in the view node.297 * Returns the content to render in the view node. 298 298 * 299 299 * @return {*} -
trunk/src/wp-includes/js/media-models.js
r33337 r39051 697 697 }, 698 698 /** 699 * Retri ve more attachments from the server for the collection.699 * Retrieve more attachments from the server for the collection. 700 700 * 701 701 * Only works if the collection is mirroring a Query Attachments collection, -
trunk/src/wp-includes/js/media/models/attachments.js
r33337 r39051 297 297 }, 298 298 /** 299 * Retri ve more attachments from the server for the collection.299 * Retrieve more attachments from the server for the collection. 300 300 * 301 301 * Only works if the collection is mirroring a Query Attachments collection, -
trunk/src/wp-includes/js/utils.js
r33947 r39051 111 111 expires = expires.toGMTString(); 112 112 } else if ( parseInt( expires, 10 ) ) { 113 d.setTime( d.getTime() + ( parseInt( expires, 10 ) * 1000 ) ); // time must be in mil iseconds113 d.setTime( d.getTime() + ( parseInt( expires, 10 ) * 1000 ) ); // time must be in milliseconds 114 114 expires = d.toGMTString(); 115 115 } else { -
trunk/src/wp-includes/js/wp-api.js
r38879 r39051 423 423 424 424 /** 425 * Add a helper fun tion to handle post Meta.425 * Add a helper function to handle post Meta. 426 426 */ 427 427 MetaMixin = { … … 432 432 433 433 /** 434 * Add a helper fun tion to handle post Revisions.434 * Add a helper function to handle post Revisions. 435 435 */ 436 436 RevisionsMixin = { … … 441 441 442 442 /** 443 * Add a helper fun tion to handle post Tags.443 * Add a helper function to handle post Tags. 444 444 */ 445 445 TagsMixin = { … … 525 525 526 526 /** 527 * Add a helper fun tion to handle post Categories.527 * Add a helper function to handle post Categories. 528 528 */ 529 529 CategoriesMixin = { -
trunk/src/wp-includes/pluggable.php
r38961 r39051 1748 1748 } 1749 1749 1750 // `$deprecated was pre-4.3 `$plaintext_pass`. An empty `$plaintext_pass` didn't sent a user notif cation.1750 // `$deprecated was pre-4.3 `$plaintext_pass`. An empty `$plaintext_pass` didn't sent a user notification. 1751 1751 if ( 'admin' === $notify || ( empty( $deprecated ) && empty( $notify ) ) ) { 1752 1752 return; -
trunk/src/wp-includes/pomo/translations.php
r35714 r39051 103 103 * 0 if there is one element, 1 otherwise 104 104 * 105 * This function should be overrid edby the sub-classes. For example MO/PO can derive the logic105 * This function should be overridden by the sub-classes. For example MO/PO can derive the logic 106 106 * from their headers. 107 107 * -
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r39044 r39051 640 640 * @param string $route The REST route. 641 641 * @param array $route_args Route arguments. 642 * @param bool $override Optional. Whether the route should be overrid en if it already exists.642 * @param bool $override Optional. Whether the route should be overridden if it already exists. 643 643 * Default false. 644 644 */ -
trunk/src/wp-includes/rss.php
r38883 r39051 742 742 Function: set 743 743 Purpose: add an item to the cache, keyed on url 744 Input: url from w ich the rss file was fetched744 Input: url from which the rss file was fetched 745 745 Output: true on success 746 746 \*=======================================================================*/ … … 756 756 Function: get 757 757 Purpose: fetch an item from the cache 758 Input: url from w ich the rss file was fetched758 Input: url from which the rss file was fetched 759 759 Output: cached object on HIT, false on MISS 760 760 \*=======================================================================*/ … … 777 777 Purpose: check a url for membership in the cache 778 778 and whether the object is older then MAX_AGE (ie. STALE) 779 Input: url from w ich the rss file was fetched779 Input: url from which the rss file was fetched 780 780 Output: cached object on HIT, false on MISS 781 781 \*=======================================================================*/ … … 810 810 Function: file_name 811 811 Purpose: map url to location in cache 812 Input: url from w ich the rss file was fetched812 Input: url from which the rss file was fetched 813 813 Output: a file name 814 814 \*=======================================================================*/
Note: See TracChangeset
for help on using the changeset viewer.