Changeset 53740 for trunk/src/wp-includes/general-template.php
- Timestamp:
- 07/20/2022 08:35:17 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r53715 r53740 8 8 9 9 /** 10 * Load header template.10 * Loads header template. 11 11 * 12 12 * Includes the header template for a theme or if a name is specified then a … … 52 52 53 53 /** 54 * Load footer template.54 * Loads footer template. 55 55 * 56 56 * Includes the footer template for a theme or if a name is specified then a … … 96 96 97 97 /** 98 * Load sidebar template.98 * Loads sidebar template. 99 99 * 100 100 * Includes the sidebar template for a theme or if a name is specified then a … … 208 208 209 209 /** 210 * Display search form.210 * Displays search form. 211 211 * 212 212 * Will first attempt to locate the searchform.php file in either the child or … … 363 363 364 364 /** 365 * Display the Log In/Out link.365 * Displays the Log In/Out link. 366 366 * 367 367 * Displays a link, which allows users to navigate to the Log In page to log in … … 630 630 631 631 /** 632 * Returns the URL that allows the user to retrieve the lost password 632 * Returns the URL that allows the user to retrieve the lost password. 633 633 * 634 634 * @since 2.8.0 … … 667 667 668 668 /** 669 * Display the Registration or Admin link.669 * Displays the Registration or Admin link. 670 670 * 671 671 * Display a link which allows the user to navigate to the registration page if … … 992 992 993 993 /** 994 * Whether the site has a Site Icon.994 * Determines whether the site has a Site Icon. 995 995 * 996 996 * @since 4.3.0 … … 1294 1294 1295 1295 /** 1296 * Display or retrievepage title for all areas of blog.1296 * Displays or retrieves page title for all areas of blog. 1297 1297 * 1298 1298 * By default, the page title will display the separator before the page title, … … 1448 1448 1449 1449 /** 1450 * Display or retrievepage title for post.1450 * Displays or retrieves page title for post. 1451 1451 * 1452 1452 * This is optimized for single.php template file for displaying the post title. … … 1487 1487 1488 1488 /** 1489 * Display or retrievetitle for a post type archive.1489 * Displays or retrieves title for a post type archive. 1490 1490 * 1491 1491 * This is optimized for archive.php and archive-{$post_type}.php template files … … 1528 1528 1529 1529 /** 1530 * Display or retrievepage title for category archive.1530 * Displays or retrieves page title for category archive. 1531 1531 * 1532 1532 * Useful for category template files for displaying the category page title. … … 1545 1545 1546 1546 /** 1547 * Display or retrievepage title for tag post archive.1547 * Displays or retrieves page title for tag post archive. 1548 1548 * 1549 1549 * Useful for tag template files for displaying the tag page title. The prefix … … 1562 1562 1563 1563 /** 1564 * Display or retrievepage title for taxonomy term archive.1564 * Displays or retrieves page title for taxonomy term archive. 1565 1565 * 1566 1566 * Useful for taxonomy term template files for displaying the taxonomy term page title. … … 1624 1624 1625 1625 /** 1626 * Display or retrievepage title for post archive based on date.1626 * Displays or retrieves page title for post archive based on date. 1627 1627 * 1628 1628 * Useful for when the template only needs to display the month and year, … … 1667 1667 1668 1668 /** 1669 * Display the archive title based on the queried object.1669 * Displays the archive title based on the queried object. 1670 1670 * 1671 1671 * @since 4.1.0 … … 1685 1685 1686 1686 /** 1687 * Retrieve the archive title based on the queried object.1687 * Retrieves the archive title based on the queried object. 1688 1688 * 1689 1689 * @since 4.1.0 … … 1783 1783 1784 1784 /** 1785 * Display category, tag, term, or author description.1785 * Displays category, tag, term, or author description. 1786 1786 * 1787 1787 * @since 4.1.0 … … 1864 1864 1865 1865 /** 1866 * Retrieve archive link content based on predefined or custom code.1866 * Retrieves archive link content based on predefined or custom code. 1867 1867 * 1868 1868 * The format can be one of four styles. The 'link' for head element, 'option' … … 1933 1933 1934 1934 /** 1935 * Display archive links based on type and format.1935 * Displays archive links based on type and format. 1936 1936 * 1937 1937 * @since 1.2.0 … … 2193 2193 2194 2194 /** 2195 * Get number of days since the start of the week.2195 * Gets number of days since the start of the week. 2196 2196 * 2197 2197 * @since 1.5.0 … … 2206 2206 2207 2207 /** 2208 * Display calendar with days that have posts as links.2208 * Displays calendar with days that have posts as links. 2209 2209 * 2210 2210 * The calendar is cached, which will be retrieved, if it exists. If there are … … 2447 2447 2448 2448 /** 2449 * Purge the cached results of get_calendar.2449 * Purges the cached results of get_calendar. 2450 2450 * 2451 2451 * @see get_calendar() … … 2457 2457 2458 2458 /** 2459 * Display all of the allowed tags in HTML format with attributes.2459 * Displays all of the allowed tags in HTML format with attributes. 2460 2460 * 2461 2461 * This is useful for displaying in the comment area, which elements and … … 2496 2496 2497 2497 /** 2498 * Display or Retrievethe date the current post was written (once per date)2498 * Displays or retrieves the date the current post was written (once per date) 2499 2499 * 2500 2500 * Will only output the date if the current post's date is different from the … … 2548 2548 2549 2549 /** 2550 * Retrieve the date on which the post was written.2550 * Retrieves the date on which the post was written. 2551 2551 * 2552 2552 * Unlike the_date() this function will always return the date. … … 2583 2583 2584 2584 /** 2585 * Display the date on which the post was last modified.2585 * Displays the date on which the post was last modified. 2586 2586 * 2587 2587 * @since 2.1.0 … … 2617 2617 2618 2618 /** 2619 * Retrieve the date on which the post was last modified.2619 * Retrieves the date on which the post was last modified. 2620 2620 * 2621 2621 * @since 2.1.0 … … 2652 2652 2653 2653 /** 2654 * Display the time at which the post was written.2654 * Displays the time at which the post was written. 2655 2655 * 2656 2656 * @since 0.71 … … 2674 2674 2675 2675 /** 2676 * Retrieve the time at which the post was written.2676 * Retrieves the time at which the post was written. 2677 2677 * 2678 2678 * @since 1.5.0 … … 2710 2710 2711 2711 /** 2712 * Retrieve the time at which the post was written.2712 * Retrieves the time at which the post was written. 2713 2713 * 2714 2714 * @since 2.0.0 … … 2767 2767 2768 2768 /** 2769 * Retrieve post published or modified time as a `DateTimeImmutable` object instance.2769 * Retrieves post published or modified time as a `DateTimeImmutable` object instance. 2770 2770 * 2771 2771 * The object will be set to the timezone from WordPress settings. … … 2816 2816 2817 2817 /** 2818 * Retrieve post published or modified time as a Unix timestamp.2818 * Retrieves post published or modified time as a Unix timestamp. 2819 2819 * 2820 2820 * Note that this function returns a true Unix timestamp, not summed with timezone offset … … 2839 2839 2840 2840 /** 2841 * Display the time at which the post was last modified.2841 * Displays the time at which the post was last modified. 2842 2842 * 2843 2843 * @since 2.0.0 … … 2861 2861 2862 2862 /** 2863 * Retrieve the time at which the post was last modified.2863 * Retrieves the time at which the post was last modified. 2864 2864 * 2865 2865 * @since 2.0.0 … … 2899 2899 2900 2900 /** 2901 * Retrieve the time at which the post was last modified.2901 * Retrieves the time at which the post was last modified. 2902 2902 * 2903 2903 * @since 2.0.0 … … 2956 2956 2957 2957 /** 2958 * Display the weekday on which the post was written.2958 * Displays the weekday on which the post was written. 2959 2959 * 2960 2960 * @since 0.71 … … 2984 2984 2985 2985 /** 2986 * Display the weekday on which the post was written.2986 * Displays the weekday on which the post was written. 2987 2987 * 2988 2988 * Will only output the weekday if the current post's weekday is different from … … 3029 3029 3030 3030 /** 3031 * Fire the wp_head action.3031 * Fires the wp_head action. 3032 3032 * 3033 3033 * See {@see 'wp_head'}. … … 3045 3045 3046 3046 /** 3047 * Fire the wp_footer action.3047 * Fires the wp_footer action. 3048 3048 * 3049 3049 * See {@see 'wp_footer'}. … … 3061 3061 3062 3062 /** 3063 * Fire the wp_body_open action.3063 * Fires the wp_body_open action. 3064 3064 * 3065 3065 * See {@see 'wp_body_open'}. … … 3077 3077 3078 3078 /** 3079 * Display the links to the general feeds.3079 * Displays the links to the general feeds. 3080 3080 * 3081 3081 * @since 2.8.0 … … 3123 3123 3124 3124 /** 3125 * Display the links to the extra feeds such as category feeds.3125 * Displays the links to the extra feeds such as category feeds. 3126 3126 * 3127 3127 * @since 2.8.0 … … 3213 3213 3214 3214 /** 3215 * Display the link to the Really Simple Discovery service endpoint.3215 * Displays the link to the Really Simple Discovery service endpoint. 3216 3216 * 3217 3217 * @link http://archipelago.phrasewise.com/rsd … … 3223 3223 3224 3224 /** 3225 * Display the link to the Windows Live Writer manifest file.3225 * Displays the link to the Windows Live Writer manifest file. 3226 3226 * 3227 3227 * @link https://msdn.microsoft.com/en-us/library/bb463265.aspx … … 3251 3251 3252 3252 /** 3253 * Display site icon meta tags.3253 * Displays site icon meta tags. 3254 3254 * 3255 3255 * @since 4.3.0 … … 3460 3460 3461 3461 /** 3462 * Whether the user can access the visual editor.3462 * Determines whether the user can access the visual editor. 3463 3463 * 3464 3464 * Checks if the user can access the visual editor and that it's supported by the user's browser. … … 3504 3504 3505 3505 /** 3506 * Find out which editor should be displayed by default.3506 * Finds out which editor should be displayed by default. 3507 3507 * 3508 3508 * Works out which of the two editors to display as the current editor for a … … 3576 3576 3577 3577 /** 3578 * Enqueue assets needed by the code editor for the given settings.3578 * Enqueues assets needed by the code editor for the given settings. 3579 3579 * 3580 3580 * @since 4.9.0 … … 3669 3669 3670 3670 /** 3671 * Generate and returncode editor settings.3671 * Generates and returns code editor settings. 3672 3672 * 3673 3673 * @since 5.0.0 … … 4688 4688 4689 4689 /** 4690 * Display the generator XML or Comment for RSS, ATOM, etc.4690 * Displays the generator XML or Comment for RSS, ATOM, etc. 4691 4691 * 4692 4692 * Returns the correct generator type for the requested output format. Allows … … 4909 4909 4910 4910 /** 4911 * Default settings for heartbeat 4912 * 4913 * Outputs the nonce used in the heartbeat XHR 4911 * Default settings for heartbeat. 4912 * 4913 * Outputs the nonce used in the heartbeat XHR. 4914 4914 * 4915 4915 * @since 3.6.0
Note: See TracChangeset
for help on using the changeset viewer.