Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/wp-includes/rest-api/class-wp-rest-request.php
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ public function set_url_params( $params ) {
*
* @since 4.4.0
*
* @return array Parameter map of key to value
* @return array Parameter map of key to value.
*/
public function get_query_params() {
return $this->params['GET'];
Expand Down Expand Up @@ -587,7 +587,7 @@ public function set_body_params( $params ) {
*
* @since 4.4.0
*
* @return array Parameter map of key to value
* @return array Parameter map of key to value.
*/
public function get_file_params() {
return $this->params['FILES'];
Expand All @@ -613,7 +613,7 @@ public function set_file_params( $params ) {
*
* @since 4.4.0
*
* @return array Parameter map of key to value
* @return array Parameter map of key to value.
*/
public function get_default_params() {
return $this->params['defaults'];
Expand Down
8 changes: 4 additions & 4 deletions src/wp-includes/rest-api/class-wp-rest-server.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function __construct() {
* @since 4.4.0
*
* @return WP_Error|null|true WP_Error indicates unsuccessful login, null indicates successful
* or no authentication provided
* or no authentication provided.
*/
public function check_authentication() {
/**
Expand Down Expand Up @@ -224,10 +224,10 @@ protected function error_to_response( $error ) {
*
* @since 4.4.0
*
* @param string $code WP_Error-style code.
* @param string $message Human-readable message.
* @param string $code WP_Error-style code.
* @param string $message Human-readable message.
* @param int|null $status Optional. HTTP status code to send. Default null.
* @return string JSON representation of the error
* @return string JSON representation of the error.
*/
protected function json_error( $code, $message, $status = null ) {
if ( $status ) {
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ function _filter_do_shortcode_context() {
* @global array $shortcode_tags
*
* @param array $tagnames Optional. List of shortcodes to find. Defaults to all registered shortcodes.
* @return string The shortcode search regular expression
* @return string The shortcode search regular expression.
*/
function get_shortcode_regex( $tagnames = null ) {
global $shortcode_tags;
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ function get_embed_template() {
*
* @see get_query_template()
*
* @return string Full path to singular template file
* @return string Full path to singular template file.
*/
function get_singular_template() {
return get_query_template( 'singular' );
Expand Down
Loading