class="name"> promises.js 77628cf8bf first comm лет назад: 3 proximity.js 77628cf8bf first comm лет назад: 3 proxy.js 77628cf8bf first comm лет назад: 3 publickeypinning.js 77628cf8bf first comm лет назад: 3 push-api.js 77628cf8bf first comm лет назад: 3 queryselector.js 77628cf8bf first comm лет назад: 3 readonly-attr.js 77628cf8bf first comm лет назад: 3 referrer-policy.js 77628cf8bf first comm лет назад: 3 registerprotocolhandler.js 77628cf8bf first comm лет назад: 3 rel-noopener.js 77628cf8bf first comm лет назад: 3 rel-noreferrer.js 77628cf8bf first comm лет назад: 3 rellist.js 77628cf8bf first comm лет назад: 3 rem.js 77628cf8bf first comm лет назад: 3 requestanimationframe.js 77628cf8bf first comm лет назад: 3 requestidlecallback.js 77628cf8bf first comm лет назад: 3 resizeobserver.js 77628cf8bf first comm лет назад: 3 resource-timing.js 77628cf8bf first comm лет назад: 3 rest-parameters.js 77628cf8bf first comm лет назад: 3 rtcpeerconnection.js 77628cf8bf first comm лет назад: 3 ruby.js 77628cf8bf first comm лет назад: 3 run-in.js 77628cf8bf first comm лет назад: 3 same-site-cookie-attribute.js 77628cf8bf first comm лет назад: 3 screen-orientation.js 77628cf8bf first comm лет назад: 3 script-async.js 77628cf8bf first comm лет назад: 3 script-defer.js 77628cf8bf first comm лет назад: 3 scrollintoview.js 77628cf8bf first comm лет назад: 3 scrollintoviewifneeded.js 77628cf8bf first comm лет назад: 3 sdch.js 77628cf8bf first comm лет назад: 3 selection-api.js 77628cf8bf first comm лет назад: 3 server-timing.js 77628cf8bf first comm лет назад: 3 serviceworkers.js 77628cf8bf first comm лет назад: 3 setimmediate.js 77628cf8bf first comm лет назад: 3 shadowdom.js 77628cf8bf first comm лет назад: 3 shadowdomv1.js 77628cf8bf first comm лет назад: 3 sharedarraybuffer.js 77628cf8bf first comm лет назад: 3 sharedworkers.js 77628cf8bf first comm лет назад: 3 sni.js 77628cf8bf first comm лет назад: 3 spdy.js 77628cf8bf first comm лет назад: 3 speech-recognition.js 77628cf8bf first comm лет назад: 3 speech-synthesis.js 77628cf8bf first comm лет назад: 3 spellcheck-attribute.js 77628cf8bf first comm лет назад: 3 sql-storage.js 77628cf8bf first comm лет назад: 3 srcset.js 77628cf8bf first comm лет назад: 3 stream.js 77628cf8bf first comm лет назад: 3 streams.js 77628cf8bf first comm лет назад: 3 stricttransportsecurity.js 77628cf8bf first comm лет назад: 3 style-scoped.js 77628cf8bf first comm лет назад: 3 subresource-bundling.js 77628cf8bf first comm лет назад: 3 subresource-integrity.js 77628cf8bf first comm лет назад: 3 svg-css.js 77628cf8bf first comm лет назад: 3 svg-filters.js 77628cf8bf first comm лет назад: 3 svg-fonts.js 77628cf8bf first comm лет назад: 3 svg-fragment.js 77628cf8bf first comm лет назад: 3 svg-html.js 77628cf8bf first comm лет назад: 3 svg-html5.js 77628cf8bf first comm лет назад: 3 svg-img.js 77628cf8bf first comm лет назад: 3 svg-smil.js 77628cf8bf first comm лет назад: 3 svg.js 77628cf8bf first comm лет назад: 3 sxg.js 77628cf8bf first comm лет назад: 3 tabindex-attr.js 77628cf8bf first comm лет назад: 3 template-literals.js 77628cf8bf first comm лет назад: 3 template.js 77628cf8bf first comm лет назад: 3 temporal.js 77628cf8bf first comm лет назад: 3 testfeat.js 77628cf8bf first comm лет назад: 3 text-decoration.js 77628cf8bf first comm лет назад: 3 text-emphasis.js 77628cf8bf first comm лет назад: 3 text-overflow.js 77628cf8bf first comm лет назад: 3 text-size-adjust.js 77628cf8bf first comm лет назад: 3 text-stroke.js 77628cf8bf first comm лет назад: 3 textcontent.js 77628cf8bf first comm лет назад: 3 textencoder.js 77628cf8bf first comm лет назад: 3 tls1-1.js 77628cf8bf first comm лет назад: 3 tls1-2.js 77628cf8bf first comm лет назад: 3 tls1-3.js 77628cf8bf first comm лет назад: 3 touch.js 77628cf8bf first comm лет назад: 3 transforms2d.js 77628cf8bf first comm лет назад: 3 transforms3d.js 77628cf8bf first comm лет назад: 3 trusted-types.js 77628cf8bf first comm лет назад: 3 ttf.js 77628cf8bf first comm лет назад: 3 typedarrays.js 77628cf8bf first comm лет назад: 3 u2f.js 77628cf8bf first comm лет назад: 3 unhandledrejection.js 77628cf8bf first comm лет назад: 3 upgradeinsecurerequests.js 77628cf8bf first comm лет назад: 3 url-scroll-to-text-fragment.js 77628cf8bf first comm лет назад: 3 url.js 77628cf8bf first comm лет назад: 3 urlsearchparams.js 77628cf8bf first comm лет назад: 3 use-strict.js 77628cf8bf first comm лет назад: 3 user-select-none.js 77628cf8bf first comm лет назад: 3 user-timing.js 77628cf8bf first comm лет назад: 3 variable-fonts.js 77628cf8bf first comm лет назад: 3 vector-effect.js 77628cf8bf first comm лет назад: 3 vibration.js 77628cf8bf first comm лет назад: 3 video.js 77628cf8bf first comm лет назад: 3 videotracks.js 77628cf8bf first comm лет назад: 3 viewport-unit-variants.js 77628cf8bf first comm лет назад: 3 viewport-units.js 77628cf8bf first comm лет назад: 3 wai-aria.js 77628cf8bf first comm лет назад: 3 wake-lock.js 77628cf8bf first comm лет назад: 3 wasm.js 77628cf8bf first comm лет назад: 3 wav.js 77628cf8bf first comm лет назад: 3 wbr-element.js 77628cf8bf first comm лет назад: 3 web-animation.js 77628cf8bf first comm лет назад: 3 web-app-manifest.js 77628cf8bf first comm лет назад: 3 web-bluetooth.js 77628cf8bf first comm лет назад: 3 web-serial.js 77628cf8bf first comm лет назад: 3 web-share.js 77628cf8bf first comm лет назад: 3 webauthn.js 77628cf8bf first comm лет назад: 3 webcodecs.js 77628cf8bf first comm лет назад: 3 webgl.js 77628cf8bf first comm лет назад: 3 webgl2.js 77628cf8bf first comm лет назад: 3 webgpu.js 77628cf8bf first comm лет назад: 3 webhid.js 77628cf8bf first comm лет назад: 3 webkit-user-drag.js 77628cf8bf first comm лет назад: 3 webm.js 77628cf8bf first comm лет назад: 3 webnfc.js 77628cf8bf first comm лет назад: 3 webp.js 77628cf8bf first comm лет назад: 3 websockets.js 77628cf8bf first comm лет назад: 3 webtransport.js 77628cf8bf first comm лет назад: 3 webusb.js 77628cf8bf first comm лет назад: 3 webvr.js 77628cf8bf first comm лет назад: 3 webvtt.js 77628cf8bf first comm лет назад: 3 webworkers.js 77628cf8bf first comm лет назад: 3 webxr.js 77628cf8bf first comm лет назад: 3 will-change.js 77628cf8bf first comm лет назад: 3 woff.js 77628cf8bf first comm лет назад: 3 woff2.js 77628cf8bf first comm лет назад: 3 word-break.js 77628cf8bf first comm лет назад: 3 wordwrap.js 77628cf8bf first comm лет назад: 3 x-doc-messaging.js 77628cf8bf first comm лет назад: 3 x-frame-options.js 77628cf8bf first comm лет назад: 3 xhr2.js 77628cf8bf first comm лет назад: 3 xhtml.js 77628cf8bf first comm лет назад: 3 xhtmlsmil.js 77628cf8bf first comm лет назад: 3 xml-serializer.js 77628cf8bf first comm лет назад: 3 tum/whitesports - Gogs: Simplico Git Service

Keine Beschreibung

query-pagination.php 1023B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /**
  3. * Server-side rendering of the `core/query-pagination` block.
  4. *
  5. * @package WordPress
  6. */
  7. /**
  8. * Renders the `core/query-pagination` block on the server.
  9. *
  10. * @param array $attributes Block attributes.
  11. * @param string $content Block default content.
  12. *
  13. * @return string Returns the wrapper for the Query pagination.
  14. */
  15. function render_block_core_query_pagination( $attributes, $content ) {
  16. if ( empty( trim( $content ) ) ) {
  17. return '';
  18. }
  19. $wrapper_attributes = get_block_wrapper_attributes(
  20. array(
  21. 'role' => 'navigation',
  22. 'aria-label' => __( 'Pagination' ),
  23. )
  24. );
  25. return sprintf(
  26. '<nav %1$s>%2$s</nav>',
  27. $wrapper_attributes,
  28. $content
  29. );
  30. }
  31. /**
  32. * Registers the `core/query-pagination` block on the server.
  33. */
  34. function register_block_core_query_pagination() {
  35. register_block_type_from_metadata(
  36. __DIR__ . '/query-pagination',
  37. array(
  38. 'render_callback' => 'render_block_core_query_pagination',
  39. )
  40. );
  41. }
  42. add_action( 'init', 'register_block_core_query_pagination' );