Changeset 37492
- Timestamp:
- 05/22/2016 06:14:19 PM (8 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-comment-query.php
r37482 r37492 415 415 if ( $comment_ids && $this->query_vars['number'] && ! $this->query_vars['no_found_rows'] ) { 416 416 /** 417 * Filter the query used to retrieve found comment count.417 * Filters the query used to retrieve found comment count. 418 418 * 419 419 * @since 4.4.0 … … 454 454 455 455 /** 456 * Filter the comment query results.456 * Filters the comment query results. 457 457 * 458 458 * @since 3.1.0 … … 851 851 $pieces = array( 'fields', 'join', 'where', 'orderby', 'limits', 'groupby' ); 852 852 /** 853 * Filter the comment query clauses.853 * Filters the comment query clauses. 854 854 * 855 855 * @since 3.1.0 -
trunk/src/wp-includes/class-wp-editor.php
r37441 r37492 67 67 68 68 /** 69 * Filter the wp_editor() settings.69 * Filters the wp_editor() settings. 70 70 * 71 71 * @since 4.0.0 … … 242 242 243 243 /** 244 * Filter the HTML markup output that displays the editor.244 * Filters the HTML markup output that displays the editor. 245 245 * 246 246 * @since 2.1.0 … … 259 259 260 260 /** 261 * Filter the default editor content.261 * Filters the default editor content. 262 262 * 263 263 * @since 2.1.0 … … 334 334 335 335 /** 336 * Filter the Quicktags settings.336 * Filters the Quicktags settings. 337 337 * 338 338 * @since 3.3.0 … … 363 363 364 364 /** 365 * Filter the list of teenyMCE plugins.365 * Filters the list of teenyMCE plugins. 366 366 * 367 367 * @since 2.7.0 … … 374 374 375 375 /** 376 * Filter the list of TinyMCE external plugins.376 * Filters the list of TinyMCE external plugins. 377 377 * 378 378 * The filter takes an associative array of external plugins for … … 419 419 420 420 /** 421 * Filter the list of default TinyMCE plugins.421 * Filters the list of default TinyMCE plugins. 422 422 * 423 423 * The filter specifies which of the default plugins included … … 439 439 440 440 /** 441 * Filter the translations loaded for external TinyMCE 3.x plugins.441 * Filters the translations loaded for external TinyMCE 3.x plugins. 442 442 * 443 443 * The filter takes an associative array ('plugin_name' => 'path') … … 577 577 578 578 /** 579 * Filter the comma-delimited list of stylesheets to load in TinyMCE.579 * Filters the comma-delimited list of stylesheets to load in TinyMCE. 580 580 * 581 581 * @since 2.1.0 … … 592 592 593 593 /** 594 * Filter the list of teenyMCE buttons (Text tab).594 * Filters the list of teenyMCE buttons (Text tab). 595 595 * 596 596 * @since 2.7.0 … … 615 615 616 616 /** 617 * Filter the first-row list of TinyMCE buttons (Visual tab).617 * Filters the first-row list of TinyMCE buttons (Visual tab). 618 618 * 619 619 * @since 2.0.0 … … 631 631 632 632 /** 633 * Filter the second-row list of TinyMCE buttons (Visual tab).633 * Filters the second-row list of TinyMCE buttons (Visual tab). 634 634 * 635 635 * @since 2.0.0 … … 641 641 642 642 /** 643 * Filter the third-row list of TinyMCE buttons (Visual tab).643 * Filters the third-row list of TinyMCE buttons (Visual tab). 644 644 * 645 645 * @since 2.0.0 … … 651 651 652 652 /** 653 * Filter the fourth-row list of TinyMCE buttons (Visual tab).653 * Filters the fourth-row list of TinyMCE buttons (Visual tab). 654 654 * 655 655 * @since 2.5.0 … … 712 712 713 713 /** 714 * Filter the teenyMCE config before init.714 * Filters the teenyMCE config before init. 715 715 * 716 716 * @since 2.7.0 … … 723 723 724 724 /** 725 * Filter the TinyMCE config before init.725 * Filters the TinyMCE config before init. 726 726 * 727 727 * @since 2.5.0 … … 1090 1090 1091 1091 /** 1092 * Filter translated strings prepared for TinyMCE.1092 * Filters translated strings prepared for TinyMCE. 1093 1093 * 1094 1094 * @since 3.9.0 … … 1138 1138 1139 1139 /** 1140 * Filter "tiny_mce_version" is deprecated1140 * Filters "tiny_mce_version" is deprecated 1141 1141 * 1142 1142 * The tiny_mce_version filter is not needed since external plugins are loaded directly by TinyMCE. … … 1336 1336 1337 1337 /** 1338 * Filter the link query arguments.1338 * Filters the link query arguments. 1339 1339 * 1340 1340 * Allows modification of the link query arguments before querying. … … 1372 1372 1373 1373 /** 1374 * Filter the link query results.1374 * Filters the link query results. 1375 1375 * 1376 1376 * Allows modification of the returned link query results. -
trunk/src/wp-includes/class-wp-embed.php
r37487 r37492 166 166 if ( false !== $return = call_user_func( $handler['callback'], $matches, $attr, $url, $rawattr ) ) 167 167 /** 168 * Filter the returned embed handler.168 * Filters the returned embed handler. 169 169 * 170 170 * @since 2.9.0 … … 194 194 195 195 /** 196 * Filter the oEmbed TTL value (time to live).196 * Filters the oEmbed TTL value (time to live). 197 197 * 198 198 * @since 4.0.0 … … 221 221 if ( ! empty( $cache ) ) { 222 222 /** 223 * Filter the cached oEmbed HTML.223 * Filters the cached oEmbed HTML. 224 224 * 225 225 * @since 2.9.0 … … 237 237 238 238 /** 239 * Filter whether to inspect the given URL for discoverable link tags.239 * Filters whether to inspect the given URL for discoverable link tags. 240 240 * 241 241 * @since 2.9.0 … … 296 296 $post_types = get_post_types( array( 'show_ui' => true ) ); 297 297 /** 298 * Filter the array of post types to cache oEmbed results for.298 * Filters the array of post types to cache oEmbed results for. 299 299 * 300 300 * @since 2.9.0 … … 366 366 367 367 /** 368 * Filter the returned, maybe-linked embed URL.368 * Filters the returned, maybe-linked embed URL. 369 369 * 370 370 * @since 2.9.0 -
trunk/src/wp-includes/class-wp-http-cookie.php
r34585 r37492 196 196 197 197 /** 198 * Filter the header-encoded cookie value.198 * Filters the header-encoded cookie value. 199 199 * 200 200 * @since 3.4.0 -
trunk/src/wp-includes/class-wp-http-curl.php
r36970 r37492 374 374 375 375 /** 376 * Filter whether cURL can be used as a transport for retrieving a URL.376 * Filters whether cURL can be used as a transport for retrieving a URL. 377 377 * 378 378 * @since 2.7.0 -
trunk/src/wp-includes/class-wp-http-encoding.php
r33875 r37492 162 162 163 163 /** 164 * Filter the allowed encoding types.164 * Filters the allowed encoding types. 165 165 * 166 166 * @since 3.6.0 -
trunk/src/wp-includes/class-wp-http-ixr-client.php
r34203 r37492 70 70 71 71 /** 72 * Filter the headers collection to be sent to the XML-RPC server.72 * Filters the headers collection to be sent to the XML-RPC server. 73 73 * 74 74 * @since 4.4.0 -
trunk/src/wp-includes/class-wp-http-proxy.php
r36416 r37492 177 177 178 178 /** 179 * Filter whether to preempt sending the request through the proxy server.179 * Filters whether to preempt sending the request through the proxy server. 180 180 * 181 181 * Returning false will bypass the proxy; returning true will send -
trunk/src/wp-includes/class-wp-http-streams.php
r37431 r37492 90 90 if ( $is_local ) { 91 91 /** 92 * Filter whether SSL should be verified for local requests.92 * Filters whether SSL should be verified for local requests. 93 93 * 94 94 * @since 2.8.0 … … 99 99 } elseif ( ! $is_local ) { 100 100 /** 101 * Filter whether SSL should be verified for non-local requests.101 * Filters whether SSL should be verified for non-local requests. 102 102 * 103 103 * @since 2.8.0 … … 402 402 403 403 /** 404 * Filter whether streams can be used as a transport for retrieving a URL.404 * Filters whether streams can be used as a transport for retrieving a URL. 405 405 * 406 406 * @since 2.7.0 -
trunk/src/wp-includes/class-wp-image-editor-gd.php
r35479 r37492 98 98 99 99 /** 100 * Filter the memory limit allocated for image manipulation.100 * Filters the memory limit allocated for image manipulation. 101 101 * 102 102 * @since 3.5.0 … … 430 430 431 431 /** 432 * Filter the name of the saved image file.432 * Filters the name of the saved image file. 433 433 * 434 434 * @since 2.6.0 -
trunk/src/wp-includes/class-wp-image-editor-imagick.php
r37431 r37492 312 312 313 313 /** 314 * Filter whether to strip metadata from images when they're resized.314 * Filters whether to strip metadata from images when they're resized. 315 315 * 316 316 * This filter only applies when resizing using the Imagick editor since GD -
trunk/src/wp-includes/class-wp-image-editor.php
r37431 r37492 238 238 if ( null === $quality ) { 239 239 /** 240 * Filter the default image compression quality setting.240 * Filters the default image compression quality setting. 241 241 * 242 242 * Applies only during initial editor instantiation, or when set_quality() is run … … 254 254 if ( 'image/jpeg' == $this->mime_type ) { 255 255 /** 256 * Filter the JPEG compression quality for backward-compatibility.256 * Filters the JPEG compression quality for backward-compatibility. 257 257 * 258 258 * Applies only during initial editor instantiation, or when set_quality() is run … … 334 334 if ( ! $this->supports_mime_type( $mime_type ) ) { 335 335 /** 336 * Filter default mime type prior to getting the file extension.336 * Filters default mime type prior to getting the file extension. 337 337 * 338 338 * @see wp_get_mime_types() -
trunk/src/wp-includes/class-wp-meta-query.php
r37342 r37492 345 345 346 346 /** 347 * Filter the meta query's generated SQL.347 * Filters the meta query's generated SQL. 348 348 * 349 349 * @since 3.1.0 … … 718 718 719 719 /** 720 * Filter the table alias identified as compatible with the current clause.720 * Filters the table alias identified as compatible with the current clause. 721 721 * 722 722 * @since 4.1.0 -
trunk/src/wp-includes/class-wp-network.php
r36340 r37492 231 231 232 232 /** 233 * Filter the number of path segments to consider when searching for a site.233 * Filters the number of path segments to consider when searching for a site. 234 234 * 235 235 * @since 3.9.0 -
trunk/src/wp-includes/class-wp-oembed-controller.php
r35656 r37492 24 24 public function register_routes() { 25 25 /** 26 * Filter the maxwidth oEmbed parameter.26 * Filters the maxwidth oEmbed parameter. 27 27 * 28 28 * @since 4.4.0 … … 68 68 69 69 /** 70 * Filter the determined post ID.70 * Filters the determined post ID. 71 71 * 72 72 * @since 4.4.0 -
trunk/src/wp-includes/class-wp-rewrite.php
r37431 r37492 1298 1298 1299 1299 /** 1300 * Filter rewrite rules used for "post" archives.1300 * Filters rewrite rules used for "post" archives. 1301 1301 * 1302 1302 * @since 1.5.0 … … 1310 1310 1311 1311 /** 1312 * Filter rewrite rules used for date archives.1312 * Filters rewrite rules used for date archives. 1313 1313 * 1314 1314 * Likely date archives would include /yyyy/, /yyyy/mm/, and /yyyy/mm/dd/. … … 1324 1324 1325 1325 /** 1326 * Filter rewrite rules used for root-level archives.1326 * Filters rewrite rules used for root-level archives. 1327 1327 * 1328 1328 * Likely root-level archives would include pagination rules for the homepage … … 1339 1339 1340 1340 /** 1341 * Filter rewrite rules used for comment feed archives.1341 * Filters rewrite rules used for comment feed archives. 1342 1342 * 1343 1343 * Likely comments feed archives include /comments/feed/, and /comments/feed/atom/. … … 1354 1354 1355 1355 /** 1356 * Filter rewrite rules used for search archives.1356 * Filters rewrite rules used for search archives. 1357 1357 * 1358 1358 * Likely search-related archives include /search/search+query/ as well as … … 1369 1369 1370 1370 /** 1371 * Filter rewrite rules used for author archives.1371 * Filters rewrite rules used for author archives. 1372 1372 * 1373 1373 * Likely author archives would include /author/author-name/, as well as … … 1384 1384 1385 1385 /** 1386 * Filter rewrite rules used for "page" post type archives.1386 * Filters rewrite rules used for "page" post type archives. 1387 1387 * 1388 1388 * @since 1.5.0 … … 1404 1404 1405 1405 /** 1406 * Filter rewrite rules used for individual permastructs.1406 * Filters rewrite rules used for individual permastructs. 1407 1407 * 1408 1408 * The dynamic portion of the hook name, `$permastructname`, refers … … 1418 1418 1419 1419 /** 1420 * Filter rewrite rules used specifically for Tags.1420 * Filters rewrite rules used specifically for Tags. 1421 1421 * 1422 1422 * @since 2.3.0 … … 1447 1447 1448 1448 /** 1449 * Filter the full set of generated rewrite rules.1449 * Filters the full set of generated rewrite rules. 1450 1450 * 1451 1451 * @since 1.5.0 … … 1551 1551 1552 1552 /** 1553 * Filter the list of rewrite rules formatted for output to an .htaccess file.1553 * Filters the list of rewrite rules formatted for output to an .htaccess file. 1554 1554 * 1555 1555 * @since 1.5.0 … … 1560 1560 1561 1561 /** 1562 * Filter the list of rewrite rules formatted for output to an .htaccess file.1562 * Filters the list of rewrite rules formatted for output to an .htaccess file. 1563 1563 * 1564 1564 * @since 1.5.0 … … 1613 1613 1614 1614 /** 1615 * Filter the list of rewrite rules formatted for output to a web.config.1615 * Filters the list of rewrite rules formatted for output to a web.config. 1616 1616 * 1617 1617 * @since 2.8.0 … … 1815 1815 1816 1816 /** 1817 * Filter whether a "hard" rewrite rule flush should be performed when requested.1817 * Filters whether a "hard" rewrite rule flush should be performed when requested. 1818 1818 * 1819 1819 * A "hard" flush updates .htaccess (Apache) or web.config (IIS). -
trunk/src/wp-includes/class-wp-role.php
r37487 r37492 97 97 public function has_cap( $cap ) { 98 98 /** 99 * Filter which capabilities a role has.99 * Filters which capabilities a role has. 100 100 * 101 101 * @since 2.0.0 -
trunk/src/wp-includes/class-wp-theme.php
r37431 r37492 1032 1032 1033 1033 /** 1034 * Filter list of page templates for a theme.1034 * Filters list of page templates for a theme. 1035 1035 * 1036 1036 * @since 3.9.0 … … 1193 1193 public static function get_allowed( $blog_id = null ) { 1194 1194 /** 1195 * Filter the array of themes allowed on the network.1195 * Filters the array of themes allowed on the network. 1196 1196 * 1197 1197 * Site is provided as context so that a list of network allowed themes can … … 1226 1226 1227 1227 /** 1228 * Filter the array of themes allowed on the network.1228 * Filters the array of themes allowed on the network. 1229 1229 * 1230 1230 * @since MU … … 1258 1258 if ( isset( $allowed_themes[ $blog_id ] ) ) { 1259 1259 /** 1260 * Filter the array of themes allowed on the site.1260 * Filters the array of themes allowed on the site. 1261 1261 * 1262 1262 * @since 4.5.0 -
trunk/src/wp-includes/class-wp-user-query.php
r37431 r37492 481 481 482 482 /** 483 * Filter the columns to search in a WP_User_Query search.483 * Filters the columns to search in a WP_User_Query search. 484 484 * 485 485 * The default columns depend on the search term, and include 'user_email', … … 548 548 549 549 /** 550 * Filter SELECT FOUND_ROWS() query for the current WP_User_Query instance.550 * Filters SELECT FOUND_ROWS() query for the current WP_User_Query instance. 551 551 * 552 552 * @since 3.2.0 -
trunk/src/wp-includes/class-wp-widget.php
r37425 r37492 354 354 355 355 /** 356 * Filter the settings for a particular widget instance.356 * Filters the settings for a particular widget instance. 357 357 * 358 358 * Returning false will effectively short-circuit display of the widget. … … 443 443 444 444 /** 445 * Filter a widget's settings before saving.445 * Filters a widget's settings before saving. 446 446 * 447 447 * Returning false will effectively short-circuit the widget's ability … … 499 499 500 500 /** 501 * Filter the widget instance's settings before displaying the control form.501 * Filters the widget instance's settings before displaying the control form. 502 502 * 503 503 * Returning false effectively short-circuits display of the control form. -
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r37487 r37492 160 160 161 161 /** 162 * Filter the methods exposed by the XML-RPC server.162 * Filters the methods exposed by the XML-RPC server. 163 163 * 164 164 * This filter can be used to add new methods, and remove built-in methods. … … 248 248 249 249 /** 250 * Filter whether XML-RPC methods requiring authentication are enabled.250 * Filters whether XML-RPC methods requiring authentication are enabled. 251 251 * 252 252 * Contrary to the way it's named, this filter does not control whether XML-RPC is *fully* … … 289 289 290 290 /** 291 * Filter the XML-RPC user login error message.291 * Filters the XML-RPC user login error message. 292 292 * 293 293 * @since 3.5.0 … … 563 563 564 564 /** 565 * Filter the XML-RPC blog options property.565 * Filters the XML-RPC blog options property. 566 566 * 567 567 * @since 2.6.0 … … 705 705 706 706 /** 707 * Filter XML-RPC-prepared data for the given taxonomy.707 * Filters XML-RPC-prepared data for the given taxonomy. 708 708 * 709 709 * @since 3.4.0 … … 739 739 740 740 /** 741 * Filter XML-RPC-prepared data for the given term.741 * Filters XML-RPC-prepared data for the given term. 742 742 * 743 743 * @since 3.4.0 … … 868 868 869 869 /** 870 * Filter XML-RPC-prepared date for the given post.870 * Filters XML-RPC-prepared date for the given post. 871 871 * 872 872 * @since 3.4.0 … … 919 919 920 920 /** 921 * Filter XML-RPC-prepared date for the given post type.921 * Filters XML-RPC-prepared date for the given post type. 922 922 * 923 923 * @since 3.4.0 … … 958 958 959 959 /** 960 * Filter XML-RPC-prepared data for the given media item.960 * Filters XML-RPC-prepared data for the given media item. 961 961 * 962 962 * @since 3.4.0 … … 1040 1040 1041 1041 /** 1042 * Filter XML-RPC-prepared data for the given page.1042 * Filters XML-RPC-prepared data for the given page. 1043 1043 * 1044 1044 * @since 3.4.0 … … 1089 1089 1090 1090 /** 1091 * Filter XML-RPC-prepared data for the given comment.1091 * Filters XML-RPC-prepared data for the given comment. 1092 1092 * 1093 1093 * @since 3.4.0 … … 1137 1137 1138 1138 /** 1139 * Filter XML-RPC-prepared data for the given user.1139 * Filters XML-RPC-prepared data for the given user. 1140 1140 * 1141 1141 * @since 3.5.0 … … 1507 1507 1508 1508 /** 1509 * Filter post data array to be inserted via XML-RPC.1509 * Filters post data array to be inserted via XML-RPC. 1510 1510 * 1511 1511 * @since 3.4.0 … … 1710 1710 } else { 1711 1711 /** 1712 * Filter the list of post query fields used by the given XML-RPC method.1712 * Filters the list of post query fields used by the given XML-RPC method. 1713 1713 * 1714 1714 * @since 3.4.0 … … 2261 2261 } else { 2262 2262 /** 2263 * Filter the taxonomy query fields used by the given XML-RPC method.2263 * Filters the taxonomy query fields used by the given XML-RPC method. 2264 2264 * 2265 2265 * @since 3.4.0 … … 2396 2396 } else { 2397 2397 /** 2398 * Filter the default user query fields used by the given XML-RPC method.2398 * Filters the default user query fields used by the given XML-RPC method. 2399 2399 * 2400 2400 * @since 3.5.0 … … 3509 3509 3510 3510 /** 3511 * Filter whether to allow anonymous comments over XML-RPC.3511 * Filters whether to allow anonymous comments over XML-RPC. 3512 3512 * 3513 3513 * @since 2.7.0 … … 4079 4079 } else { 4080 4080 /** 4081 * Filter the default query fields used by the given XML-RPC method.4081 * Filters the default query fields used by the given XML-RPC method. 4082 4082 * 4083 4083 * @since 3.4.0 … … 4197 4197 } else { 4198 4198 /** 4199 * Filter the default revision query fields used by the given XML-RPC method.4199 * Filters the default revision query fields used by the given XML-RPC method. 4200 4200 * 4201 4201 * @since 3.5.0 … … 5801 5801 5802 5802 /** 5803 * Filter whether to preempt the XML-RPC media upload.5803 * Filters whether to preempt the XML-RPC media upload. 5804 5804 * 5805 5805 * Passing a truthy value will effectively short-circuit the media upload, … … 6086 6086 6087 6087 /** 6088 * Filter the MoveableType text filters list for XML-RPC.6088 * Filters the MoveableType text filters list for XML-RPC. 6089 6089 * 6090 6090 * @since 2.2.0 … … 6214 6214 6215 6215 /** 6216 * Filter the pingback source URI.6216 * Filters the pingback source URI. 6217 6217 * 6218 6218 * @since 3.6.0 … … 6311 6311 6312 6312 /** 6313 * Filter the pingback remote source.6313 * Filters the pingback remote source. 6314 6314 * 6315 6315 * @since 2.5.0 … … 6457 6457 protected function pingback_error( $code, $message ) { 6458 6458 /** 6459 * Filter the XML-RPC pingback error return.6459 * Filters the XML-RPC pingback error return. 6460 6460 * 6461 6461 * @since 3.5.1
Note: See TracChangeset
for help on using the changeset viewer.