Skip to content

Commit 77810b1

Browse files
authored
Merge pull request #17 from kprajapatii/master
1.7.5
2 parents f4821b2 + 534a6cc commit 77810b1

4 files changed

Lines changed: 42 additions & 27 deletions

File tree

admin/tools-page.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,24 @@ class P2P_Tools_Page extends scbAdminPage {
44

55
function setup() {
66
$this->args = array(
7-
'page_title' => __( 'Connection Types', P2P_TEXTDOMAIN ),
7+
'page_title' => 'Connection Types',
88
'page_slug' => 'connection-types',
99
'parent' => 'tools.php'
1010
);
1111

12+
add_action( 'admin_init', array( $this, 'init_args' ) );
13+
1214
add_action( 'admin_notices', array( $this, 'maybe_install' ) );
1315
}
1416

17+
function init_args() {
18+
$this->args = array(
19+
'page_title' => __( 'Connection Types', P2P_TEXTDOMAIN ),
20+
'page_slug' => 'connection-types',
21+
'parent' => 'tools.php'
22+
);
23+
}
24+
1525
function maybe_install() {
1626
if ( !current_user_can( 'manage_options' ) )
1727
return;

lang/posts-to-posts.pot

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,43 @@
33
#, fuzzy
44
msgid ""
55
msgstr ""
6-
"Project-Id-Version: Posts 2 Posts 1.7.4\n"
6+
"Project-Id-Version: Posts 2 Posts 1.7.5\n"
77
"Report-Msgid-Bugs-To: http://wordpress.org/tag/p2p\n"
8-
"MIME-Version: 1.0\n"
9-
"Content-Type: text/plain; charset=UTF-8\n"
10-
"Content-Transfer-Encoding: 8bit\n"
11-
"POT-Creation-Date: 2024-08-21 17:43+0530\n"
8+
"POT-Creation-Date: 2025-02-19 20:04+0530\n"
129
"PO-Revision-Date: 2013-MO-DA HO:MI+ZONE\n"
1310
"Last-Translator: \n"
1411
"Language-Team: AyeCode Ltd <contact@ayecode.io>\n"
1512
"Language: en_US\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: 8bit\n"
16+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1617
"X-Poedit-KeywordsList: __;__ngettext:1,2;__ngettext_noop:1,2;_c;_e;_ex:1,2c;"
1718
"_n:1,2;_n_noop:1,2;_nc:4c,1,2;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;esc_attr__;"
1819
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;gettext;"
1920
"gettext_noop\n"
2021
"X-Poedit-Basepath: ..\n"
21-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2222
"X-Poedit-SourceCharset: UTF-8\n"
23-
"X-Generator: Poedit 3.0\n"
23+
"X-Generator: Poedit 3.5\n"
2424
"X-Poedit-SearchPath-0: .\n"
2525

26-
#: admin/box.php:50
26+
#: admin/box.php:52
2727
msgid "Are you sure you want to delete all connections?"
2828
msgstr ""
2929

30-
#: admin/box.php:142
30+
#: admin/box.php:144
3131
msgid "Search"
3232
msgstr ""
3333

34-
#: admin/box.php:232
34+
#: admin/box.php:234
3535
msgid "previous"
3636
msgstr ""
3737

38-
#: admin/box.php:233
38+
#: admin/box.php:235
3939
msgid "next"
4040
msgstr ""
4141

42-
#: admin/box.php:234
42+
#: admin/box.php:236
4343
msgid "of"
4444
msgstr ""
4545

@@ -63,46 +63,46 @@ msgstr ""
6363
msgid "Delete connection"
6464
msgstr ""
6565

66-
#: admin/tools-page.php:7
66+
#: admin/tools-page.php:19
6767
msgid "Connection Types"
6868
msgstr ""
6969

70-
#: admin/tools-page.php:41
70+
#: admin/tools-page.php:51
7171
#, php-format
7272
msgid "<em>%s</em> is not a registered connection type."
7373
msgstr ""
7474

75-
#: admin/tools-page.php:50
75+
#: admin/tools-page.php:60
7676
#, php-format
7777
msgid "Converted %1$s connections from <em>%2$s</em> to <em>%3$s</em>."
7878
msgstr ""
7979

80-
#: admin/tools-page.php:64
80+
#: admin/tools-page.php:74
8181
msgid "Name"
8282
msgstr ""
8383

84-
#: admin/tools-page.php:65
84+
#: admin/tools-page.php:75
8585
msgid "Information"
8686
msgstr ""
8787

88-
#: admin/tools-page.php:66
88+
#: admin/tools-page.php:76
8989
msgid "Connections"
9090
msgstr ""
9191

92-
#: admin/tools-page.php:74
92+
#: admin/tools-page.php:84
9393
msgid "No connection types registered."
9494
msgstr ""
9595

96-
#: admin/tools-page.php:76
96+
#: admin/tools-page.php:86
9797
#, php-format
9898
msgid "To register a connection type, see <a href=\"%s\">the wiki</a>."
9999
msgstr ""
100100

101-
#: admin/tools-page.php:93
101+
#: admin/tools-page.php:103
102102
msgid "Convert to registered connection type:"
103103
msgstr ""
104104

105-
#: admin/tools-page.php:129
105+
#: admin/tools-page.php:139
106106
msgid "Go"
107107
msgstr ""
108108

posts-to-posts.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
22
/*
33
Plugin Name: Posts 2 Posts
44
Description: Create many-to-many relationships between all types of posts.
5-
Version: 1.7.4
5+
Version: 1.7.5
6+
Requires at least: 6.0
7+
Requires PHP: 5.6
68
Author: scribu
79
Author URI: http://scribu.net/
810
Plugin URI: http://scribu.net/wordpress/posts-to-posts
911
Text Domain: posts-to-posts
1012
Domain Path: /lang
1113
*/
1214

13-
define( 'P2P_PLUGIN_VERSION', '1.7.4' );
15+
define( 'P2P_PLUGIN_VERSION', '1.7.5' );
1416

1517
define( 'P2P_TEXTDOMAIN', 'posts-to-posts' );
1618

readme.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Contributors: scribu, ciobi, ayecode, stiofansisland
33
Tags: connections, custom post types, relationships, many-to-many, users
44
Requires at least: 6.0
55
Requires PHP: 5.6
6-
Tested up to: 6.6
7-
Stable tag: 1.7.4
6+
Tested up to: 6.7
7+
Stable tag: 1.7.5
88

99
License: GPLv2 or later
1010
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -60,6 +60,9 @@ Additional info can be found on the [wiki](http://github.com/scribu/wp-posts-to-
6060

6161
== Changelog ==
6262

63+
= 1.7.5 - 2025-02-19 =
64+
* Function _load_textdomain_just_in_time was called incorrectly - FIXED
65+
6366
= 1.7.4 - 2024-08-21 =
6467
* WordPress v6.6 compatibility check - CHANGED
6568

0 commit comments

Comments
 (0)