Skip to content

Commit 3b89edb

Browse files
Docs: Add some missing full stops in various DocBlocks.
Follow-up to [8196], [32846], [34928]. Props sujansarkar, shailu25, dhruvang21, westonruter, SergeyBiryukov. Fixes #64181. git-svn-id: https://develop.svn.wordpress.org/trunk@61139 602fd350-edb4-49c9-b593-d223f7449a82
1 parent db1b481 commit 3b89edb

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/wp-includes/rest-api/class-wp-rest-request.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ public function set_url_params( $params ) {
535535
*
536536
* @since 4.4.0
537537
*
538-
* @return array Parameter map of key to value
538+
* @return array Parameter map of key to value.
539539
*/
540540
public function get_query_params() {
541541
return $this->params['GET'];
@@ -587,7 +587,7 @@ public function set_body_params( $params ) {
587587
*
588588
* @since 4.4.0
589589
*
590-
* @return array Parameter map of key to value
590+
* @return array Parameter map of key to value.
591591
*/
592592
public function get_file_params() {
593593
return $this->params['FILES'];
@@ -613,7 +613,7 @@ public function set_file_params( $params ) {
613613
*
614614
* @since 4.4.0
615615
*
616-
* @return array Parameter map of key to value
616+
* @return array Parameter map of key to value.
617617
*/
618618
public function get_default_params() {
619619
return $this->params['defaults'];

src/wp-includes/rest-api/class-wp-rest-server.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function __construct() {
167167
* @since 4.4.0
168168
*
169169
* @return WP_Error|null|true WP_Error indicates unsuccessful login, null indicates successful
170-
* or no authentication provided
170+
* or no authentication provided.
171171
*/
172172
public function check_authentication() {
173173
/**
@@ -227,7 +227,7 @@ protected function error_to_response( $error ) {
227227
* @param string $code WP_Error-style code.
228228
* @param string $message Human-readable message.
229229
* @param int|null $status Optional. HTTP status code to send. Default null.
230-
* @return string JSON representation of the error
230+
* @return string JSON representation of the error.
231231
*/
232232
protected function json_error( $code, $message, $status = null ) {
233233
if ( $status ) {

src/wp-includes/shortcodes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ function _filter_do_shortcode_context() {
319319
* @global array $shortcode_tags
320320
*
321321
* @param array $tagnames Optional. List of shortcodes to find. Defaults to all registered shortcodes.
322-
* @return string The shortcode search regular expression
322+
* @return string The shortcode search regular expression.
323323
*/
324324
function get_shortcode_regex( $tagnames = null ) {
325325
global $shortcode_tags;

src/wp-includes/template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ function get_embed_template() {
627627
*
628628
* @see get_query_template()
629629
*
630-
* @return string Full path to singular template file
630+
* @return string Full path to singular template file.
631631
*/
632632
function get_singular_template() {
633633
return get_query_template( 'singular' );

0 commit comments

Comments
 (0)