Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Update empty grid text #103

Merged
merged 3 commits into from
Mar 9, 2023
Merged
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
2 changes: 1 addition & 1 deletion wp-modules/app/js/src/components/Patterns/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function Patterns() {
span: (
<strong>
{ __(
'Add New Pattern',
'Create New Pattern',
'pattern-manager'
) }
</strong>
Expand Down
2 changes: 1 addition & 1 deletion wp-modules/editor/editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function disable_autosave() {
add_action( 'admin_enqueue_scripts', __NAMESPACE__ . '\disable_autosave' );

/**
* Recieve pattern id in the URL and display its content. Useful for pattern previews and thumbnails.
* Receive pattern id in the URL and display its content. Useful for pattern previews and thumbnails.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, good catch!

*/
function display_block_pattern_preview() {
if ( ! isset( $_GET['pm_pattern_preview'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
Expand Down
2 changes: 1 addition & 1 deletion wp-modules/editor/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ function get_default_title( $post_title, $post ) {
* @param int $post_ID Post ID.
* @param string $post_status The post status.
* @param string $post_type Post type.
* @param int $post_parent Post parent ID
* @param int $post_parent Post parent ID.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good one!

* @param string $original_slug The original post slug.
* @return string The slug.
*/
Expand Down