Skip to content

Commit

Permalink
Fix Permalinks with index.php inside.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejolley committed Jun 23, 2015
1 parent b76a4e8 commit 34cae17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions includes/class-wp-job-manager-ajax.php
Expand Up @@ -31,6 +31,7 @@ public function __construct() {
public static function add_endpoint() {
add_rewrite_tag( '%jm-ajax%', '([^/]*)' );
add_rewrite_rule( 'jm-ajax/([^/]*)/?', 'index.php?jm-ajax=$matches[1]', 'top' );
add_rewrite_rule( 'index.php/jm-ajax/([^/]*)/?', 'index.php?jm-ajax=$matches[1]', 'top' );
}

/**
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Expand Up @@ -143,6 +143,7 @@ You can view (and contribute) translations via the [Transifex project here](http
== Changelog ==

* Fix - Special chars in feeds.
* Fix - Permalinks with index.php inside.

= 1.23.4 =
* Tweak - In 1.21.0 we switched to GET ajax requests to leverage caching, however, due to the length of some queries this was causing 414 request URI too long errors in many environments. Reverted to POST to avoid this.
Expand Down

0 comments on commit 34cae17

Please sign in to comment.