@@ -281,8 +281,6 @@ |
||
| 281 | 281 | /** |
| 282 | 282 | * Builds map display HTML code from the supplied latitude and longitude. |
| 283 | 283 | * |
| 284 | - * @param float $lat Map Latitude |
|
| 285 | - * @param float $lon Map Longitude |
|
| 286 | 284 | * |
| 287 | 285 | * @return string HTML of the map |
| 288 | 286 | */ |
@@ -1404,7 +1404,7 @@ |
||
| 1404 | 1404 | /** |
| 1405 | 1405 | * Migration routine for moving safecss from wp_options to wp_posts to support revisions |
| 1406 | 1406 | * |
| 1407 | - * @return void |
|
| 1407 | + * @return false|null |
|
| 1408 | 1408 | */ |
| 1409 | 1409 | static function upgrade() { |
| 1410 | 1410 | $css = get_option( 'safecss' ); |
@@ -49,6 +49,9 @@ |
||
| 49 | 49 | return (double) get_option( self::NEXT_SYNC_TIME_OPTION_NAME, 0 ); |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | + /** |
|
| 53 | + * @param integer $time |
|
| 54 | + */ |
|
| 52 | 55 | public function set_next_sync_time( $time ) { |
| 53 | 56 | return update_option( self::NEXT_SYNC_TIME_OPTION_NAME, $time, true ); |
| 54 | 57 | } |