| 1 | <?php |
||
| 19 | class GravityView_Plugin_Hooks_All_In_One_SEO extends GravityView_Plugin_and_Theme_Hooks { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @inheritDoc |
||
| 23 | * @since 2.10.3 |
||
| 24 | */ |
||
| 25 | protected $constant_name = 'AIOSEO_FILE'; |
||
| 26 | |||
| 27 | protected $style_handles = array( |
||
| 28 | 'aioseo-app-style', |
||
| 29 | 'aioseo-common', |
||
| 30 | 'aioseo-post-settings-metabox', |
||
| 31 | 'aioseo-vendors', |
||
| 32 | ); |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @inheritDoc |
||
| 36 | * @since 2.10.3 |
||
| 37 | */ |
||
| 38 | protected $script_handles = array( |
||
| 39 | 'aioseo-app', |
||
| 40 | 'aioseo-common', |
||
| 41 | 'aioseo-link-format', |
||
| 42 | 'aioseo-post-settings-metabox', |
||
| 43 | 'aioseo-vendors', |
||
| 44 | ); |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @inheritDoc |
||
| 48 | * @since 2.10.3 |
||
| 49 | */ |
||
| 50 | public function __construct() { |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Prevent AIO SEO from processing GV shortcode |
||
| 58 | * |
||
| 59 | * @since 2.10.3 |
||
| 60 | * |
||
| 61 | * @see do_shortcode_tag(); |
||
| 62 | * |
||
| 63 | * @param string $shortcode_tag Shortcode name |
||
| 64 | * @param false|string $return Short-circuit return value: false or the value to replace the shortcode with |
||
|
|
|||
| 65 | * |
||
| 66 | * @return false|string |
||
| 67 | */ |
||
| 68 | public function skip_shortcode_processing( $result, $shortcode_tag ) { |
||
| 75 | } |
||
| 76 | |||
| 78 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.