Version Description
- AyeCode Ltd have committed to security and maintenance updates - INFO
- Deprecated PHP notices showing with latest WordPress - FIXED
Download this release
Release Info
Developer | stiofansisland |
Plugin | Posts 2 Posts |
Version | 1.6.6 |
Comparing to | |
See all releases |
Code changes from version 1.6.5 to 1.6.6
- .idea/copyright/profiles_settings.xml +3 -0
- .idea/misc.xml +34 -0
- .idea/modules.xml +8 -0
- .idea/posts-to-posts.iml +20 -0
- .idea/vcs.xml +6 -0
- admin/box-factory.php +1 -1
- composer.json +0 -2
- posts-to-posts.php +2 -2
- readme.txt +12 -4
- vendor/scribu/scb-framework/AdminPage.php +1 -2
.idea/copyright/profiles_settings.xml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<component name="CopyrightManager">
|
2 |
+
<settings default="" />
|
3 |
+
</component>
|
.idea/misc.xml
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="PhpUnit">
|
4 |
+
<phpunit_settings>
|
5 |
+
<PhpUnitSettings />
|
6 |
+
</phpunit_settings>
|
7 |
+
</component>
|
8 |
+
<component name="ProjectInspectionProfilesVisibleTreeState">
|
9 |
+
<entry key="Project Default">
|
10 |
+
<profile-state>
|
11 |
+
<expanded-state>
|
12 |
+
<State>
|
13 |
+
<id />
|
14 |
+
</State>
|
15 |
+
</expanded-state>
|
16 |
+
<selected-state>
|
17 |
+
<State>
|
18 |
+
<id>Blade files</id>
|
19 |
+
</State>
|
20 |
+
</selected-state>
|
21 |
+
</profile-state>
|
22 |
+
</entry>
|
23 |
+
</component>
|
24 |
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
25 |
+
<OptionsSetting value="true" id="Add" />
|
26 |
+
<OptionsSetting value="true" id="Remove" />
|
27 |
+
<OptionsSetting value="true" id="Checkout" />
|
28 |
+
<OptionsSetting value="true" id="Update" />
|
29 |
+
<OptionsSetting value="true" id="Status" />
|
30 |
+
<OptionsSetting value="true" id="Edit" />
|
31 |
+
<ConfirmationsSetting value="0" id="Add" />
|
32 |
+
<ConfirmationsSetting value="0" id="Remove" />
|
33 |
+
</component>
|
34 |
+
</project>
|
.idea/modules.xml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="ProjectModuleManager">
|
4 |
+
<modules>
|
5 |
+
<module fileurl="file://$PROJECT_DIR$/.idea/posts-to-posts.iml" filepath="$PROJECT_DIR$/.idea/posts-to-posts.iml" />
|
6 |
+
</modules>
|
7 |
+
</component>
|
8 |
+
</project>
|
.idea/posts-to-posts.iml
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<module type="WEB_MODULE" version="4">
|
3 |
+
<component name="NewModuleRootManager">
|
4 |
+
<content url="file://$MODULE_DIR$" />
|
5 |
+
<orderEntry type="inheritedJdk" />
|
6 |
+
<orderEntry type="sourceFolder" forTests="false" />
|
7 |
+
<orderEntry type="module-library">
|
8 |
+
<library name="PHP">
|
9 |
+
<CLASSES>
|
10 |
+
<root url="file://$MODULE_DIR$/../../../wp-admin" />
|
11 |
+
<root url="file://$MODULE_DIR$/../../../wp-includes" />
|
12 |
+
</CLASSES>
|
13 |
+
<SOURCES>
|
14 |
+
<root url="file://$MODULE_DIR$/../../../wp-admin" />
|
15 |
+
<root url="file://$MODULE_DIR$/../../../wp-includes" />
|
16 |
+
</SOURCES>
|
17 |
+
</library>
|
18 |
+
</orderEntry>
|
19 |
+
</component>
|
20 |
+
</module>
|
.idea/vcs.xml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="VcsDirectoryMappings">
|
4 |
+
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
5 |
+
</component>
|
6 |
+
</project>
|
admin/box-factory.php
CHANGED
@@ -145,7 +145,7 @@ class P2P_Box_Factory extends P2P_Factory {
|
|
145 |
|
146 |
$box = $this->create_box( $directed );
|
147 |
|
148 |
-
$method = 'ajax_' . $_REQUEST['subaction'];
|
149 |
|
150 |
$box->$method();
|
151 |
}
|
145 |
|
146 |
$box = $this->create_box( $directed );
|
147 |
|
148 |
+
$method = 'ajax_' . esc_attr( $_REQUEST['subaction'] );
|
149 |
|
150 |
$box->$method();
|
151 |
}
|
composer.json
CHANGED
@@ -6,8 +6,6 @@
|
|
6 |
"minimum-stability": "dev",
|
7 |
"require": {
|
8 |
"composer/installers": "~1.0",
|
9 |
-
"scribu/lib-posts-to-posts": "dev-master",
|
10 |
-
"mustache/mustache": "~2.6"
|
11 |
},
|
12 |
"repositories": [
|
13 |
{
|
6 |
"minimum-stability": "dev",
|
7 |
"require": {
|
8 |
"composer/installers": "~1.0",
|
|
|
|
|
9 |
},
|
10 |
"repositories": [
|
11 |
{
|
posts-to-posts.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Posts 2 Posts
|
4 |
Description: Create many-to-many relationships between all types of posts.
|
5 |
-
Version: 1.6.
|
6 |
Author: scribu
|
7 |
Author URI: http://scribu.net/
|
8 |
Plugin URI: http://scribu.net/wordpress/posts-to-posts
|
@@ -10,7 +10,7 @@ Text Domain: posts-to-posts
|
|
10 |
Domain Path: /lang
|
11 |
*/
|
12 |
|
13 |
-
define( 'P2P_PLUGIN_VERSION', '1.6.
|
14 |
|
15 |
define( 'P2P_TEXTDOMAIN', 'posts-to-posts' );
|
16 |
|
2 |
/*
|
3 |
Plugin Name: Posts 2 Posts
|
4 |
Description: Create many-to-many relationships between all types of posts.
|
5 |
+
Version: 1.6.6
|
6 |
Author: scribu
|
7 |
Author URI: http://scribu.net/
|
8 |
Plugin URI: http://scribu.net/wordpress/posts-to-posts
|
10 |
Domain Path: /lang
|
11 |
*/
|
12 |
|
13 |
+
define( 'P2P_PLUGIN_VERSION', '1.6.6' );
|
14 |
|
15 |
define( 'P2P_TEXTDOMAIN', 'posts-to-posts' );
|
16 |
|
readme.txt
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
=== Posts 2 Posts ===
|
2 |
|
3 |
-
Contributors: scribu, ciobi
|
4 |
Tags: connections, custom post types, relationships, many-to-many, users
|
5 |
Requires at least: 3.9
|
6 |
-
|
7 |
-
|
|
|
|
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -27,7 +29,9 @@ Additionally, you can create many-to-many relationships between posts and users.
|
|
27 |
|
28 |
= Support & Maintenance =
|
29 |
|
30 |
-
|
|
|
|
|
31 |
|
32 |
If you want to help maintain the plugin, fork it [on github](https://github.com/scribu/wp-posts-to-posts) and open pull requests.
|
33 |
|
@@ -57,6 +61,10 @@ Additional info can be found on the [wiki](http://github.com/scribu/wp-posts-to-
|
|
57 |
|
58 |
== Changelog ==
|
59 |
|
|
|
|
|
|
|
|
|
60 |
= 1.6.5 =
|
61 |
* fixed error when Mustache is already loaded. props ApatheticG
|
62 |
* fixed WP_User_Query warning. props PatelUtkarsh
|
1 |
=== Posts 2 Posts ===
|
2 |
|
3 |
+
Contributors: scribu, ciobi, ayecode, stiofansisland
|
4 |
Tags: connections, custom post types, relationships, many-to-many, users
|
5 |
Requires at least: 3.9
|
6 |
+
Requires PHP: 5.6
|
7 |
+
Tested up to: 5.4
|
8 |
+
Stable tag: 1.6.6
|
9 |
+
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
29 |
|
30 |
= Support & Maintenance =
|
31 |
|
32 |
+
AyeCode Ltd have committed to security and maintenance updates due to this plugins requirement in our [List Manager Extension.](https://wpgeodirectory.com/downloads/list-manager/)
|
33 |
+
|
34 |
+
~~I, scribu, will not be offering support (either free or paid) for this plugin anymore.~~
|
35 |
|
36 |
If you want to help maintain the plugin, fork it [on github](https://github.com/scribu/wp-posts-to-posts) and open pull requests.
|
37 |
|
61 |
|
62 |
== Changelog ==
|
63 |
|
64 |
+
= 1.6.6 =
|
65 |
+
* AyeCode Ltd have committed to security and maintenance updates - INFO
|
66 |
+
* Deprecated PHP notices showing with latest WordPress - FIXED
|
67 |
+
|
68 |
= 1.6.5 =
|
69 |
* fixed error when Mustache is already loaded. props ApatheticG
|
70 |
* fixed WP_User_Query warning. props PatelUtkarsh
|
vendor/scribu/scb-framework/AdminPage.php
CHANGED
@@ -135,7 +135,6 @@ abstract class scbAdminPage {
|
|
135 |
}
|
136 |
|
137 |
add_action( 'admin_menu', array( $this, 'page_init' ), $this->args['admin_action_priority'] );
|
138 |
-
add_filter( 'contextual_help', array( $this, '_contextual_help' ), 10, 2 );
|
139 |
|
140 |
if ( $file ) {
|
141 |
$this->file = $file;
|
@@ -186,7 +185,6 @@ abstract class scbAdminPage {
|
|
186 |
*/
|
187 |
protected function page_header() {
|
188 |
echo "<div class='wrap'>\n";
|
189 |
-
screen_icon( $this->args['screen_icon'] );
|
190 |
echo html( 'h2', $this->args['page_title'] );
|
191 |
}
|
192 |
|
@@ -540,6 +538,7 @@ abstract class scbAdminPage {
|
|
540 |
* @param string|object $screen
|
541 |
*
|
542 |
* @return string
|
|
|
543 |
*/
|
544 |
public function _contextual_help( $help, $screen ) {
|
545 |
if ( is_object( $screen ) ) {
|
135 |
}
|
136 |
|
137 |
add_action( 'admin_menu', array( $this, 'page_init' ), $this->args['admin_action_priority'] );
|
|
|
138 |
|
139 |
if ( $file ) {
|
140 |
$this->file = $file;
|
185 |
*/
|
186 |
protected function page_header() {
|
187 |
echo "<div class='wrap'>\n";
|
|
|
188 |
echo html( 'h2', $this->args['page_title'] );
|
189 |
}
|
190 |
|
538 |
* @param string|object $screen
|
539 |
*
|
540 |
* @return string
|
541 |
+
* @deprecated 1.6.6 Not used
|
542 |
*/
|
543 |
public function _contextual_help( $help, $screen ) {
|
544 |
if ( is_object( $screen ) ) {
|