Ticket #43254: 43254.2.diff
File 43254.2.diff, 26.2 KB (added by , 7 years ago) |
---|
-
src/wp-admin/includes/plugin.php
463 463 * 464 464 * Plugins in the mu-plugins/ folder can't be "activated," so this function will 465 465 * 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 * 467 471 * @since 2.5.0 468 472 * 469 473 * @param string $plugin Path to the main plugin file from plugins directory. … … 477 481 * Check whether the plugin is inactive. 478 482 * 479 483 * 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 * 481 489 * @since 3.1.0 482 490 * @see is_plugin_active() 483 491 * … … 495 503 * 496 504 * Plugins in the mu-plugins/ folder can't be "activated," so this function will 497 505 * 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 * 499 511 * @since 3.0.0 500 512 * 501 513 * @param string $plugin Path to the main plugin file from plugins directory. -
src/wp-includes/admin-bar.php
1118 1118 1119 1119 /** 1120 1120 * Determine whether the admin bar should be showing. 1121 * 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 * 1122 1126 * @since 3.1.0 1123 1127 * 1124 1128 * @global bool $show_admin_bar -
src/wp-includes/author-template.php
524 524 * Does this site have more than one author 525 525 * 526 526 * 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 * 528 532 * @since 3.2.0 529 533 * 530 534 * @global wpdb $wpdb WordPress database abstraction object. -
src/wp-includes/category-template.php
231 231 * Prior to v2.7, only one category could be compared: in_category( $single_category ). 232 232 * Prior to v2.7, this function could only be used in the WordPress Loop. 233 233 * 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. 234 238 * 235 239 * @since 1.2.0 236 240 * … … 1415 1419 * Prior to v2.7 of WordPress, tags given as integers would also be checked against the post's tags' names and slugs (in addition to term_ids) 1416 1420 * Prior to v2.7, this function could only be used in the WordPress Loop. 1417 1421 * 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. 1418 1426 * 1419 1427 * @since 2.6.0 1420 1428 * -
src/wp-includes/comment-template.php
1202 1202 1203 1203 /** 1204 1204 * Whether the current post is open for comments. 1205 * 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 * 1206 1210 * @since 1.5.0 1207 1211 * 1208 1212 * @param int|WP_Post $post_id Post ID or WP_Post object. Default current post. … … 1228 1232 1229 1233 /** 1230 1234 * 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. 1231 1239 * 1232 1240 * @since 1.5.0 1233 1241 * -
src/wp-includes/deprecated.php
2511 2511 * Is the current admin page generated by a plugin? 2512 2512 * 2513 2513 * 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 * 2515 2519 * @since 1.5.0 2516 2520 * @deprecated 3.1.0 2517 2521 * … … 3714 3718 3715 3719 /** 3716 3720 * Whether the current URL is within the comments popup window. 3717 * 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 * 3718 3726 * @since 1.5.0 3719 3727 * @deprecated 4.5.0 3720 3728 * -
src/wp-includes/functions.php
673 673 /** 674 674 * Whether the publish date of the current post in the loop is different from the 675 675 * publish date of the previous post in the loop. 676 * 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 * 677 681 * @since 0.71 678 682 * 679 683 * @global string $currentday The day of the current post in the loop. … … 1389 1393 * cache, and the database goes away, then you might have problems. 1390 1394 * 1391 1395 * 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. 1392 1400 * 1393 1401 * @since 2.1.0 1394 1402 * -
src/wp-includes/functions.wp-scripts.php
320 320 321 321 /** 322 322 * Check whether a script has been added to the queue. 323 * 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 * 324 328 * @since 2.8.0 325 329 * @since 3.5.0 'enqueued' added as an alias of the 'queue' list. 326 330 * -
src/wp-includes/l10n.php
1288 1288 1289 1289 /** 1290 1290 * Checks if current locale is 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. 1291 1295 * 1292 1296 * @since 3.0.0 1293 1297 * -
src/wp-includes/load.php
762 762 * Does not check if the user is an administrator; current_user_can() 763 763 * for checking roles and capabilities. 764 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. 768 * 765 769 * @since 1.5.1 766 770 * 767 771 * @global WP_Screen $current_screen -
src/wp-includes/pluggable.php
983 983 /** 984 984 * Checks if the current visitor is a logged in user. 985 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 * 986 990 * @since 2.0.0 987 991 * 988 992 * @return bool True if user is logged in, false if not logged in. -
src/wp-includes/post-template.php
413 413 414 414 /** 415 415 * 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. 416 420 * 417 421 * @since 2.3.0 418 422 * … … 1691 1695 * This template tag allows you to determine if you are in a page template. 1692 1696 * You can optionally provide a template name or array of template names 1693 1697 * 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 * 1695 1703 * @since 2.5.0 1696 1704 * @since 4.2.0 The `$template` parameter was changed to also accept an array of page templates. 1697 1705 * @since 4.7.0 Now works with any post type, not just pages. -
src/wp-includes/post-thumbnail-template.php
11 11 12 12 /** 13 13 * Check if 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. 14 18 * 15 19 * @since 2.9.0 16 20 * @since 4.4.0 `$post` can be a post ID or WP_Post object. -
src/wp-includes/post.php
972 972 973 973 /** 974 974 * Check if 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. 975 979 * 976 980 * @since 3.0.0 977 981 * … … 1985 1989 * 1986 1990 * Sticky posts should remain at the top of The Loop. If the post ID is not 1987 1991 * 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 * 1989 1997 * @since 2.7.0 1990 1998 * 1991 1999 * @param int $post_id Optional. Post ID. Default is ID of the global $post. … … 5046 5054 5047 5055 /** 5048 5056 * Check if the attachment URI is local one and is really an attachment. 5049 * 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 * 5050 5062 * @since 2.0.0 5051 5063 * 5052 5064 * @param string $url URL to check … … 5521 5533 5522 5534 /** 5523 5535 * Checks if the 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. 5524 5540 * 5525 5541 * @since 2.1.0 5526 5542 * @since 4.2.0 Modified into wrapper for wp_attachment_is() and -
src/wp-includes/query.php
139 139 * Is the query for an existing archive page? 140 140 * 141 141 * 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 * 143 147 * @since 1.5.0 144 148 * 145 149 * @global WP_Query $wp_query Global WP_Query instance. … … 159 163 160 164 /** 161 165 * Is the query for an existing post type archive page? 162 * 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 * 163 171 * @since 3.1.0 164 172 * 165 173 * @global WP_Query $wp_query Global WP_Query instance. … … 180 188 181 189 /** 182 190 * Is the query for an existing attachment page? 183 * 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 * 184 196 * @since 2.0.0 185 197 * 186 198 * @global WP_Query $wp_query Global WP_Query instance. … … 204 216 * 205 217 * If the $author parameter is specified, this function will additionally 206 218 * 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 * 208 224 * @since 1.5.0 209 225 * 210 226 * @global WP_Query $wp_query Global WP_Query instance. … … 228 244 * 229 245 * If the $category parameter is specified, this function will additionally 230 246 * 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 * 232 252 * @since 1.5.0 233 253 * 234 254 * @global WP_Query $wp_query Global WP_Query instance. … … 252 272 * 253 273 * If the $tag parameter is specified, this function will additionally 254 274 * 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. 255 279 * 256 280 * @since 2.3.0 257 281 * … … 280 304 * If the $term parameter is specified in addition to the $taxonomy parameter, 281 305 * this function will additionally check if the query is for one of the terms 282 306 * 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. 283 311 * 284 312 * @since 2.5.0 285 313 * … … 302 330 303 331 /** 304 332 * Is the query for an existing date archive? 305 * 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 * 306 338 * @since 1.5.0 307 339 * 308 340 * @global WP_Query $wp_query Global WP_Query instance. … … 324 356 * Is the query for an existing day archive? 325 357 * 326 358 * 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 * 328 364 * @since 1.5.0 329 365 * 330 366 * @global WP_Query $wp_query Global WP_Query instance. … … 344 380 345 381 /** 346 382 * Is the query for a feed? 347 * 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 * 348 388 * @since 1.5.0 349 389 * 350 390 * @global WP_Query $wp_query Global WP_Query instance. … … 394 434 * true when viewing that page. 395 435 * 396 436 * 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 * 398 442 * @since 2.5.0 399 443 * 400 444 * @global WP_Query $wp_query Global WP_Query instance. … … 422 466 * 423 467 * If a static page is set for the front page of the site, this function will return true only 424 468 * 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 * 426 474 * @since 1.5.0 427 475 * 428 476 * @see is_front_page() … … 443 491 444 492 /** 445 493 * Is the query for an existing month archive? 446 * 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 * 447 499 * @since 1.5.0 448 500 * 449 501 * @global WP_Query $wp_query Global WP_Query instance. … … 466 518 * 467 519 * If the $page parameter is specified, this function will additionally 468 520 * 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 * 470 526 * @see is_single() 471 527 * @see is_singular() 472 528 * … … 490 546 491 547 /** 492 548 * Is the query for paged result and not for the first page? 493 * 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 * 494 554 * @since 1.5.0 495 555 * 496 556 * @global WP_Query $wp_query Global WP_Query instance. … … 510 570 511 571 /** 512 572 * Is the query for a post or page preview? 513 * 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 * 514 578 * @since 2.0.0 515 579 * 516 580 * @global WP_Query $wp_query Global WP_Query instance. … … 550 614 551 615 /** 552 616 * Is the query for a search? 553 * 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 * 554 622 * @since 1.5.0 555 623 * 556 624 * @global WP_Query $wp_query Global WP_Query instance. … … 575 643 * 576 644 * If the $post parameter is specified, this function will additionally 577 645 * 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 * 579 651 * @see is_page() 580 652 * @see is_singular() 581 653 * … … 603 675 * 604 676 * If the $post_types parameter is specified, this function will additionally 605 677 * 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 * 607 683 * @see is_page() 608 684 * @see is_single() 609 685 * … … 627 703 628 704 /** 629 705 * Is the query 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. 630 710 * 631 711 * @since 1.5.0 632 712 * … … 647 727 648 728 /** 649 729 * Is the query 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. 650 734 * 651 735 * @since 1.5.0 652 736 * … … 667 751 668 752 /** 669 753 * Is the query 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. 670 758 * 671 759 * @since 1.5.0 672 760 * … … 687 775 688 776 /** 689 777 * Is the query a 404 (returns no results)? 690 * 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 * 691 783 * @since 1.5.0 692 784 * 693 785 * @global WP_Query $wp_query Global WP_Query instance. … … 727 819 728 820 /** 729 821 * Is the query the main query? 730 * 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 * 731 827 * @since 3.3.0 732 828 * 733 829 * @global WP_Query $wp_query Global WP_Query instance. … … 771 867 772 868 /** 773 869 * 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. 774 874 * 775 875 * @since 2.0.0 776 876 * -
src/wp-includes/taxonomy.php
262 262 * Checks that the taxonomy name exists. 263 263 * 264 264 * 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. 265 269 * 266 270 * @since 3.0.0 267 271 * … … 283 287 * object, and finally returns the hierarchical value in the object. 284 288 * 285 289 * 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. 286 294 * 287 295 * @since 2.3.0 288 296 * … … 1318 1326 * Check if Term exists. 1319 1327 * 1320 1328 * 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. 1321 1333 * 1322 1334 * @since 3.0.0 1323 1335 * -
src/wp-includes/user.php
1370 1370 1371 1371 /** 1372 1372 * Checks 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. 1373 1377 * 1374 1378 * @since 2.0.0 1375 1379 * … … 1396 1400 1397 1401 /** 1398 1402 * Checks 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. 1399 1407 * 1400 1408 * @since 2.1.0 1401 1409 * -
src/wp-includes/widgets.php
812 812 * 813 813 * NOTE: $widget_id and $id_base are the same for single widgets. To be effective 814 814 * 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 * 816 820 * @since 2.2.0 817 821 * 818 822 * @global array $wp_registered_widgets … … 850 854 851 855 /** 852 856 * Whether the dynamic sidebar is enabled and used by theme. 853 * 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 * 854 862 * @since 2.2.0 855 863 * 856 864 * @global array $wp_registered_widgets … … 875 883 876 884 /** 877 885 * Whether a sidebar is in use. 878 * 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 * 879 891 * @since 2.8.0 880 892 * 881 893 * @param string|int $index Sidebar name, id or number to check.