Make WordPress Core

Changeset 42710


Ignore:
Timestamp:
02/13/2018 04:53:44 PM (6 years ago)
Author:
DrewAPicture
Message:

Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions.

These notations largely serve to direct consumers (of both the source and the parsed code reference) to extended information on individual and related conditional tags throughout WordPress. The changeset also standardizes corresponding DocBlock summaries to use third-person singular verbs.

Notations been added for the following functions:

  • comments_open()
  • email exists()
  • has_excerpt()
  • has_post_thumbnail()
  • has_tag()
  • in_category()
  • in_the_loop()
  • is_404()
  • is_active_sidebar()
  • is_active_widget()
  • is_admin()
  • is_admin_bar_showing()
  • is_archive()
  • is_attachment()
  • is_author()
  • is_blog_installed()
  • is_category()
  • is_comments_popup()
  • is_date()
  • is_day()
  • is_dynamic_sidebar()
  • is_feed()
  • is_front_page()
  • is_home()
  • is_local_attachment()
  • is_main_query
  • is_month()
  • is_multi_author
  • is_new_day()
  • is_page()
  • is_page_template()
  • is_paged()
  • is_plugin_active()
  • is_plugin_active_for_network()
  • is_plugin_inactive()
  • is_plugin_page()
  • is_post_type_archive()
  • is_preview()
  • is_rtl()
  • is_search()
  • is_single()
  • is_singular()
  • is_sticky()
  • is_tag()
  • is_tax()
  • is_taxonomy_hierarchical()
  • is_time()
  • is_trackback()
  • is_user_logged_in()
  • is_year()
  • pings_open()
  • post_type_exists()
  • taxonomy_exists()
  • term_exists()
  • username exists()
  • wp_attachment_is_image()
  • wp_script_is()

Props janalwin.
Fixes #43254.

Location:
trunk/src
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin.php

    r42394 r42710  
    458458
    459459/**
    460  * Check whether a plugin is active.
     460 * Determines whether a plugin is active.
    461461 *
    462462 * Only plugins installed in the plugins/ folder can be active.
     
    464464 * Plugins in the mu-plugins/ folder can't be "activated," so this function will
    465465 * return false for those plugins.
    466  *
     466 *
     467 * For more information on this and similar theme functions, check out
     468 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     469 * Conditional Tags} article in the Theme Developer Handbook.
     470 *
    467471 * @since 2.5.0
    468472 *
     
    475479
    476480/**
    477  * Check whether the plugin is inactive.
     481 * Determines whether the plugin is inactive.
    478482 *
    479483 * Reverse of is_plugin_active(). Used as a callback.
    480  *
     484 *
     485 * For more information on this and similar theme functions, check out
     486 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     487 * Conditional Tags} article in the Theme Developer Handbook.
     488 *
    481489 * @since 3.1.0
    482490 * @see is_plugin_active()
     
    490498
    491499/**
    492  * Check whether the plugin is active for the entire network.
     500 * Determines whether the plugin is active for the entire network.
    493501 *
    494502 * Only plugins installed in the plugins/ folder can be active.
     
    496504 * Plugins in the mu-plugins/ folder can't be "activated," so this function will
    497505 * return false for those plugins.
    498  *
     506 *
     507 * For more information on this and similar theme functions, check out
     508 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     509 * Conditional Tags} article in the Theme Developer Handbook.
     510 *
    499511 * @since 3.0.0
    500512 *
    501513 * @param string $plugin Path to the main plugin file from plugins directory.
    502  * @return bool True, if active for the network, otherwise false.
     514 * @return bool True if active for the network, otherwise false.
    503515 */
    504516function is_plugin_active_for_network( $plugin ) {
  • trunk/src/wp-includes/admin-bar.php

    r42343 r42710  
    11181118
    11191119/**
    1120  * Determine whether the admin bar should be showing.
    1121  *
     1120 * Determines whether the admin bar should be showing.
     1121 *
     1122 * For more information on this and similar theme functions, check out
     1123 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     1124 * Conditional Tags} article in the Theme Developer Handbook.
     1125 *
    11221126 * @since 3.1.0
    11231127 *
  • trunk/src/wp-includes/author-template.php

    r42343 r42710  
    522522
    523523/**
    524  * Does this site have more than one author
     524 * Determines whether this site has more than one author.
    525525 *
    526526 * Checks to see if more than one author has published posts.
    527  *
     527 *
     528 * For more information on this and similar theme functions, check out
     529 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     530 * Conditional Tags} article in the Theme Developer Handbook.
     531 *
    528532 * @since 3.2.0
    529533 *
  • trunk/src/wp-includes/category-template.php

    r42658 r42710  
    222222
    223223/**
    224  * Check if the current post is within any of the given categories.
     224 * Checks if the current post is within any of the given categories.
    225225 *
    226226 * The given categories are checked against the post's categories' term_ids, names and slugs.
     
    232232 * Prior to v2.7, this function could only be used in the WordPress Loop.
    233233 * As of 2.7, the function can be used anywhere if it is provided a post ID or post object.
     234 *
     235 * For more information on this and similar theme functions, check out
     236 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     237 * Conditional Tags} article in the Theme Developer Handbook.
    234238 *
    235239 * @since 1.2.0
     
    14071411
    14081412/**
    1409  * Check if the current post has any of given tags.
     1413 * Checks if the current post has any of given tags.
    14101414 *
    14111415 * The given tags are checked against the post's tags' term_ids, names and slugs.
     
    14161420 * Prior to v2.7, this function could only be used in the WordPress Loop.
    14171421 * As of 2.7, the function can be used anywhere if it is provided a post ID or post object.
     1422 *
     1423 * For more information on this and similar theme functions, check out
     1424 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     1425 * Conditional Tags} article in the Theme Developer Handbook.
    14181426 *
    14191427 * @since 2.6.0
  • trunk/src/wp-includes/comment-template.php

    r42360 r42710  
    12021202
    12031203/**
    1204  * Whether the current post is open for comments.
    1205  *
     1204 * Determines whether the current post is open for comments.
     1205 *
     1206 * For more information on this and similar theme functions, check out
     1207 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     1208 * Conditional Tags} article in the Theme Developer Handbook.
     1209 *
    12061210 * @since 1.5.0
    12071211 *
     
    12281232
    12291233/**
    1230  * Whether the current post is open for pings.
     1234 * Determines whether the current post is open for pings.
     1235 *
     1236 * For more information on this and similar theme functions, check out
     1237 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     1238 * Conditional Tags} article in the Theme Developer Handbook.
    12311239 *
    12321240 * @since 1.5.0
  • trunk/src/wp-includes/deprecated.php

    r41787 r42710  
    25092509
    25102510/**
    2511  * Is the current admin page generated by a plugin?
     2511 * Determines whether the current admin page is generated by a plugin.
    25122512 *
    25132513 * Use global $plugin_page and/or get_plugin_page_hookname() hooks.
    2514  *
     2514 *
     2515 * For more information on this and similar theme functions, check out
     2516 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     2517 * Conditional Tags} article in the Theme Developer Handbook.
     2518 *
    25152519 * @since 1.5.0
    25162520 * @deprecated 3.1.0
     
    37143718
    37153719/**
    3716  * Whether the current URL is within the comments popup window.
    3717  *
     3720 * Determines whether the current URL is within the comments popup window.
     3721 *
     3722 * For more information on this and similar theme functions, check out
     3723 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     3724 * Conditional Tags} article in the Theme Developer Handbook.
     3725 *
    37183726 * @since 1.5.0
    37193727 * @deprecated 4.5.0
  • trunk/src/wp-includes/functions.php

    r42697 r42710  
    672672
    673673/**
    674  * Whether the publish date of the current post in the loop is different from the
    675  * publish date of the previous post in the loop.
    676  *
     674 * Determines whether the publish date of the current post in the loop is different
     675 * from the publish date of the previous post in the loop.
     676 *
     677 * For more information on this and similar theme functions, check out
     678 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     679 * Conditional Tags} article in the Theme Developer Handbook.
     680 *
    677681 * @since 0.71
    678682 *
     
    13831387
    13841388/**
    1385  * Test whether WordPress is already installed.
     1389 * Determines whether WordPress is already installed.
    13861390 *
    13871391 * The cache will be checked first. If you have a cache plugin, which saves
     
    13901394 *
    13911395 * Checks for the 'siteurl' option for whether WordPress is installed.
     1396 *
     1397 * For more information on this and similar theme functions, check out
     1398 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     1399 * Conditional Tags} article in the Theme Developer Handbook.
    13921400 *
    13931401 * @since 2.1.0
  • trunk/src/wp-includes/functions.wp-scripts.php

    r42343 r42710  
    320320
    321321/**
    322  * Check whether a script has been added to the queue.
    323  *
     322 * Determines whether a script has been added to the queue.
     323 *
     324 * For more information on this and similar theme functions, check out
     325 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     326 * Conditional Tags} article in the Theme Developer Handbook.
     327 * 
    324328 * @since 2.8.0
    325329 * @since 3.5.0 'enqueued' added as an alias of the 'queue' list.
  • trunk/src/wp-includes/l10n.php

    r42399 r42710  
    12881288
    12891289/**
    1290  * Checks if current locale is RTL.
     1290 * Determines whether the current locale is right-to-left (RTL).
     1291 *
     1292 * For more information on this and similar theme functions, check out
     1293 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     1294 * Conditional Tags} article in the Theme Developer Handbook.
    12911295 *
    12921296 * @since 3.0.0
  • trunk/src/wp-includes/load.php

    r42701 r42710  
    758758
    759759/**
    760  * Whether the current request is for an administrative interface page.
     760 * Determines whether the current request is for an administrative interface page.
    761761 *
    762762 * Does not check if the user is an administrator; current_user_can()
    763763 * for checking roles and capabilities.
     764 *
     765 * For more information on this and similar theme functions, check out
     766 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     767 * Conditional Tags} article in the Theme Developer Handbook.
    764768 *
    765769 * @since 1.5.1
  • trunk/src/wp-includes/pluggable.php

    r42647 r42710  
    982982if ( ! function_exists( 'is_user_logged_in' ) ) :
    983983    /**
    984      * Checks if the current visitor is a logged in user.
    985      *
     984     * Determines whether the current visitor is a logged in user.
     985     *
     986     * For more information on this and similar theme functions, check out
     987     * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     988     * Conditional Tags} article in the Theme Developer Handbook.
     989     *
    986990     * @since 2.0.0
    987991     *
  • trunk/src/wp-includes/post-template.php

    r42440 r42710  
    413413
    414414/**
    415  * Whether the post has a custom excerpt.
     415 * Determines whether the post has a custom excerpt.
     416 *
     417 * For more information on this and similar theme functions, check out
     418 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     419 * Conditional Tags} article in the Theme Developer Handbook.
    416420 *
    417421 * @since 2.3.0
     
    16871691
    16881692/**
    1689  * Whether currently in a page template.
     1693 * Determines whether currently in a page template.
    16901694 *
    16911695 * This template tag allows you to determine if you are in a page template.
    16921696 * You can optionally provide a template name or array of template names
    16931697 * and then the check will be specific to that template.
    1694  *
     1698 *
     1699 * For more information on this and similar theme functions, check out
     1700 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     1701 * Conditional Tags} article in the Theme Developer Handbook.
     1702 *
    16951703 * @since 2.5.0
    16961704 * @since 4.2.0 The `$template` parameter was changed to also accept an array of page templates.
  • trunk/src/wp-includes/post-thumbnail-template.php

    r42343 r42710  
    1111
    1212/**
    13  * Check if post has an image attached.
     13 * Determines whether a post has an image attached.
     14 *
     15 * For more information on this and similar theme functions, check out
     16 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     17 * Conditional Tags} article in the Theme Developer Handbook.
    1418 *
    1519 * @since 2.9.0
  • trunk/src/wp-includes/post.php

    r42678 r42710  
    972972
    973973/**
    974  * Check if a post type is registered.
     974 * Determines whether a post type is registered.
     975 *
     976 * For more information on this and similar theme functions, check out
     977 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     978 * Conditional Tags} article in the Theme Developer Handbook.
    975979 *
    976980 * @since 3.0.0
     
    19821986
    19831987/**
    1984  * Check if post is sticky.
     1988 * Determines whether a post is sticky.
    19851989 *
    19861990 * Sticky posts should remain at the top of The Loop. If the post ID is not
    19871991 * given, then The Loop ID for the current post will be used.
    1988  *
     1992 *
     1993 * For more information on this and similar theme functions, check out
     1994 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     1995 * Conditional Tags} article in the Theme Developer Handbook.
     1996 *
    19891997 * @since 2.7.0
    19901998 *
     
    50465054
    50475055/**
    5048  * Check if the attachment URI is local one and is really an attachment.
    5049  *
     5056 * Determines whether an attachment URI is local and really an attachment.
     5057 *
     5058 * For more information on this and similar theme functions, check out
     5059 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     5060 * Conditional Tags} article in the Theme Developer Handbook.
     5061 *
    50505062 * @since 2.0.0
    50515063 *
     
    55215533
    55225534/**
    5523  * Checks if the attachment is an image.
     5535 * Determines whether an attachment is an image.
     5536 *
     5537 * For more information on this and similar theme functions, check out
     5538 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     5539 * Conditional Tags} article in the Theme Developer Handbook.
    55245540 *
    55255541 * @since 2.1.0
  • trunk/src/wp-includes/query.php

    r42588 r42710  
    137137
    138138/**
    139  * Is the query for an existing archive page?
     139 * Determines whether the query is for an existing archive page.
    140140 *
    141141 * Month, Year, Category, Author, Post Type archive...
    142  *
     142 *
     143 * For more information on this and similar theme functions, check out
     144 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     145 * Conditional Tags} article in the Theme Developer Handbook.
     146 *
    143147 * @since 1.5.0
    144148 *
     
    159163
    160164/**
    161  * Is the query for an existing post type archive page?
    162  *
     165 * Determines whether the query is for an existing post type archive page.
     166 *
     167 * For more information on this and similar theme functions, check out
     168 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     169 * Conditional Tags} article in the Theme Developer Handbook.
     170 *
    163171 * @since 3.1.0
    164172 *
     
    180188
    181189/**
    182  * Is the query for an existing attachment page?
    183  *
     190 * Determines whether the query is for an existing attachment page.
     191 *
     192 * For more information on this and similar theme functions, check out
     193 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     194 * Conditional Tags} article in the Theme Developer Handbook.
     195 *
    184196 * @since 2.0.0
    185197 *
     
    201213
    202214/**
    203  * Is the query for an existing author archive page?
     215 * Determines whether the query is for an existing author archive page.
    204216 *
    205217 * If the $author parameter is specified, this function will additionally
    206218 * check if the query is for one of the authors specified.
    207  *
     219 *
     220 * For more information on this and similar theme functions, check out
     221 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     222 * Conditional Tags} article in the Theme Developer Handbook.
     223 *
    208224 * @since 1.5.0
    209225 *
     
    225241
    226242/**
    227  * Is the query for an existing category archive page?
     243 * Determines whether the query is for an existing category archive page.
    228244 *
    229245 * If the $category parameter is specified, this function will additionally
    230246 * check if the query is for one of the categories specified.
    231  *
     247 *
     248 * For more information on this and similar theme functions, check out
     249 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     250 * Conditional Tags} article in the Theme Developer Handbook.
     251 *
    232252 * @since 1.5.0
    233253 *
     
    249269
    250270/**
    251  * Is the query for an existing tag archive page?
     271 * Determines whether the query is for an existing tag archive page.
    252272 *
    253273 * If the $tag parameter is specified, this function will additionally
    254274 * check if the query is for one of the tags specified.
     275 *
     276 * For more information on this and similar theme functions, check out
     277 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     278 * Conditional Tags} article in the Theme Developer Handbook.
    255279 *
    256280 * @since 2.3.0
     
    273297
    274298/**
    275  * Is the query for an existing custom taxonomy archive page?
     299 * Determines whether the query is for an existing custom taxonomy archive page.
    276300 *
    277301 * If the $taxonomy parameter is specified, this function will additionally
     
    281305 * this function will additionally check if the query is for one of the terms
    282306 * specified.
     307 *
     308 * For more information on this and similar theme functions, check out
     309 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     310 * Conditional Tags} article in the Theme Developer Handbook.
    283311 *
    284312 * @since 2.5.0
     
    302330
    303331/**
    304  * Is the query for an existing date archive?
    305  *
     332 * Determines whether the query is for an existing date archive.
     333 *
     334 * For more information on this and similar theme functions, check out
     335 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     336 * Conditional Tags} article in the Theme Developer Handbook.
     337 *
    306338 * @since 1.5.0
    307339 *
     
    322354
    323355/**
    324  * Is the query for an existing day archive?
     356 * Determines whether the query is for an existing day archive.
    325357 *
    326358 * A conditional check to test whether the page is a date-based archive page displaying posts for the current day.
    327  *
     359 *
     360 * For more information on this and similar theme functions, check out
     361 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     362 * Conditional Tags} article in the Theme Developer Handbook.
     363 *
    328364 * @since 1.5.0
    329365 *
     
    344380
    345381/**
    346  * Is the query for a feed?
    347  *
     382 * Determines whether the query is for a feed.
     383 *
     384 * For more information on this and similar theme functions, check out
     385 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     386 * Conditional Tags} article in the Theme Developer Handbook.
     387 *
    348388 * @since 1.5.0
    349389 *
     
    385425
    386426/**
    387  * Is the query for the front page of the site?
     427 * Determines whether the query is for the front page of the site.
    388428 *
    389429 * This is for what is displayed at your site's main URL.
     
    395435 *
    396436 * Otherwise the same as @see is_home()
    397  *
     437 *
     438 * For more information on this and similar theme functions, check out
     439 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     440 * Conditional Tags} article in the Theme Developer Handbook.
     441 *
    398442 * @since 2.5.0
    399443 *
     
    414458
    415459/**
    416  * Determines if the query is for the blog homepage.
     460 * Determines whether the query is for the blog homepage.
    417461 *
    418462 * The blog homepage is the page that shows the time-based blog content of the site.
     
    423467 * If a static page is set for the front page of the site, this function will return true only
    424468 * on the page you set as the "Posts page".
    425  *
     469 *
     470 * For more information on this and similar theme functions, check out
     471 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     472 * Conditional Tags} article in the Theme Developer Handbook.
     473 *
    426474 * @since 1.5.0
    427475 *
     
    443491
    444492/**
    445  * Is the query for an existing month archive?
    446  *
     493 * Determines whether the query is for an existing month archive.
     494 *
     495 * For more information on this and similar theme functions, check out
     496 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     497 * Conditional Tags} article in the Theme Developer Handbook.
     498 *
    447499 * @since 1.5.0
    448500 *
     
    463515
    464516/**
    465  * Is the query for an existing single page?
     517 * Determines whether the query is for an existing single page.
    466518 *
    467519 * If the $page parameter is specified, this function will additionally
    468520 * check if the query is for one of the pages specified.
    469  *
     521 *
     522 * For more information on this and similar theme functions, check out
     523 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     524 * Conditional Tags} article in the Theme Developer Handbook.
     525 *
    470526 * @see is_single()
    471527 * @see is_singular()
     
    490546
    491547/**
    492  * Is the query for paged result and not for the first page?
    493  *
     548 * Determines whether the query is for paged results and not for the first page.
     549 *
     550 * For more information on this and similar theme functions, check out
     551 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     552 * Conditional Tags} article in the Theme Developer Handbook.
     553 *
    494554 * @since 1.5.0
    495555 *
     
    510570
    511571/**
    512  * Is the query for a post or page preview?
    513  *
     572 * Determines whether the query is for a post or page preview.
     573 *
     574 * For more information on this and similar theme functions, check out
     575 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     576 * Conditional Tags} article in the Theme Developer Handbook.
     577 *
    514578 * @since 2.0.0
    515579 *
     
    550614
    551615/**
    552  * Is the query for a search?
    553  *
     616 * Determines whether the query is for a search.
     617 *
     618 * For more information on this and similar theme functions, check out
     619 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     620 * Conditional Tags} article in the Theme Developer Handbook.
     621 *
    554622 * @since 1.5.0
    555623 *
     
    570638
    571639/**
    572  * Is the query for an existing single post?
     640 * Determines whether the query is for an existing single post.
    573641 *
    574642 * Works for any post type, except attachments and pages
     
    576644 * If the $post parameter is specified, this function will additionally
    577645 * check if the query is for one of the Posts specified.
    578  *
     646 *
     647 * For more information on this and similar theme functions, check out
     648 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     649 * Conditional Tags} article in the Theme Developer Handbook.
     650 *
    579651 * @see is_page()
    580652 * @see is_singular()
     
    599671
    600672/**
    601  * Is the query for an existing single post of any post type (post, attachment, page,
    602  * custom post types)?
     673 * Determines whether the query is for an existing single post of any post type
     674 * (post, attachment, page, custom post types).
    603675 *
    604676 * If the $post_types parameter is specified, this function will additionally
    605677 * check if the query is for one of the Posts Types specified.
    606  *
     678 *
     679 * For more information on this and similar theme functions, check out
     680 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     681 * Conditional Tags} article in the Theme Developer Handbook.
     682 *
    607683 * @see is_page()
    608684 * @see is_single()
     
    627703
    628704/**
    629  * Is the query for a specific time?
     705 * Determines whether the query is for a specific time.
     706 *
     707 * For more information on this and similar theme functions, check out
     708 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     709 * Conditional Tags} article in the Theme Developer Handbook.
    630710 *
    631711 * @since 1.5.0
     
    647727
    648728/**
    649  * Is the query for a trackback endpoint call?
     729 * Determines whether the query is for a trackback endpoint call.
     730 *
     731 * For more information on this and similar theme functions, check out
     732 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     733 * Conditional Tags} article in the Theme Developer Handbook.
    650734 *
    651735 * @since 1.5.0
     
    667751
    668752/**
    669  * Is the query for an existing year archive?
     753 * Determines whether the query is for an existing year archive.
     754 *
     755 * For more information on this and similar theme functions, check out
     756 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     757 * Conditional Tags} article in the Theme Developer Handbook.
    670758 *
    671759 * @since 1.5.0
     
    687775
    688776/**
    689  * Is the query a 404 (returns no results)?
    690  *
     777 * Determines whether the query has resulted in a 404 (returns no results).
     778 *
     779 * For more information on this and similar theme functions, check out
     780 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     781 * Conditional Tags} article in the Theme Developer Handbook.
     782 *
    691783 * @since 1.5.0
    692784 *
     
    727819
    728820/**
    729  * Is the query the main query?
    730  *
     821 * Determines whether the query is the main query.
     822 *
     823 * For more information on this and similar theme functions, check out
     824 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     825 * Conditional Tags} article in the Theme Developer Handbook.
     826 *
    731827 * @since 3.3.0
    732828 *
     
    771867
    772868/**
    773  * Whether the caller is in the Loop.
     869 * Determines whether the caller is in the Loop.
     870 *
     871 * For more information on this and similar theme functions, check out
     872 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     873 * Conditional Tags} article in the Theme Developer Handbook.
    774874 *
    775875 * @since 2.0.0
  • trunk/src/wp-includes/taxonomy.php

    r42699 r42710  
    260260
    261261/**
    262  * Checks that the taxonomy name exists.
     262 * Determines whether the taxonomy name exists.
    263263 *
    264264 * Formerly is_taxonomy(), introduced in 2.3.0.
     265 *
     266 * For more information on this and similar theme functions, check out
     267 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     268 * Conditional Tags} article in the Theme Developer Handbook.
    265269 *
    266270 * @since 3.0.0
     
    278282
    279283/**
    280  * Whether the taxonomy object is hierarchical.
     284 * Determines whether the taxonomy object is hierarchical.
    281285 *
    282286 * Checks to make sure that the taxonomy is an object first. Then Gets the
     
    284288 *
    285289 * A false return value might also mean that the taxonomy does not exist.
     290 *
     291 * For more information on this and similar theme functions, check out
     292 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     293 * Conditional Tags} article in the Theme Developer Handbook.
    286294 *
    287295 * @since 2.3.0
     
    13161324
    13171325/**
    1318  * Check if Term exists.
     1326 * Determines whether a term exists.
    13191327 *
    13201328 * Formerly is_term(), introduced in 2.3.0.
     1329 *
     1330 * For more information on this and similar theme functions, check out
     1331 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     1332 * Conditional Tags} article in the Theme Developer Handbook.
    13211333 *
    13221334 * @since 3.0.0
  • trunk/src/wp-includes/user.php

    r42678 r42710  
    13701370
    13711371/**
    1372  * Checks whether the given username exists.
     1372 * Determines whether the given username exists.
     1373 *
     1374 * For more information on this and similar theme functions, check out
     1375 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     1376 * Conditional Tags} article in the Theme Developer Handbook.
    13731377 *
    13741378 * @since 2.0.0
     
    13961400
    13971401/**
    1398  * Checks whether the given email exists.
     1402 * Determines whether the given email exists.
     1403 *
     1404 * For more information on this and similar theme functions, check out
     1405 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     1406 * Conditional Tags} article in the Theme Developer Handbook.
    13991407 *
    14001408 * @since 2.1.0
  • trunk/src/wp-includes/widgets.php

    r42374 r42710  
    802802
    803803/**
    804  * Whether widget is displayed on the front end.
     804 * Determines whether a given widget is displayed on the front end.
    805805 *
    806806 * Either $callback or $id_base can be used
     
    813813 * NOTE: $widget_id and $id_base are the same for single widgets. To be effective
    814814 * this function has to run after widgets have initialized, at action {@see 'init'} or later.
    815  *
     815 *
     816 * For more information on this and similar theme functions, check out
     817 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     818 * Conditional Tags} article in the Theme Developer Handbook.
     819 *
    816820 * @since 2.2.0
    817821 *
     
    850854
    851855/**
    852  * Whether the dynamic sidebar is enabled and used by theme.
    853  *
     856 * Determines whether the dynamic sidebar is enabled and used by the theme.
     857 *
     858 * For more information on this and similar theme functions, check out
     859 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     860 * Conditional Tags} article in the Theme Developer Handbook.
     861 *
    854862 * @since 2.2.0
    855863 *
     
    875883
    876884/**
    877  * Whether a sidebar is in use.
    878  *
     885 * Determines whether a sidebar is in use.
     886 *
     887 * For more information on this and similar theme functions, check out
     888 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
     889 * Conditional Tags} article in the Theme Developer Handbook.
     890 *
    879891 * @since 2.8.0
    880892 *
Note: See TracChangeset for help on using the changeset viewer.