Changeset 30538
- Timestamp:
- 11/24/2014 05:18:56 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r30384 r30538 869 869 /** 870 870 * Determines which Filesystem Method to use. 871 * The priority of the Transports are: Direct, SSH2, FTP PHP Extension, FTP Sockets (Via Sockets class, or fsockopen()) 871 * 872 * The priority of the Transports are: Direct, SSH2, FTP PHP Extension, 873 * FTP Sockets (Via Sockets class, or `fsockopen()`). 872 874 * 873 875 * Note that the return value of this function can be overridden in 2 ways 874 * - By defining FS_METHOD in your <code>wp-config.php</code> file 876 * 877 * - By defining FS_METHOD in your `wp-config.php` file 875 878 * - By using the filesystem_method filter 876 * Valid values for these are: 'direct', 'ssh2', 'ftpext' or 'ftpsockets' 877 * Plugins may also define a custom transport handler, See the WP_Filesystem function for more information. 879 * 880 * Valid values for these are: 'direct', 'ssh2', 'ftpext' or 'ftpsockets'. 881 * 882 * Plugins may also define a custom transport handler, See the WP_Filesystem 883 * function for more information. 878 884 * 879 885 * @since 2.5.0 886 * 887 * @todo Properly mark arguments as optional. 880 888 * 881 889 * @param array $args Connection details. … … 944 952 945 953 /** 946 * Displays a form to the user to request for their FTP/SSH details in order to connect to the filesystem. 954 * Displays a form to the user to request for their FTP/SSH details in order 955 * to connect to the filesystem. 956 * 947 957 * All chosen/entered details are saved, Excluding the Password. 948 958 * 949 * Hostnames may be in the form of hostname:portnumber (eg: wordpress.org:2467) to specify an alternate FTP/SSH port. 950 * 951 * Plugins may override this form by returning true|false via the <code>request_filesystem_credentials</code> filter. 952 * 953 * @since 2.5.0 959 * Hostnames may be in the form of hostname:portnumber (eg: wordpress.org:2467) 960 * to specify an alternate FTP/SSH port. 961 * 962 * Plugins may override this form by returning true|false via the 963 * {@see 'request_filesystem_credentials'} filter. 964 * 965 * @since 2.5. 966 * 967 * @todo Properly mark optional arguments as such 954 968 * 955 969 * @param string $form_post the URL to post the form to -
trunk/src/wp-includes/comment-template.php
r30111 r30538 2138 2138 * @type string $comment_field The comment textarea field HTML. 2139 2139 * @type string $must_log_in HTML element for a 'must be logged in to comment' message. 2140 * @type string $logged_in_as HTML element for a 'logged in as <user>' message.2140 * @type string $logged_in_as HTML element for a 'logged in as [user]' message. 2141 2141 * @type string $comment_notes_before HTML element for a message displayed before the comment form. 2142 2142 * Default 'Your email address will not be published.'. … … 2247 2247 <?php 2248 2248 /** 2249 * Fires at the top of the comment form, inside the <form>tag.2249 * Fires at the top of the comment form, inside the form tag. 2250 2250 * 2251 2251 * @since 3.0.0 -
trunk/src/wp-includes/deprecated.php
r30202 r30538 452 452 * Gets an array of link objects associated with category $cat_name. 453 453 * 454 * <code> 455 * $links = get_linkobjectsbyname('fred'); 456 * foreach ($links as $link) { 457 * echo '<li>'.$link->link_name.'</li>'; 458 * } 459 * </code> 454 * $links = get_linkobjectsbyname( 'fred' ); 455 * foreach ( $links as $link ) { 456 * echo '<li>' . $link->link_name . '</li>'; 457 * } 460 458 * 461 459 * @since 1.0.1 … … 486 484 * 487 485 * Usage: 488 * <code> 489 * $links = get_linkobjects(1); 490 * if ($links) { 491 * foreach ($links as $link) { 492 * echo '<li>'.$link->link_name.'<br />'.$link->link_description.'</li>'; 493 * } 494 * } 495 * </code> 486 * 487 * $links = get_linkobjects(1); 488 * if ($links) { 489 * foreach ($links as $link) { 490 * echo '<li>'.$link->link_name.'<br />'.$link->link_description.'</li>'; 491 * } 492 * } 496 493 * 497 494 * Fields are: 498 * <ol> 499 * <li>link_id</li> 500 * <li>link_url</li> 501 * <li>link_name</li> 502 * <li>link_image</li> 503 * <li>link_target</li> 504 * <li>link_category</li> 505 * <li>link_description</li> 506 * <li>link_visible</li> 507 * <li>link_owner</li> 508 * <li>link_rating</li> 509 * <li>link_updated</li> 510 * <li>link_rel</li> 511 * <li>link_notes</li> 512 * </ol> 495 * 496 * - link_id 497 * - link_url 498 * - link_name 499 * - link_image 500 * - link_target 501 * - link_category 502 * - link_description 503 * - link_visible 504 * - link_owner 505 * - link_rating 506 * - link_updated 507 * - link_rel 508 * - link_notes 513 509 * 514 510 * @since 1.0.1 … … 2990 2986 * Accepts matches array from preg_replace_callback in wpautop() or a string. 2991 2987 * 2992 * Ensures that the contents of a <<pre>>...<</pre>>HTML block are not2988 * Ensures that the contents of a `<pre>...</pre>` HTML block are not 2993 2989 * converted into paragraphs or line-breaks. 2994 2990 * -
trunk/src/wp-includes/feed-rss2.php
r29014 r30538 12 12 13 13 /** 14 * Fires between the <xml> and <rss>tags in a feed.14 * Fires between the xml and rss tags in a feed. 15 15 * 16 16 * @since 4.0.0
Note: See TracChangeset
for help on using the changeset viewer.