| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/get-request-conditional.php.tar |
lebauwcentre/wp-content/plugins/wordpress-seo/src/conditionals/get-request-conditional.php 0000644 00000000722 15114312107 0031355 0 ustar 00 home/xbodynamge <?php
namespace Yoast\WP\SEO\Conditionals;
/**
* Conditional that is only met when the current request uses the GET method.
*/
class Get_Request_Conditional implements Conditional {
/**
* Returns whether or not this conditional is met.
*
* @return bool Whether or not the conditional is met.
*/
public function is_met() {
if ( isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] === 'GET' ) {
return true;
}
return false;
}
}
home/xbodynamge/www/wp-content/plugins/wordpress-seo/src/conditionals/get-request-conditional.php 0000644 00000000722 15114330501 0027576 0 ustar 00 <?php
namespace Yoast\WP\SEO\Conditionals;
/**
* Conditional that is only met when the current request uses the GET method.
*/
class Get_Request_Conditional implements Conditional {
/**
* Returns whether or not this conditional is met.
*
* @return bool Whether or not the conditional is met.
*/
public function is_met() {
if ( isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] === 'GET' ) {
return true;
}
return false;
}
}
crosstraining/wp-content/plugins/wordpress-seo/src/conditionals/get-request-conditional.php 0000644 00000000722 15115047242 0031570 0 ustar 00 home/xbodynamge <?php
namespace Yoast\WP\SEO\Conditionals;
/**
* Conditional that is only met when the current request uses the GET method.
*/
class Get_Request_Conditional implements Conditional {
/**
* Returns whether or not this conditional is met.
*
* @return bool Whether or not the conditional is met.
*/
public function is_met() {
if ( isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] === 'GET' ) {
return true;
}
return false;
}
}