Skip to content

Commit

Permalink
Fix typo in WP_Block_Type_Registry::get_registered() docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Arntz committed Jun 23, 2017
1 parent 8e379bf commit a408132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class-wp-block-type-registry.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function unregister( $name ) {
* @access public
*
* @param string $name Block type name including namespace.
* @return WP_Block_Type|null The unregistered block type, or null if it is not registered.
* @return WP_Block_Type|null The registered block type, or null if it is not registered.
*/
public function get_registered( $name ) {
if ( ! $this->is_registered( $name ) ) {
Expand Down

0 comments on commit a408132

Please sign in to comment.