Skip to content
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
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@

# Composer
composer.phar
composer.lock
composer.lock
vendor/composer
vendor/autoload.php
15 changes: 12 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,22 @@
"homepage": "http://wordpress.org/plugins/posts-to-posts",
"license": "GPL-2.0+",
"minimum-stability": "dev",
"scripts": {
"zip": "git archive --format zip --output \"../../posts-to-posts.zip\" master"
},
"require": {
"composer/installers": "~1.0"
"composer/installers": "~1.0",
"scribu/lib-posts-to-posts": "dev-master",
"mustache/mustache": "~2.6"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/scribu/wp-lib-posts-to-posts"
"url": "https://github.com/jeffreyvr/wp-lib-posts-to-posts"
},
{
"type": "vcs",
"url": "https://github.com/jeffreyvr/wp-scb-framework"
}
]
}
}
4 changes: 2 additions & 2 deletions posts-to-posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
/*
Plugin Name: Posts 2 Posts
Description: Create many-to-many relationships between all types of posts.
Version: 1.6.6
Version: 1.6.7
Author: scribu
Author URI: http://scribu.net/
Plugin URI: http://scribu.net/wordpress/posts-to-posts
Text Domain: posts-to-posts
Domain Path: /lang
*/

define( 'P2P_PLUGIN_VERSION', '1.6.6' );
define( 'P2P_PLUGIN_VERSION', '1.6.7' );

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

Expand Down
15 changes: 9 additions & 6 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
=== Posts 2 Posts ===

Contributors: scribu, ciobi, ayecode, stiofansisland
Tags: connections, custom post types, relationships, many-to-many, users
Requires at least: 3.9
Tags: connections, custom post types, relationships, many-to-many, users
Requires at least: 3.9
Requires PHP: 5.6
Tested up to: 5.4
Stable tag: 1.6.6
Stable tag: 1.6.7

License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Efficient many-to-many connections between posts, pages, custom post types, users.

Expand Down Expand Up @@ -42,7 +42,7 @@ Links: [**Documentation**](https://github.com/scribu/wp-posts-to-posts/wiki) | [P
See [Installing Plugins](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins).

After activating it, refer to the [Basic usage](https://github.com/scribu/wp-posts-to-posts/wiki/Basic-usage) tutorial.

Additional info can be found on the [wiki](https://github.com/scribu/wp-posts-to-posts/wiki).

== Frequently Asked Questions ==
Expand All @@ -61,6 +61,9 @@ Additional info can be found on the [wiki](https://github.com/scribu/wp-posts-to-

== Changelog ==

= 1.6.7 =
* Update Mustache package to support PHP 8.

= 1.6.6 =
* AyeCode Ltd have committed to security and maintenance updates - INFO
* Deprecated PHP notices showing with latest WordPress - FIXED
Expand Down
8 changes: 8 additions & 0 deletions vendor/mustache/mustache/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/test export-ignore
/CONTRIBUTING.md export-ignore
/.php_cs export-ignore
/phpunit.xml.dist export-ignore
/.travis.yml export-ignore
/.styleci.yml export-ignore
/.gitmodules export-ignore
/.gitignore export-ignore
26 changes: 0 additions & 26 deletions vendor/mustache/mustache/.php_cs

This file was deleted.

13 changes: 0 additions & 13 deletions vendor/mustache/mustache/.styleci.yml

This file was deleted.

19 changes: 0 additions & 19 deletions vendor/mustache/mustache/.travis.yml

This file was deleted.

35 changes: 0 additions & 35 deletions vendor/mustache/mustache/CONTRIBUTING.md

This file was deleted.

10 changes: 6 additions & 4 deletions vendor/mustache/mustache/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
Mustache.php
============

A [Mustache](http://mustache.github.com/) implementation in PHP.
A [Mustache](https://mustache.github.io/) implementation in PHP.

[![Package version](http://img.shields.io/packagist/v/mustache/mustache.svg?style=flat-square)](https://packagist.org/packages/mustache/mustache)
[![Build status](http://img.shields.io/travis/bobthecow/mustache.php/dev.svg?style=flat-square)](http://travis-ci.org/bobthecow/mustache.php)
[![StyleCI](https://styleci.io/repos/569670/shield)](https://styleci.io/repos/569670)
[![Monthly downloads](http://img.shields.io/packagist/dm/mustache/mustache.svg?style=flat-square)](https://packagist.org/packages/mustache/mustache)


Expand All @@ -15,7 +16,7 @@ A quick example:

```php
<?php
$m = new Mustache_Engine;
$m = new Mustache_Engine(array('entity_flags' => ENT_QUOTES));
echo $m->render('Hello {{planet}}', array('planet' => 'World!')); // "Hello World!"
```

Expand Down Expand Up @@ -52,11 +53,12 @@ And render it:

```php
<?php
$m = new Mustache_Engine;
$m = new Mustache_Engine(array('entity_flags' => ENT_QUOTES));
$chris = new Chris;
echo $m->render($template, $chris);
```

*Note:* we recommend using `ENT_QUOTES` as a default of [entity_flags](https://github.com/bobthecow/mustache.php/wiki#entity_flags) to decrease the chance of Cross-site scripting vulnerability.

And That's Not All!
-------------------
Expand All @@ -67,5 +69,5 @@ Read [the Mustache.php documentation](https://github.com/bobthecow/mustache.php/
See Also
--------

* [mustache(5)](http://mustache.github.io/mustache.5.html) man page.
* [Readme for the Ruby Mustache implementation](https://github.com/defunkt/mustache/blob/master/README.md).
* [mustache(5)](http://mustache.github.com/mustache.5.html) man page.
Loading