Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5096

Media Library: 'Insert into WP Media & Post' and 'Insert into WP Media' button got swapped

    XporterXMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Should have
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • P4 User role:
      Logged in, Web Master
    • Section:
      Media Library
    • P4 site:
      All sites
    • Track:
      Development
    • P4 Test Environment:
      deimos

      Description

      When an image is added from the Media Library modal, the button text says "Insert into WP Media & Post", which is the button that's supposed to be shown when opening the modal from a post editor. It looks like both buttons were swapped at some point, already before the modal stopped working from the Media > Add New page.

      Steps to reproduce: 

      1. go to Deimos instance, Media option -> https://k8s.p4.greenpeace.org/test-deimos/wp-admin/upload.php
      2. click Add new, then Upload from GPI Media Library
      3. search from something that is not yet in the WP library
      4. click on the image -> the button on the right says Insert into WP media & post
        1. the button here should be ** Insert into WP media**

      Repeat the steps for a post or page. the button is Insert into WP media and should be Insert into WP media & post. 

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                aradu Andrada Radu
                Tester:
                Andrada Radu
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated: