Changeset 30541
- Timestamp:
- 11/24/2014 05:38:44 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/index.php
r29787 r30541 112 112 * Add content to the welcome panel on the admin dashboard. 113 113 * 114 * To remove the default welcome panel, use remove_action(): 115 * <code>remove_action( 'welcome_panel', 'wp_welcome_panel' );</code> 114 * To remove the default welcome panel, use {@see remove_action()}: 115 * 116 * remove_action( 'welcome_panel', 'wp_welcome_panel' ); 116 117 * 117 118 * @since 3.5.0 -
trunk/src/wp-includes/functions.php
r30532 r30541 3446 3446 * used by comparing it to its default value or evaluating whether it is empty. 3447 3447 * For example: 3448 * <code>3449 * if ( ! empty( $deprecated ) ) {3450 * 3451 * }3452 * </code>3448 * 3449 * if ( ! empty( $deprecated ) ) { 3450 * _deprecated_argument( __FUNCTION__, '3.0' ); 3451 * } 3452 * 3453 3453 * 3454 3454 * There is a hook deprecated_argument_run that will be called that can be used -
trunk/src/wp-includes/functions.wp-scripts.php
r29788 r30541 91 91 * 92 92 * Accepts an associative array $l10n and creates a JavaScript object: 93 * <code>94 * "$object_name" = {95 * key: value,96 * key: value,97 * ...98 * }99 * </code>93 * 94 * "$object_name" = { 95 * key: value, 96 * key: value, 97 * ... 98 * } 99 * 100 100 * 101 101 * @see WP_Dependencies::localize() … … 104 104 * 105 105 * @since 2.6.0 106 * 107 * @todo Documentation cleanup 106 108 * 107 109 * @param string $handle Script handle the data will be attached to. -
trunk/src/wp-includes/general-template.php
r30224 r30541 512 512 * @since 1.5.0 513 513 * 514 * @param string $before Text to output before the link (defaults to <li>).515 * @param string $after Text to output after the link (defaults to </li>).514 * @param string $before Text to output before the link. Default `<li>`. 515 * @param string $after Text to output after the link. Default `</li>`. 516 516 * @param boolean $echo Default to echo and not return the link. 517 517 * @return string|null String when retrieving, null when displaying. … … 582 582 * 583 583 * Some show parameter values are deprecated and will be removed in future 584 * versions. These options will trigger the _deprecated_argument() function. 585 * The deprecated blog info options are listed in the function contents. 584 * versions. These options will trigger the {@see _deprecated_argument()} 585 * function. The deprecated blog info options are listed in the function 586 * contents. 586 587 * 587 588 * The possible values for the 'show' parameter are listed below. 588 * <ol> 589 * <li><strong>url</strong> - Blog URI to homepage.</li> 590 * <li><strong>wpurl</strong> - Blog URI path to WordPress.</li> 591 * <li><strong>description</strong> - Secondary title</li> 592 * </ol> 589 * 590 * 1. url - Blog URI to homepage. 591 * 2. wpurl - Blog URI path to WordPress. 592 * 3. description - Secondary title 593 593 * 594 594 * The feed URL options can be retrieved from 'rdf_url' (RSS 0.91), … … 715 715 716 716 /** 717 * Display <title>tag with contents.717 * Display title tag with contents. 718 718 * 719 719 * @since 4.1.0 … … 1234 1234 * parameters. 1235 1235 * 1236 * The 'link' format uses the link HTML element with the <em>archives</em>1236 * The 'link' format uses the `<link>` HTML element with the **archives** 1237 1237 * relationship. The before and after parameters are not used. The text 1238 1238 * parameter is used to describe the link. … … 1251 1251 * 1252 1252 * @since 1.0.0 1253 * 1254 * @todo Properly document optional arguments as such 1253 1255 * 1254 1256 * @param string $url URL to archive. … … 2707 2709 * 2708 2710 * Allows a plugin to register a new admin colour scheme. For example: 2709 * <code>2710 * wp_admin_css_color('classic', __('Classic'), admin_url("css/colors-classic.css"),2711 * array('#07273E', '#14568A', '#D54E21', '#2683AE'));2712 * </code>2711 * 2712 * wp_admin_css_color( 'classic', __( 'Classic' ), admin_url( "css/colors-classic.css" ), array( 2713 * '#07273E', '#14568A', '#D54E21', '#2683AE' 2714 * ) ); 2713 2715 * 2714 2716 * @since 2.5.0 2717 * 2718 * @todo Properly document optional arguments as such 2715 2719 * 2716 2720 * @param string $key The unique key for this theme.
Note: See TracChangeset
for help on using the changeset viewer.