Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use menu_order to set order of redirect processing #137

Merged
merged 4 commits into from Apr 3, 2018

Conversation

tauno
Copy link
Contributor

@tauno tauno commented Sep 19, 2017

Uses the menu_order value to sort the redirects to give more control over the order they are processed in.

Adds ability to import the menu order when creating redirects from a file via wp-cli.

@tauno tauno mentioned this pull request Sep 19, 2017
@@ -360,6 +364,7 @@ public function action_custom_redirect_columns( $column, $post_id ) {
public function filter_redirect_columns( $columns ) {
$columns['srm_redirect_rule_to'] = esc_html__( 'Redirect To', 'safe-redirect-manager' );
$columns['srm_redirect_rule_status_code'] = esc_html__( 'HTTP Status Code', 'safe-redirect-manager' );
$columns[ 'menu_order'] = esc_html__( 'Order', 'safe-redirect-manager' );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should use spaces and not tabs for indentation.

@tlovett1 tlovett1 merged commit 41c0df4 into 10up:master Apr 3, 2018
jameswburke pushed a commit to alleyinteractive/safe-redirect-manager that referenced this pull request Jul 24, 2019
Modify scripts following Denverite launch
@jeffpaul jeffpaul added this to the 1.9.3 milestone Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants