Skip to content

Commit

Permalink
correct singular post type in add_new
Browse files Browse the repository at this point in the history
  • Loading branch information
amirition committed Jun 13, 2024
1 parent fb20186 commit 1711b68
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
1 change: 0 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
= 1.1.9 =

* Fix: Custom field values are gone when the post is quick edited
* Dev: Upgraded to barn2-lib 2
* Dev: Added ept prefix to sort_by shortcode attribute in barn2 table plugins
Expand Down
6 changes: 3 additions & 3 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Yes, you can add HTML and shortcodes into either the plain text and Visual Edito
== Changelog ==

= 1.1.9 =
Release date 7 June 2024
Release date 13 June 2024

* Fix: Custom field values are gone when the post is quick edited
* Dev: Upgraded to barn2-lib 2
Expand Down
2 changes: 1 addition & 1 deletion src/Admin/Wizard/Steps/Upsell.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct() {
$this->set_description(
sprintf(
// translators: %1$s: URL to All Access Pass page %2$s: URL to the KB about the upgrading process
__( 'Enhance your store with these fantastic plugins from Barn2, or get them all with an <a href="%1$s" target="_blank">All Access Pass<a/>! (<a href="%2$s" target="_blank">learn how here</a>)', 'easy-post-types-fields' ),
__( 'Enhance your website with these fantastic plugins from Barn2, or get them all with an <a href="%1$s" target="_blank">All Access Pass<a/>! (<a href="%2$s" target="_blank">learn how here</a>)', 'easy-post-types-fields' ),
Util::generate_utm_url( 'https://barn2.com/wordpress-plugins/bundles/', 'ept' ),
Util::generate_utm_url( 'https://barn2.com/kb/how-to-upgrade-license/', 'ept' )
)
Expand Down
1 change: 1 addition & 0 deletions src/Post_Types/Custom_Post_Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public function default_labels() {
'singular_name' => $this->singular_name,
// translators: the singular post type name
'add_new_item' => $this->define_singular_label( __( 'Add New %s', 'easy-post-types-fields' ) ),
'add_new' => $this->define_singular_label( __( 'Add New %s', 'easy-post-types-fields' ) ),
// translators: the singular post type name
'edit_item' => $this->define_singular_label( __( 'Edit %s', 'easy-post-types-fields' ) ),
// translators: the singular post type name
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '2f057a1737d4f749efde342ca006fe02bfc7b342',
'reference' => '4bad227b650c4eba4673a87b3e60a1b270888393',
'name' => 'barn2/easy-post-types-fields',
'dev' => false,
),
Expand All @@ -16,7 +16,7 @@
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '2f057a1737d4f749efde342ca006fe02bfc7b342',
'reference' => '4bad227b650c4eba4673a87b3e60a1b270888393',
'dev_requirement' => false,
),
),
Expand Down

0 comments on commit 1711b68

Please sign in to comment.