Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ETH Simple Shortlinks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WP Plugins
ETH Simple Shortlinks
Commits
2c4092c5
Commit
2c4092c5
authored
9 years ago
by
Erick Hitter
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop'
parents
376fa93a
baaa6bad
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
eth-simple-shortlinks.php
+2
-2
2 additions, 2 deletions
eth-simple-shortlinks.php
with
2 additions
and
2 deletions
eth-simple-shortlinks.php
+
2
−
2
View file @
2c4092c5
...
...
@@ -46,7 +46,7 @@ class ETH_Simple_Shortlinks {
/**
* Dummy magic methods
*/
public
function
__clone
()
{
_doing_it_wrong
(
__FUNCTION__
,
'Cheatin’ huh?'
,
'0.1'
);
}
public
function
__clone
()
{
_doing_it_wrong
(
__FUNCTION__
,
'Cheatin’ huh?'
,
'0.1'
);
}
public
function
__wakeup
()
{
_doing_it_wrong
(
__FUNCTION__
,
'Cheatin’ huh?'
,
'0.1'
);
}
public
function
__call
(
$name
=
''
,
$args
=
array
()
)
{
unset
(
$name
,
$args
);
return
null
;
}
...
...
@@ -103,7 +103,7 @@ class ETH_Simple_Shortlinks {
/**
* Catch this plugin's requests and issue redirects, otherwise WP will serve content at duplicate URLs
*
*
Let'
s invalid post IDs fall through to WP's 404 handler, or anything else that might intercede
*
Allow
s invalid post IDs fall through to WP's 404 handler, or anything else that might intercede
*
* URLs aren't validated in case plugins filter permalinks to point to external URLs
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment