Plugin Directory

Changeset 1659475


Ignore:
Timestamp:
05/17/2017 03:08:49 PM (9 years ago)
Author:
Aptivate
Message:

Preparing for 1.0.1 release

Location:
multilingual-polylang/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • multilingual-polylang/trunk/multilingual-polylang.php

    r1659317 r1659475  
    33  Plugin Name: Multilingual Polylang
    44  Description: Display posts in all languages
    5   Version: 1.0.0
     5  Version: 1.0.1
    66  Author: Aptivate
    77*/
  • multilingual-polylang/trunk/readme.txt

    r1659317 r1659475  
    44Requires at least: 4.0
    55Tested up to: 4.7.5
    6 Stable tag: 1.0.0
     6Stable tag: 1.0.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1919Multilingual Polylang provides two public functions:
    2020
    21 `MultilingualPolylang::get_query()` returns a `WP_Query` object with posts from
     21The function `MultilingualPolylang::get_query()` returns a `WP_Query` object with posts from
    2222all languages but where there is a translated post, only the post in the current
    2323language will be included
    2424
    25 `MultilingualPolylang::get_permalink()` can be used as a drop-in replacement to
     25The function `MultilingualPolylang::get_permalink()` can be used as a drop-in replacement to
    2626`get_permalink()`. This will replace the language in a post URL so that a post
    2727can be viewed in a language different to that of the rest of the interface.
    2828
    29 [Follow this project on Github](https://github.com/aptivate/multilingual-polylang)
     29[Follow this project on GitHub](https://github.com/aptivate/multilingual-polylang)
    3030
    3131
     
    3636
    3737== Changelog ==
     38
     39= 1.0.1 =
     40* Documentation changes only
    3841
    3942= 1.0.0 =
     
    5053This plugin uses [wp-cli](http://wp-cli.org/) and [PHPUnit](https://phpunit.de/) for testing.
    5154
    52 * Grab the latest source from github:
     55= Download the source code from GitHub =
    5356
    54 `
    55 $ git clone git@github.com:aptivate/multilingual-polylang.git
    56 `
     57`$ git clone git@github.com:aptivate/multilingual-polylang.git`
    5758
    58 * Install [wp-cli](http://wp-cli.org/#install)
    59 * Install [PHPUnit](https://phpunit.de/)
     59= Install wp-cli =
    6060
    61 * Install the test WordPress environment:
     61If not already present, install [wp-cli](http://wp-cli.org/#install)
    6262
    63 `
    64 cd multilingual-polylang
    65 bash bin/install-wp-tests.sh test_db_name db_user 'db_password' db_host version
    66 `
     63= Install PHPUnit =
     64
     65If not already present, install [PHPUnit](https://phpunit.de/)
     66
     67= Install the test WordPress environment =
     68
     69`$ cd multilingual-polylang`
     70`$ bash bin/install-wp-tests.sh test_db_name db_user 'db_password' db_host version`
    6771
    6872where:
    6973
    70     `test_db_name` is the name for your **temporary** test WordPress database
    71     `db_user` is the database user name
    72     `db_password` is the password
    73     `db_host` is the database host (eg `localhost`)
    74     `version` is the version of WordPress (eg `4.7.5` or `latest`)
     74*  `test_db_name` is the name of your **temporary** test WordPress database
     75*  `db_user` is the database user name
     76*  `db_password` is the password
     77*  `db_host` is the database host (eg `localhost`)
     78*  `version` is the version of WordPress (eg `4.7.5` or `latest`)
    7579
    76 * Run the tests
    77 `phpunit`
     80= Run the tests =
     81From the plugin directory:
     82
     83`$ phpunit`
Note: See TracChangeset for help on using the changeset viewer.