|
@@ -145,7 +145,7 @@ |
|
|
block discarded – undo |
|
145
|
145
|
* @since 3.5.3 |
|
146
|
146
|
* @return string The found page slug. An empty string if not found. |
|
147
|
147
|
* @remark Do not return `null` when not found as some framework methods check the retuened value with `isset()` and if null is given, `isset()` yields `false` while it does `true` for an emtpy string (''). |
|
148
|
|
- */ |
|
|
148
|
+ */ |
|
149
|
149
|
public function getCurrentPageSlug() { |
|
150
|
150
|
return $this->getHTTPQueryGET( 'page', '' ); |
|
151
|
151
|
} |
Please login to merge, or discard this patch.