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

Filter elementor/document/urls/edit - extra space #5216

Closed
pmallek opened this issue Jul 26, 2018 · 1 comment
Closed

Filter elementor/document/urls/edit - extra space #5216

pmallek opened this issue Jul 26, 2018 · 1 comment
Labels
status/merged Indicates when a Pull Request has been merged to a Release.

Comments

@pmallek
Copy link

pmallek commented Jul 26, 2018

	public function get_edit_url() {
		$url = add_query_arg(
			[
				'post' => $this->get_main_id(),
				'action' => 'elementor',
			],
			admin_url( 'post.php' )
		);

		/**
		 * Document edit url.
		 *
		 * Filters the document edit url.
		 *
		 * @since 2.0.0
		 *
		 * @param string   $url  The edit url.
		 * @param Document $this The document instance.
		 */
		$url = apply_filters( 'elementor/document/urls/edit ', $url, $this );

		return $url;
	}

As you can see filter "elementor/document/urls/edit" has extra space.

@bainternet bainternet added the status/has-pr Indicates that an Issue, or Discussion has a companion Pull Request awaiting to be merged. label Jul 26, 2018
@bainternet
Copy link
Contributor

@pmallek

thanks for reporting.

arielk added a commit that referenced this issue Jul 26, 2018
Removed empty space from hook name fixes #5216
@bainternet bainternet added status/merged Indicates when a Pull Request has been merged to a Release. and removed status/has-pr Indicates that an Issue, or Discussion has a companion Pull Request awaiting to be merged. labels Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/merged Indicates when a Pull Request has been merged to a Release.
Projects
None yet
Development

No branches or pull requests

2 participants