Changeset 37753
- Timestamp:
- 06/20/2016 08:47:20 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r37738 r37753 290 290 291 291 /** 292 * Ret urns the Log Out URL.292 * Retrieves the logout URL. 293 293 * 294 294 * Returns the URL that allows the user to log out of the site. … … 297 297 * 298 298 * @param string $redirect Path to redirect to on logout. 299 * @return string A log out URL.299 * @return string The logout URL. Note: HTML-encoded via esc_html() in wp_nonce_url(). 300 300 */ 301 301 function wp_logout_url($redirect = '') { … … 313 313 * @since 2.8.0 314 314 * 315 * @param string $logout_url The Log Out URL.315 * @param string $logout_url The HTML-encoded logout URL. 316 316 * @param string $redirect Path to redirect to on logout. 317 317 */ … … 320 320 321 321 /** 322 * Ret urns the URL that allows the user to log in to the site.322 * Retrieves the login URL. 323 323 * 324 324 * @since 2.7.0 325 325 * 326 * @param string $redirect Path to redirect to on login. 327 * @param bool $force_reauth Whether to force reauthorization, even if a cookie is present. Default is false. 328 * @return string A log in URL. 326 * @param string $redirect Path to redirect to on log in. 327 * @param bool $force_reauth Whether to force reauthorization, even if a cookie is present. 328 * Default false. 329 * @return string The login URL. Not HTML-encoded. 329 330 */ 330 331 function wp_login_url($redirect = '', $force_reauth = false) { … … 343 344 * @since 4.2.0 The `$force_reauth` parameter was added. 344 345 * 345 * @param string $login_url The login URL. 346 * @param string $login_url The login URL. Not HTML-encoded. 346 347 * @param string $redirect The path to redirect to on login, if supplied. 347 348 * @param bool $force_reauth Whether to force reauthorization, even if a cookie is present.
Note: See TracChangeset
for help on using the changeset viewer.